Problems compiling



Hi,
	I've got problem as in the subject. I ran 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

And now some questions:
1.Why is libgobject-2.0.la looked for in /usr/lib? Actually the messages are very right there is no /usr/lib/libgobject-2.0.la but there is /opt/lib/libgobject-2.0.la.
2. Why is libgobject-2.0.la and not libgobject-2.0.so needed?
3. How to make it work?

Thank you,
Tomek




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