Re: bind_textdomain_codeset error while building gnomevfs



I'm having exactly the same problem on my recent stable potato.
I don't know what causes this; this is how I got it working:
- add --with-gnu-ld to your CONFIGURE_ARGS in gar.conf.mk
- add the path to your libgettextlib.so to your LDFLAGS in gar.conf.mk (/opt/gnome2/lib/libgettextlib.so in my case)

However this didn't work for all of the packages so here's what I did with the failing ones:
- make clean in the base directory of the packages source tree
- make sure that libgettextlib.so is in LDFLAGS as described above
- make sure that your new gnome's bin directory is in the PATH
- make sure that your new gnome's lib directory is in the LD_LIBRARY_PATH
- grep the configure args out of config.log for the respective package and reconfigure
- make && make install

Ok it was pretty much work since a lot of packages depend on gettext but it's absolutely worth it!

HTH,
Robert

Michaël Ball wrote:

When it comes to building gnomevfs, I get this error:

gcc -I/home/gid//garnome/include -g -O2 -I/home/gid//garnome/include -g
-O2 -I/home/gid//garnome/include -g -O2 -I/home/gid//garnome/include -g
-O2 -I/home/gid//garnome/include -g -O2 -I/home/gid//garnome/include -g
-O2 -I/home/gid//garnome/include -g -O2 -o .libs/test-async
test-async.o  -L/home/gid//garnome/lib
.../libgnomevfs/.libs/libgnomevfs-2.so
/home/gid//garnome/lib/libbonobo-activation.so
/home/gid//garnome/lib/libxml2.so -lz
/home/gid//garnome/lib/libgconf-2.so
/home/gid//garnome/lib/libORBit-2.so -lm
/home/gid//garnome/lib/liblinc.so
/home/gid//garnome/lib/libgmodule-2.0.so -ldl
/home/gid//garnome/lib/libgobject-2.0.so
/home/gid//garnome/lib/libgthread-2.0.so -lpthread
/home/gid//garnome/lib/libglib-2.0.so -lrt -Wl,--rpath
-Wl,/home/gid//garnome/lib
.../libgnomevfs/.libs/libgnomevfs-2.so: undefined reference to
`bind_textdomain_codeset'
collect2: ld returned 1 exit status
make[9]: *** [test-async] Error 1
make[9]: Leaving directory
`/misc/garnome-0.10.0/gnome/gnome-vfs/work/gnome-vfs-1.9.15/test'

I've updated gettext and made sure I have all the dependencies listed on
the garnome site. Is there any way to fix this? I don't understand the
error at all.

I'm running Debian/GNU Linux 2.2r5 stable, gcc 2.95.2, glibc 2.1, and
automake 1.4.

My thanks in advance,
Michaël Ball





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