Re: gnome-core-1.0.53, dgettext, bindtextdomain



Robert T G Tan went:

>  Problems compiling gnome-core-1.0.53.
>
>did: configure --with-gnu-ld --with-included-gettext --disable-nls
>
>gcc -g -O2 -Wall -Wno-unused -L/usr/lib -L/usr/local/lib
>-L/usr/X11R6/lib -o gno
>me-session manager.o ice.o main.o prop.o save.o command.o remote.o
>logout.o -L/u
>sr/local/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM
>-lICE -lgtk
>-lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile
>-lm -lglib
>/usr/local/lib/libgnomeui.so: undefined reference to `dgettext'
>/usr/local/lib/libgnomeui.so: undefined reference to `gettext'
>/usr/local/lib/libgnome.so: undefined reference to `bindtextdomain'
>gmake[2]: *** [gnome-session] Error 1
>gmake[2]: Leaving directory `/usr/local/src/gnome-core-1.0.53/gsm'
>gmake[1]: *** [all-recursive] Error 1
>gmake[1]: Leaving directory `/usr/local/src/gnome-core-1.0.53'
>gmake: *** [all-recursive-am] Error 2
>

I'm having the same problem with gnome-core-1.0.53 and libglade-0.7.
My problem ( and maybe yours too ) is that when I compiled libgnomeui.so, 
*make* wasn't able to find a shared version of libintl ( source tarball of 
gettext-0.10.35 doesn't seem to build it so it wasn't there, but the fact 
was acknowledged in the compilation log ).

I came up with 2 possible ways to solve the problem:

1) Build that library ( libintl.so.* ) and recompile gnome-libs.
2) Modify gnome-core Makefiles to include -lintl every time an executable is 
linked to libgnomeui.so.*.
I don't know how common this problem is to decide whether configure should 
check for that condition or not ( maybe looking at the output of `nm 
libgnomeui.so.* | grep gettext' ) and include -lintl automatically.

just my 2p,

Diego

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



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