On Dec 15, 2008, at 9:14 PM, David Phillips wrote:

>
>
> I just ran fink selfupdate and update-all and fink tried to rebuild
> gnuplot. It failed with the link error I've included below. Let me
> know if there's any more information I can provide.   Thanks as always
> for all the great work you folk do.
>      David
>
>
> g++  -g -O2 -I/sw/lib/wx/include/gtk2-unicode-release-2.8 -I/sw/
> include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -fno-
> rtti  -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/
> include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/
> include -I/sw/include/libpng12 -I/sw/include -I/sw/include/pixman-1 - 
> I/
> sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/cairo -I/
> usr/X11R6/include -I/usr/X11/include -I/sw/lib/pango-ft219/include/
> pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/include/
> freetype2 -I/sw/lib/freetype219/include -I/sw/include/glib-2.0 -I/sw/
> lib/glib-2.0/include -I/sw/include/libpng12 -I/sw/include -I/sw/
> include/pixman-1 -I/sw/include/cairo -I/sw/include/gtk-2.0 -I/sw/
> include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/
> X11/include  -L/sw/lib -L/sw/lib -L/sw/lib -L/sw/lib/freetype219/lib -
> Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -L/sw/
> lib -L/sw/lib/fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib -L/sw/lib/
> fontconfig2/lib -L/sw/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  gp_cairo.o wxt_gui.o -lplot -lcurses -
> ledit -lggi  -lz -lgd -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -
> lpng12 -lz /sw/lib/libiconv.dylib -lpdf -L/usr/X11R6/lib -R/usr/X11R6/
> lib -lXaw -lXmu -lXt -lXext -lX11 -L/sw/lib  -L/sw/lib/gtk-2.0 -L/sw/
> lib/gstreamer-0.10 -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib
> -L/sw/lib  -L/usr/X11R6/lib  -L/sw/lib -framework IOKit -framework
> CoreServices -framework System -framework ApplicationServices  -
> lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -
> lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -
> lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -
> lwx_baseu-2.8  -L/sw/lib/pango-ft219/lib -L/sw/lib -lpangocairo-1.0 -
> lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/ 
> sw/
> lib/pango-ft219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib/freetype219/
> lib -L/sw/lib -Wl,-framework,CoreServices -Wl,-
> framework,ApplicationServices -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -
> lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -
> lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -
> lglib-2.0 -lintl -laquaterm  -framework Foundation
> Undefined symbols:
>   "_write_history_n", referenced from:
>       _wrapper_for_write_history in plot.o
> ld: symbol(s) not found
> 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
> ### execution of /var/tmp/tmp.1.mpQylZ failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gnuplot-4.2.4-3
> (Reading database ... 102769 files and directories currently  
> installed.)
> Removing fink-buildlock-gnuplot-4.2.4-3 ...
> Failed: phase compiling: gnuplot-4.2.4-3 failed
>

I'm not 100% sure why this happens

The successful workaround I used was to try building gnuplot-nogtk and  
then building gnuplot.  It worked, but I can't think of a good reason  
for that.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to