On 9/29/12 1:11 PM, Benedikt Zeller wrote:
> Hi
> 
> While installing gnuplot with fink, a (fatal) error ocurred during the 
> linking process of gawk...see output below.
> 
> Is there a workaround?
> 
> Thank you for any help.
> 
> Benedikt
> 
> 
> Fink output:
> -------------------------------------
> gcc  -g -O2  -L/sw/lib -o dgawk array.o awkgram.o builtin.o dfa.o ext.o 
> field.o floatcomp.o gawkmisc.o getopt.o getopt1.o io.o main.o msg.o node.o 
> random.o re.o regex.o replace.o version.o eval_d.o profile.o command.o 
> debug.o -lsigsegv -lintl -Wl,-framework -Wl,CoreFoundation  -lreadline -lm 
> -lm 
> Undefined symbols for architecture x86_64:
>   "_history_list", referenced from:
>       _do_save in debug.o
>       _serialize in debug.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[2]: *** [dgawk] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> ### execution of /tmp/fink.0Q7xl failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gawk-4.0.1-1
> (Lese Datenbank ... 16189 Dateien und Verzeichnisse sind derzeit installiert.)
> Entferne fink-buildlock-gawk-4.0.1-1 ...
> Failed: phase compiling: gawk-4.0.1-1 failed
> 
> Before reporting any errors, please run "fink selfupdate" and try again.
> Also try using "fink configure" to set your maximum build jobs to 1 and
> attempt to build the package again.
> If you continue to have issues, please check to see if the FAQ on Fink's 
> website solves the problem.  If not, ask on one (not both, please) of
> these mailing lists:
> 
>         The Fink Users List <[email protected]>
>         The Fink Beginners List <[email protected]>.
> 
> Please try to include the complete error message in your report.  This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
> 
> Also include the following system information:
> Package manager version: 0.34.4
> Distribution version: selfupdate-rsync Sat Sep 29 19:23:01 2012, 10.8, x86_64
> Trees: local/main stable/main
> Xcode.app: 4.5
> Xcode command-line tools: 4.5.0.0.1.1249367152
> Max. Fink build jobs:  2
> -------------------------------------
> ------------------------------------------------------------------------------

Gawk doesn't appear to have an explicit dependency upon readline, and if
you don't have readline installed it is presumably linking to the
"readline" from the system, which isn't GNU readline:

$ nm -o /sw/lib/libreadline.dylib | grep history_list
/sw/lib/libreadline.dylib: 000000000002a780 T _history_list

$ nm -o /usr/lib/libreadline.dylib | grep history_list
$

A workaround is to install Fink's readline6 package.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to