libtool search path causes gnome-vfs to not build



Hi, I can't build Garnome 2.9.90 due to a libtool
problem that is probably local to my machine,
and I don't know how to fix the libtool configuration
so Gar2.9.90 builds.
This machine is SuSE 9.2 (which may have
a configuration that's different than
most Fedora/RH machines).

I realize that this problem is probably local
to my machine (and I want to find out why and
fix it!).

The specific undefineds caused by the incorrect
libtool path starts with:

gnome-vfs-async-daemon.o(.text+0x325): In function
`gnome_vfs_async_daemon_finalize':
/home/root/src/garnome-2.9.90/platform/gnome-vfs/work/main.d/gnome-vfs-2.9.90/daemon/gnome-vfs-async-daemon.c:52:
undefined reference to `g_assert_warning'


Details:

gnome-vfs.../daemon fails to build because
it's linking /opt/gnome/...glib... which doesn't
contain some functions, causing fatal undefineds.

Here's the link line from make that fails;
note the "/opt/gnome" preceding the local
garnome lib dir:

cc -g -I/home/root/g2990/include -O2 -pipe -o
.libs/gnome-vfs-daemon gnome-vfs-daemon.o
gnome-vfs-async-daemon.o gnome-vfs-daemon-dir-handle.o
gnome-vfs-daemon-handle.o GNOME_VFS_Daemon-common.o
GNOME_VFS_Daemon-stubs.o GNOME_VFS_Daemon-skels.o
-Wl,--export-dynamic  -L/home/root/g2990/lib -pthread
-L/opt/gnome/lib ../libgnomevfs/.libs/libgnomevfs-2.so
../libgnomevfs/.libs/libgnomevfsdaemon-2.a
/usr/lib/libhal-storage.so /usr/lib/libhal.so
/usr/lib/libdbus-glib-1.so
/opt/gnome/lib/libgobject-2.0.so
/opt/gnome/lib/libglib-2.0.so /usr/lib/libdbus-1.so
-lnsl
/home/root/src/garnome-2.9.90/platform/gnome-vfs/work/main.d/gnome-vfs-2.9.90/libgnomevfs/.libs/libgnomevfs-2.so
/home/root/g2990/lib/libgconf-2.so
/home/root/g2990/lib/libbonobo-2.so
/home/root/g2990/lib/libbonobo-activation.so
/home/root/g2990/lib/libORBitCosNaming-2.so
/home/root/g2990/lib/libORBit-2.so /usr/lib/libpopt.so
/home/root/g2990/lib/libgobject-2.0.so
/home/root/g2990/lib/libgmodule-2.0.so
/home/root/g2990/lib/libgthread-2.0.so
/home/root/g2990/lib/libglib-2.0.so
/home/root/g2990/lib/libxml2.so -lpthread -lz -lm
-lssl -lcrypto -ldl -lresolv -lrt -Wl,--rpath
-Wl,/home/root/g2990/lib

-----

If I manually delete the /opt/gnome... libs,
then "ld" succeeds without any undefineds.

However, even after manually running "ld"
successfully, the garnome build process
reruns the "ld" with libtool's incorrect
/opt/gnome/... path, and all ensuing build
ops fail.

-----

So, finally the question: does anyone know how
I can alter the libtool configuration so that
it finds the garnome-built glib before
the /opt/gnome glib?


Thanks much,
Pete



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 



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