|
From: Jeremy C. <jer...@gm...> - 2007-01-25 14:59:02
|
Please excuse me for jumping in to this list. I just downloaded gnuplot 4.2 rc4 this morning and tried to compile using the suggestions from Mojca, but it didn't work. Since this project is about to release a stable version I thought I would chime in. I set the following before compiling: export CFLAGS=3D'-arch i386 -arch ppc' export LDFLAGS=3D'-arch i386 -arch ppc' ./configure --disable-dependency-tracking Then when I did: make I got the following linking error: $ make make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in m4 make[2]: Nothing to be done for `all'. Making all in term make[2]: Nothing to be done for `all'. Making all in src Making all in wxterminal make[3]: Nothing to be done for `all'. gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../term -I../term -DBINDIR=3D\"/usr/local/bin\" -DX11_DRIVER_DIR=3D\"/usr/local/libexec/gnuplot/4.2\" -DGNUPLOT_PS_DIR=3D\"/usr/local/share/gnuplot/4.2/PostScript\" -DCONTACT=3D\"gnu...@li...\" -DHELPFILE=3D\"/usr/local/share/gnuplot/4.2/gnuplot.gih\" -arch i386 -ObjC -c alloc.c =85 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../term -I../term -DBINDIR=3D\"/usr/local/bin\" -DX11_DRIVER_DIR=3D\"/usr/local/libexec/gnuplot/4.2\" -DGNUPLOT_PS_DIR=3D\"/usr/local/share/gnuplot/4.2/PostScript\" -DCONTACT=3D\"gnu...@li...\" -DHELPFILE=3D\"/usr/local/share/gnuplot/4.2/gnuplot.gih\" -arch i386 -ObjC -c version.c g++ -g -O2 -arch i386 -o gnuplot alloc.o axis.o breaders.o bitmap.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stdfn.o tables.o term.o time.o unset.o util.o util3d.o variable.o version.o -lreadline -lncurses -lz -laquaterm -framework Foundation /usr/bin/ld: warning multiple definitions of symbol _init_color color.o definition of _init_color in section (__TEXT,__text) /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libncurses.dylib(lib_color.o= ) definition of _init_color /usr/bin/ld: warning multiple definitions of symbol _set_term term.o definition of _set_term in section (__TEXT,__text) /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libncurses.dylib(lib_set_ter= m.o) definition of _set_term /usr/bin/ld: Undefined symbols: _remove_history _rl_forced_update_display _history_list _rl_ding _rl_complete_with_tilde_expansion collect2: ld returned 1 exit status make[3]: *** [gnuplot] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I have installed AquaTerm and everything else is left unchanged. Can someone help? Has a Universal Binary been made available? Thanks, Jeremy |