Re: GNOME vs GNU gcc & glibc




>I get this all the time.  There is a disconnect between the directories
>that autoconf looks in when it does the -lintl test (among others) and 
>the directories it configures for linking based on the --prefix directive.
>
>What you should do is this:
>
> 1. Locate your libintl.[a|so] files
> 2. Set the INTLLIBS environment variable to '-L/<dir> -lintl' (where <dir>
>    is the location of libintl)
> 3. make distclean; configure --prefix=/sw/gnu; etc...
>
>This will force autoconf to put the correct linking information into the
>Makefiles.  If that still doesn't work, you may need to compile a "compat" 
>libintl (but probably not on Linux; I needed it for BSD).

 Thank's Goodness! However. not only in configure; I am recompiling
 gnome-libs-1.0.5 and I had to modify the Makefiles in libgnome
 and libgnomeui. This is the latest error when compiling:

>-Wl,/sw/gnome/lib ../support/.libs/libgnomesupport.so -lz -lm -lXpm -ljpeg -lpng -lz -lz -lSM -lICE -L/sw/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -L/sw/gnome/lib -lesd -laudiofile -lm -L/sw/gnome/lib -laudiofile -lm -ldb -L/sw/gnome/lib -lglib -ldl -L/sw/gnome/lib -lesd -laudiofile -lm -L/sw/gnome/lib -laudiofile -lm -ldb -L/sw/gnome/lib -lglib -ldl -L/sw/gnome/lib -lgdk_imlib -L/sw/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -lSM -lICE -L/sw/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -lz -lm
>../libgnomeui/.libs/libgnomeui.so: undefined reference to `dgettext'
>../libgnomeui/.libs/libgnomeui.so: undefined reference to `gettext'
>../libgnome/.libs/libgnome.so: undefined reference to `bindtextdomain'
>make[2]: *** [gnome-hello-0-basic] Error 1
>make[2]: Leaving directory `/sw/src/gnome/gnome-libs-1.0.5/gnome-hello'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/sw/src/gnome/gnome-libs-1.0.5'
>make: *** [all-recursive-am] Error 2

 and I am still trying to fix it.

 This is just to compile the libs, and the similar job for all the
 rest... But I have no time for it, and I have to wait for the new
 releases that fix autoconf.

 Thank you Michael! I hope your patch will be included in all the sources.

 Sergio



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