|
From: Mike S. <mw...@us...> - 2007-01-28 21:50:39
|
I was testing 4.2RC4 and noticed that my specified location for GD was not passed down through to the Makefile. This is on Mandrake 10.1 and I use a newer version of GD that is intalled in my user area. I swear this has worked properly in the past. My configure line was: ./configure --with-gd=/home/mike/tmp/gnu The GD directory does not make it to the compile step: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/4.2\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/4.2/PostScript\" -DCONTACT=\"gnu...@li...\" -DHELPFILE=\"/usr/local/share/gnuplot/4.2/gnuplot.gih\" -I/usr/X11R6/include -I/usr/include -g -O2 -MT term.o -MD -MP -MF ".deps/term.Tpo" -c -o term.o term.c; \ then mv -f ".deps/term.Tpo" ".deps/term.Po"; else rm -f ".deps/term.Tpo"; exit 1; fi And the link step for gnuplot was: g++ -g -O2 -L/usr/X11R6/lib -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 -lz -lgd -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lm -lm As you can see my specification to GD was lost. I'm guessing this is some kind of problem with the I also noticed that GD 2.0.33 links in the fontconfig library if available. Gnuplot does not check for fontconfig. Is this picked up when the proper gdlib-config script is found? Mike Sutton |