|
From: Ben A. <bpa...@ma...> - 2009-06-06 09:20:01
|
I'm trying to build gnuplot on Mac OSX 10.5.7. Unfortunately, my
build fails.
My last successful build was between May 25th and May 28th.
[...]
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/include/cairo -I/sw/include/pixman-1 -I/sw/include/
freetype2 -I/sw/include -I/sw/include/libpng12 -I/sw/include/pango-1.0
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/usr/X11R6/include
-I/usr/X11/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/
sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/
include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/
sw/include/freetype2 -I/sw/include -I/sw/include/libpng12 -I/usr/X11R6/
include -I/usr/X11/include -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 binary.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 tabulate.o term.o
time.o unset.o util.o util3d.o variable.o version.o wxt_gui.o
gp_cairo.o gp_cairo_helpers.o -lreadline -lncurses -lz -lgd -lXpm -
lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz /sw/lib/libiconv.dylib
-ljpeg -lfreetype -lpng -lpdf -L/sw/lib -llua -lm -L/sw/lib -L/usr/
X11R6/lib -L/usr/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/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 -lpangocairo-1.0 -
lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/
lib -L/usr/X11/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 -L/sw/lib -lz -lpangocairo-1.0 -lpango-1.0 -lcairo -
lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
Undefined symbols:
"_wxtp_set_cursor", referenced from:
_term_tbl in term.o
"_wxtp_puttext", referenced from:
_term_tbl in term.o
"_wxtp_linewidth", referenced from:
_term_tbl in term.o
"_wxtp_set_ruler", referenced from:
_term_tbl in term.o
"_wxtp_enhanced_flush", referenced from:
_term_tbl in term.o
"_wxtp_lower_terminal_window", referenced from:
_raise_lower_command in command.o
"_wxtp_draw", referenced from:
_term_tbl in term.o
_term_tbl in term.o
"_wxtp_set_clipboard", referenced from:
_term_tbl in term.o
"_wxtp_waitforinput", referenced from:
_term_tbl in term.o
"_wxtp_init", referenced from:
_term_tbl in term.o
"_wxtp_pointsize", referenced from:
_term_tbl in term.o
"_wxtp_lower_terminal_group", referenced from:
_raise_lower_command in command.o
"_wxtp_move", referenced from:
_term_tbl in term.o
"_wxtp_set_color", referenced from:
_term_tbl in term.o
"_wxtp_linetype", referenced from:
_term_tbl in term.o
"_wxtp_options", referenced from:
_term_tbl in term.o
"_wxtp_raise_terminal_window", referenced from:
_raise_lower_command in command.o
"_wxtp_point", referenced from:
_term_tbl in term.o
"_wxtp_reset", referenced from:
_term_tbl in term.o
"_wxtp_put_tmptext", referenced from:
_term_tbl in term.o
"_wxtp_make_palette", referenced from:
_term_tbl in term.o
"_wxtp_justify_text", referenced from:
_term_tbl in term.o
"_wxtp_enhanced_writec", referenced from:
_term_tbl in term.o
"_wxtp_enhanced_open", referenced from:
_term_tbl in term.o
"_wxtp_filled_polygon", referenced from:
_term_tbl in term.o
"_wxtp_fillbox", referenced from:
_term_tbl in term.o
"_wxtp_set_font", referenced from:
_term_tbl in term.o
"_wxtp_clear", referenced from:
_term_tbl in term.o
"_wxtp_vector", referenced from:
_term_tbl in term.o
"_wxtp_raise_terminal_group", referenced from:
_raise_lower_command in command.o
"_wxtp_text_angle", referenced from:
_term_tbl in term.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
|
|
From: Ethan M. <merritt@u.washington.edu> - 2009-06-06 18:15:14
|
On Saturday 06 June 2009, Ben Abbott wrote:
> I'm trying to build gnuplot on Mac OSX 10.5.7. Unfortunately, my
> build fails.
>
> My last successful build was between May 25th and May 28th.
>
> [...]
>
> 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/include/cairo -I/sw/include/pixman-1 -I/sw/include/
> freetype2 -I/sw/include -I/sw/include/libpng12 -I/sw/include/pango-1.0
> -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/usr/X11R6/include
> -I/usr/X11/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/
> sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/
> include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/
> sw/include/freetype2 -I/sw/include -I/sw/include/libpng12 -I/usr/X11R6/
> include -I/usr/X11/include -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 binary.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 tabulate.o term.o
> time.o unset.o util.o util3d.o variable.o version.o wxt_gui.o
> gp_cairo.o gp_cairo_helpers.o -lreadline -lncurses -lz -lgd -lXpm -
> lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz /sw/lib/libiconv.dylib
> -ljpeg -lfreetype -lpng -lpdf -L/sw/lib -llua -lm -L/sw/lib -L/usr/
> X11R6/lib -L/usr/lib -L/sw/lib/gtk-2.0 -L/sw/lib/gstreamer-0.10
^^^^^^^^^^^^^^^^^^^^^^^^
Wow. I remember joking about adding a sound-driver terminal type to
gnuplot, but I didn't know there was already a gstreamer interface :-)
Seriously - why on earth is this library being dragged in?
> -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/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 -lpangocairo-1.0 -
> lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/
> lib -L/usr/X11/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 -L/sw/lib -lz -lpangocairo-1.0 -lpango-1.0 -lcairo -
> lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
> Undefined symbols:
> "_wxtp_set_cursor", referenced from:
> _term_tbl in term.o
[snip more of the same]
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
These routines are not in current gnuplot CVS.
I assume you are trying out some version of Timothée's patch to
make wxt an external process? Perhaps your Makefile doesn't know about
new files added by the patchset.
|
|
From: Ben A. <bpa...@ma...> - 2009-06-07 02:16:53
|
On Jun 6, 2009, at 2:15 PM, Ethan Merritt wrote: > On Saturday 06 June 2009, Ben Abbott wrote: >> I'm trying to build gnuplot on Mac OSX 10.5.7. Unfortunately, my >> build fails. >> >> My last successful build was between May 25th and May 28th. >> >> [...] >> >> 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/include/cairo -I/sw/include/pixman-1 -I/sw/include/ >> freetype2 -I/sw/include -I/sw/include/libpng12 -I/sw/include/ >> pango-1.0 >> -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/usr/X11R6/ >> include >> -I/usr/X11/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include - >> I/ >> sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/ >> include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 - >> I/ >> sw/include/freetype2 -I/sw/include -I/sw/include/libpng12 -I/usr/ >> X11R6/ >> include -I/usr/X11/include -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 binary.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 tabulate.o term.o >> time.o unset.o util.o util3d.o variable.o version.o wxt_gui.o >> gp_cairo.o gp_cairo_helpers.o -lreadline -lncurses -lz -lgd -lXpm - >> lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz /sw/lib/ >> libiconv.dylib >> -ljpeg -lfreetype -lpng -lpdf -L/sw/lib -llua -lm -L/sw/lib -L/usr/ >> X11R6/lib -L/usr/lib -L/sw/lib/gtk-2.0 -L/sw/lib/gstreamer-0.10 > ^^^^^^^^^^^^^^^^^^^^^^^^ > Wow. I remember joking about adding a sound-driver terminal type to > gnuplot, but I didn't know there was already a gstreamer interface :-) > Seriously - why on earth is this library being dragged in? I have no clue here. I'm using the Fink package manager for OSX to build, perhaps there is some confusion there. Although I see no mention of gstreamer in Fink's package description file. http://fink.cvs.sourceforge.net/fink/dists/10.4/unstable/main/finkinfo/sci/gnuplot.info?view=markup >> -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/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 -lpangocairo-1.0 - >> lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/ >> sw/ >> lib -L/usr/X11/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 -L/sw/lib -lz -lpangocairo-1.0 -lpango-1.0 -lcairo - >> lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl >> Undefined symbols: >> "_wxtp_set_cursor", referenced from: >> _term_tbl in term.o > [snip more of the same] >> ld: symbol(s) not found >> collect2: ld returned 1 exit status > > These routines are not in current gnuplot CVS. > I assume you are trying out some version of Timothée's patch to > make wxt an external process? Perhaps your Makefile doesn't know > about > new files added by the patchset. <sigh> ... I must have accidently applied that patchset my local cvs, rather than to a copy. To be save I've removed all files marked by "?" and "M" (uknown and modified, I assume?) $ cvs login $ cvs update -d | grep '^? ' | sed "s/^? /rm /g" | /bin/sh $ cvs update -d | grep '^M ' | sed "s/^M /rm /g" | /bin/sh $ cvs update -d All is working again, thanks! Ben |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-06-07 13:20:15
|
Ben Abbott wrote:
> To be save I've removed all files marked by "?" and "M" (uknown and
> modified, I assume?)
Unknown files wouldn't pose a problem unless you did something really
weird (like, say, copy modified *.trm files somewhere else than the
*.trm directory). You can usually leave them alone.
> $ cvs update -d | grep '^M ' | sed "s/^M /rm /g" | /bin/sh
> $ cvs update -d
cvs update -d -C
would do that job more easily.
|