[Fwd: gtk error]



I hope this hasn't been answered many times already. I tried to find
references in the archive and was unsuccessful.

The two libraries are unpacked in /usr/local/...

I configured glib-1.2.0 with ./configure --prefix=/usr/local
make
make install

Then I configured gtk+-1.2.0 with ./configure --prefix=/usr/local --with-glib=../glib-1.2.0
make

when it started building the libraries, the following messages were generated:

-----------------------------------------------
begin make output
----------------------------------------------- 
Making all in gtk
make[2]: Entering directory `/usr/local/gtk+-1.2.0/gtk'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -o testgtk  testgtk.o
libgtk.la                                               ../gdk/libgdk.la
-L/usr/X11R6/lib                                              -lXext -lX11
../../glib-1.2.0/libglib.la ../../glib-1.2.0/gmodule.la                                          -lm
libtool: link: `../../glib-1.2.0/gmodule.la' is not a valid libtool archive
make[2]: *** [testgtk] Error 1
make[2]: Leaving directory `/usr/local/gtk+-1.2.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/gtk+-1.2.0'
make: *** [all-recursive-am] Error 2

-----------------------------------------------
end make output
----------------------------------------------- 

I looked in /usr/local/glib-1.2.0 and found that while libglib.la is there
gmodule.la isn't. Did I miss something when I build glib-1.2.0? Or are there
configure flags for gtk+-1.2.0 that I should have set?

Any help appreciated.



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