Re: Gnome LIb Compile error



On Sat, 6 Feb 1999, Scott Donovan wrote:

> I hope someone can help. It appears that a couple of library routines are
> being found.. however I have installed the latest gettext stuff.
> 
> This is compiled on FreeBSD 3.0. I synchronised against the source tree
> this morning.
> 
> Any ideas ? 
> 
> 
> 
> make[2]: Entering directory `/stuff/gnome/gnome-libs/libgnome'
> /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Wno-unused
> -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith   -o
> gnome-dump-metadata -L/usr/local/lib -lglib gnome-dump.o libgnome.la
> ../support/libgnomesupport.la     -L/usr/local/lib -L/usr/X11R6/lib -lesd
> -laudiofile -lm -lSM -lICE -L/usr/local/lib -laudiofile -lm
> -L/usr/local/lib -lglib   -lz -lm 
> gcc -g -O2 -Wall -Wno-unused -Wmissing-prototypes -Wmissing-declarations
> -Wpointer-arith -o .libs/gnome-dump-metadata -L/usr/local/lib -lglib
> gnome-dump.o -Wl,--rpath -Wl,/usr/local/lib .libs/libgnome.so
> -L/usr/local/lib -lglib -lm -lz -lm -Wl,--rpath -Wl,/usr/local/lib
> ../support/.libs/libgnomesupport.so -lz -lm -L/usr/local/lib
> -L/usr/X11R6/lib -lesd -laudiofile -lm -lSM -lICE -L/usr/local/lib
> -laudiofile -lm -L/usr/local/lib -lglib -lz -lm
> .libs/libgnome.so: undefined reference to `dgettext'
> .libs/libgnome.so: undefined reference to `bindtextdomain'
> make[2]: *** [gnome-dump-metadata] Error 1
> make[2]: Leaving directory `/stuff/gnome/gnome-libs/libgnome'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/stuff/gnome/gnome-libs'
> make: *** [all-recursive-am] Error 2
> 
> 
This isn't linked with libintl.a. All these configure scripts seem to
think that /usr/local/{include|lib} belong to compiler default path (it's
probably true for Linux, but not for FreeBSD), and during configure just
doesn't see your libintl. I'm usually do (in tcsh):
env CC='cc -I/usr/local/include -L/usr/local/lib' ./configure
- and everything's all right

Hope this helps,
Vladimir


===========================|=======================
 Vladimir Kushnir   	   |	
 kushn@mail.kar.net, 	   |	Powered by FreeBSD
 kushnir@ap3.bitp.kiev.ua  |




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]