Re: Gnome 2.16.0 compilation issue: gnome-vfs-2.16.0 - modules



Shawn,

Which disto/platform are you running?

/lib/libattr.so contains the extended attribute system calls and library
functions. On Redhat-based systems this lib is installed under /lib as
it it required during the boot sequence. Where is libattr installed on
your system?

An quick examination of the configure file for gnome-vfs indicates that
tests are run to detect getxttr() in libattr.  Did those tests pass?

-Joseph
=====================================================================

On Fri, 2006-09-08 at 22:50 +0800, Shawn Shen wrote:
> Dear all,
> 
> I met the following error when using garnome 2.16.0 to compile gnome
> 2.16.0
> 
> make[3]: Entering directory
> `/localdisk/data/seans/garnome-2.16.0/platform/gnome-vfs/work/main.d/gnome-vfs-2.16.0/modules' 
> /bin/sh ../libtool --tag=CC --mode=link cc  -g
> -I/localdisk/data/G160/include -L/localdisk/data/G160/lib -O2 -pipe
> -march=pentiumpro  -L/usr/lib -Wl,--export-dynamic
> -L/localdisk/data/G160/lib -o libfile.la
> -rpath /localdisk/data/G160/lib/gnome-vfs-2.0/modules -export_dynamic
> -avoid-version -module -no-undefined file-method.lo fstype.lo
> file-method-acl.lo   -lfam -pthread -L/localdisk/data/G160/lib
> -lgobject-2.0 -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0
> -lglib-2.0 -L/usr/lib -lattr -lacl ../libgnomevfs/libgnomevfs-2.la
> -lutil -lrt -lrt
> grep: /lib/libattr.la: No such file or directory
> /bin/sed: can't read /lib/libattr.la: No such file or directory
> libtool: link: `/lib/libattr.la' is not a valid libtool archive
> make[3]: *** [libfile.la] Error 1
> make[3]: Leaving directory
> `/localdisk/data/seans/garnome-2.16.0/platform/gnome-vfs/work/main.d/gnome-vfs-2.16.0/modules'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/localdisk/data/seans/garnome-
> 2.16.0/platform/gnome-vfs/work/main.d/gnome-vfs-2.16.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/localdisk/data/seans/garnome-2.16.0/platform/gnome-vfs/work/main.d/gnome-vfs-2.16.0'
> make: *** [build-work/main.d/gnome- vfs-2.16.0/Makefile] Error 2
> 
> The thing I tried.
> 1. modify the Makefile to add the "-L/usr/lib", failed.
> 2. set the LDFLAGS=-L/usr/lib, failed
> 
> I have no right to modify the system directory.
> That is I can not create the link as " ln
> -s /usr/lib/libattr.la /lib/libattr.la"
> 
> This is a blocking issue....
> Actually I did not need ACL feature, but I did not know how to turn
> off.
> 
> Please advice.  Thanks in advance. 
> 
> Regard, 
> Shawn
> 
-- 
joseph_sacco [at] comcast [dot] net




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