[10032] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: SuSE compatible?
daemon@ATHENA.MIT.EDU (Allan Rae)
Thu Nov 12 00:16:20 1998
Date: Thu, 12 Nov 1998 15:15:42 +1000 (GMT+1000)
From: Allan Rae <allan.rae@mailbox.uq.edu.au>
To: Yasholomew Yashinski <yashy@yashy.ottawa.on.ca>
cc: GTK Mailing List <gtk-list@redhat.com>
In-Reply-To: <Pine.LNX.4.05.9811120012170.2743-100000@crypt.yashy.ottawa.on.ca>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
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)
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null