[Nautilus-list] yacp (yet another compiling problem)



hi guys.. i'm having a problem compiling nautilus that i wasn't really
expecting to have.. i am compiling everyhting into the prefix /nautilus so
i don't screw up my existing installs of the libraries.  so, that said,
when compiling nautilus it isn't finding the proper gnome-vfs. this is the
error i get from doing a make in the nautilus source dir:

bonobo-stream-vfs.c: In function `vfs_length':
bonobo-stream-vfs.c:218: too few arguments to function
`gnome_vfs_get_file_info_
from_handle'
make[2]: *** [bonobo-stream-vfs.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

ok you say, so it's finding the existing gnome-vfs instead of the one in
/nautilus/lib ... but check out the command it's using to compile that
last file there:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libnautilus
-I../cut-n-paste-code -I/usr/include -DNEED_GNOMESUPPORT_H 
-I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/nautilus/include -I/usr/include -DNEED_GNOMESUPPORT_H 
-I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-xml -I/nautilus/include -I/usr/lib/glib/include
-I/nautilus/include -I/nautilus/include -I/nautilus/lib/vfs/include
-I/usr/lib/glib/include -D_REENTRANT -I/nautilus/include/gconf/0.6 
-I/nautilus/include -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-xml -I/nautilus/include -I/nautilus/lib/vfs/include
-I/usr/lib/glib/include -D_REENTRANT -D_REENTRANT 
-DDATADIR=\"/nautilus/share\" -DNAUTILUS_DATADIR=\"/nautilus/share/nautilus\" 
-g -O2 -Wall -Wno-uninitialized -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare 
-Wsign-promo -Werror -Wp,-MD,.deps/bonobo-stream-vfs.pp -c bonobo-stream-vfs.c  
-fPIC -DPIC -o bonobo-stream-vfs.lo

now what i see is that it's pointing to /nautilus/include and
/nautilus/libs up there, but could the problem be that it's loking in
/usr/include and /usr/lib first? if this is the problem ,anyone know how
to fix this (relatively painlessly).. it's weird cuz other libs that need
gnome-vfs are finding it (the CVS one in /nautilus)... look at this:

[root rusty nautilus]# gnome-config --libs vfs
-rdynamic -L/nautilus/lib -L/usr/lib -lgnomevfs -lgmodule -lgthread -lglib
-lpthread -ldl

[root rusty nautilus]# gnome-config --cflags vfs
-I/nautilus/include -I/nautilus/lib/vfs/include -I/usr/lib/glib/include
-D_REENTRANT

so the proper .sh files are in the right place... so i dunno, can anyone
give me some suggestions? also, i noticed that under some of the distro
directories there are macro/ directories.. these macros never get
installed, so i'm assuming they are for the compilation of that particular
package and are not supposed to be used for everything else.. 

any suggestions would help..thanks in advance

 - rusty





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