Re: [gtk-list] SuSE compatible?



On Thu, 12 Nov 1998, Yasholomew Yashinski wrote:

>   Is this project meant to be cross platform? As I can't seem to compile
> it in my SuSE box (Their libs are always fscked up :). This is the error I
> got:
> creating libgtk.la
> (cd .libs && ln -s ../libgtk.la libgtk.la)
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -I..
> -I../../glib-1.1.4
>  -I/usr/X11R6/include  -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c
> testgtk.c
> /bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall
> -DUSE_XIM
> -o testgtk  testgtk.o libgtk.la ../gdk/libgdk.la -L/usr/X11R6/lib -lXext
> -lX11 ../../glib-1.1.4/libglib-1.1.la -lm
> libtool: link: `../../glib-1.1.4/libglib-1.1.la' is not a valid libtool
> archive

I saw this myself and the probl;em is that there is no file by that name.
glib is instead calling its .la:  glib-1.1.4/libglib.la

Something like that anyway.  Take a look in the glib distrib directory.
Oh,  and once you fix this you'll later get an error that gmodule is an
undefined reference when linking.

You'll have to add to one of the linker variables an entry for:
	glib-1.1.4/gmodule/gmodule.la

again check you glib distro directories to get the right path.  It would
seem that gmodule was recently split internally from the glib library and
that hasn't reached the gtk+ distro yet.

Allan. (ARRae)



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