Re: [gnomemm] Compile problems
- From: Murray Cumming <murrayc usa net>
- To: "C.J. Collier" <cjcollier pobox com>
- Cc: gnomemm-list <gnomemm-list gnome org>
- Subject: Re: [gnomemm] Compile problems
- Date: 11 Sep 2002 08:38:05 +0100
On Mon, 2002-09-09 at 08:21, C.J. Collier wrote:
> So, I go to ./configure and make libgnomemm (from CVS, and from
> gnomemm-all) and for some reason, it expects all my libraries (or at
> least quite a few of them) to be in /usr/local
>
> Why would the tools expect such a thing?
>
> Here's an example:
>
> /bin/sh ../../libtool --mode=link c++ -g -O2 -o libgnomemm-1.3.la
> -rpath /usr/local/lib -version-info 6:0:0 main.lo moduleinfo.lo
> program.lo wrap_init.lo init.lo -L/usr/local/lib -lgtkmm-1.3 -lgdkmm-1.3
> -latkmm-0.0 -lgtk-x11-2.0 -lpangomm-0.0 -lglibmm-1.3 -lsigc-1.1
> -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0
> -lpango-1.0 -lgnome-2 -lbonobo-2 -lgconf-2 -lgnomevfs-2
> -lbonobo-activation -lORBit-2 -lxml2 -lz -lm -llinc -lgmodule-2.0 -ldl
> -lgobject-2.0 -lgthread-2.0 -lpthread -lglib-2.0
> mkdir .libs
> grep: /usr/local/lib/libgmodule-2.0.la: No such file or directory
> /bin/sed: can't read /usr/local/lib/libgmodule-2.0.la: No such file or
> directory
> libtool: link: `/usr/local/lib/libgmodule-2.0.la' is not a valid libtool
> archive
> make[4]: *** [libgnomemm-1.3.la] Error 1
>
> Why doesn't it check /usr/lib? That's where all my libs are!
>
> Ack. Any suggestions? Am I missing something simple and silly?
Where does pkgconfig say that your libs are?
For instance:
# pkg-config gmodule-2.0 --cflags
gives me
-Wl,--export-dynamic -L/gnome/gnome-2-0/INSTALL/lib -lgmodule-2.0 -ldl
-lglib-2.0
--
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]