Re: libtool: link: `../../glib-1.2.0//gmodule.la' is not a valid libtool archive
- From: Owen Taylor <otaylor redhat com>
- To: Smurfie <smurfie bluesmoke org>
- Cc: gtk-list redhat com
- Subject: Re: libtool: link: `../../glib-1.2.0//gmodule.la' is not a valid libtool archive
- Date: 09 Mar 1999 13:15:38 -0500
Smurfie <smurfie@bluesmoke.org> writes:
> Hi,
>
> It's been a long time i've got this problem, but i never really needed
> GTK...
> Now i would like to fix it...
> So here's the problem :
>
> gcc -DHAVE_CONFIG_H -I. -I. -I..
> -DGTK_DISABLE_COMPAT_H
> -DG_LOG_DOMAIN=\"Gtk\"
> -DGTK_EXE_PREFIX=\"/usr/local\"
> -DGTK_DATA_PREFIX=\"/usr/local\"
> -DGTK_SYSCONFDIR=\"/usr/local/etc\"
> -DGTK_LOCALEDIR=\"/usr/local//locale\" -I..
> -DGTK_NO_CHECK_CASTS
> -DUSE_XIM -I../../glib-1.2.0/
> -I../../glib-1.2.0//gmodule
> -I/usr/X11R6/include -g -O2 -Wall -c testgtk.c
> /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/tmp/gtk+-1.2.0/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/tmp/gtk+-1.2.0'
> make: *** [all-recursive-am] Error 2
> smurfie:/usr/local/tmp/gtk+-1.2.0#
>
> i got glib in ../glib-1.2.0/ so i used ./configure
> --with-glib=../glib-1.2.0/ to compile gtk.
> when i try to compile and install glib, no problems, but then gtk's
> ./configure can't find it...
This has been pointed out as a minor problem with
the --with-glib option before. It will be fixed in future
releases, but for now, I'd just avoid using it (it isn't
a supported feature anyways), and install GLIB first.
Make sure that $prefix/bin for GLIB is in your path and
you won't have any problems. (It installs a script
'glib-config' that GTK+ uses to locate the header files
and get information about necessary libraries)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]