On 08/03/2011 11:49 AM, 高飛 wrote:
> Excuse me. I am trying to build Gnome 3 in /opt/gnome. I've added
> /opt/gnome/usr/lib/pkgconfig to PKG_CONFIG_PATH and /opt/gnome/usr/lib
> to "ld.so.conf".
> I get glib 2.24.7 installed to /opt/gnome and I am sure there is
> "libgmodule-2.0.la" file in /opt/gnome/usr/lib.
> But when I try to build GConf, error occurs and it seems that libtool
> keeps trying to find "libgmodule-2.0.la" file in /usr/lib. Here's the
> error message:
>
> /bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall
> -version-info 5:5:1 -no-undefined  -o libgconf-2.la -rpath
> /opt/gnome/usr/lib gconf-internals.lo gconf-backend.lo
> gconf-changeset.lo gconf-error.lo gconf-listeners.lo gconf-locale.lo
> gconf-schema.lo gconf-sources.lo gconf-value.lo gconf.lo
> gconf-client.lo gconf-enum-types.lo GConfX-common.lo GConfX-skels.lo
> GConfX-stubs.lo   -pthread -Wl,--export-dynamic -L/opt/gnome/usr/lib
> -lgio-2.0 -lgmodule-2.0 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lrt
> -lglib-2.0
> /bin/grep: /usr/lib/libgmodule-2.0.la: No such file or directory
> /bin/sed: can't read /usr/lib/libgmodule-2.0.la: No such file or directory
> libtool: link: `/usr/lib/libgmodule-2.0.la' is not a valid libtool archive
>
> How can I adjust the path?
> Thanks for your help.
> Tester He

What version of LFS? If recent, did you remove the installed glib and 
pkgconfig file in /usr?

-- DJ Lucas

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to