Re: Problems compiling



Tomek Grzejszczyk wrote:

Hi,
    I've got problem as in the subject. I run the following things:

1. CPPFLAGS=-I/opt/include LDFLAGS=-L/opt/lib ./configure --prefix=/opt
--sysconfdir=/etc

This is because I've got Glib and Pango libraries and includes in
/opt/lib and /opt/include.

2. make

3. I got the following error:

grep: /usr/lib/libgobject-2.0.la: No such file or directory
/bin/sed: can't read /usr/lib/libgobject-2.0.la: No such file or directory libtool: link: `/usr/lib/libgobject-2.0.la' is not a valid libtool archive
make[3]: *** [libgtk-x11-2.0.la] Błąd 1
make[2]: *** [all-recursive] Błąd 1
make[1]: *** [all-recursive] Błąd 1
make: *** [all-recursive-am] Błąd 2


Quite strange.
My gnome2 files are in /opt/gnome2
at configure i passed prefix as following :
./configure --prefix=/opt/gnome2

and nothing else parameters
make and make install worked fine.
Did you try without passing CPPFLAGS and LDFLAGS ?
just this : "./configure --prefix=/opt/gnome2"
Configure messages told you if it found gnome files?





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