Re: what's the deal with libgmodule?



On Wed, 26 Aug 1998, Miguel de Icaza wrote:

> Yes, it is a new glibism.  You just need to make sure your
> applications link with the -lgmodule-1.1 file.  
> 
> You dont need to do much, just relink your applications after removing
> config.cache and making sure "gnome-config --libs gnomeui" returns
> -lgmodule-1.1 somewhere (ie, make sure an updated gnome-config is
> installed). 

Has anyone attempted a bootstrap install with this new setup?  I ran into
the following problem:

~/gnome/cvs/gnome-libs% ./autogen.sh --prefix=/opt/gnome 
(...)
checking for GTK - version >= 1.1.1... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /opt/gnome/bin/gtk-config
configure: error: GTK not installed

~/gnome/cvs/gnome-libs% less config.log
(...)
configure:2088: gcc -o conftest -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-d
eclarations -Wpointer-arith  -I/opt/gnome/include -I/usr/X11R6/include -I/opt/gn
ome//lib/glib/include -I/opt/gnome//include   conftest.c  -L/opt/gnome/lib -L/us
r/X11R6/lib -lgtk-1.1 -lgdk-1.1 -L/opt/gnome//lib -lglib-1.1 -lXext -lX11 -lm 1>
&5
/opt/gnome/lib/libgtk-1.1.so: undefined reference to `g_module_supported'

So, ok, like, does anyone know how to pass "-lgmodule" through autoconf,
or should I grep for the existence of /opt/gnome in my gnome-libs tree?

--
Todd Graham Lewis            32°49'N,83°36'W          (800) 719-4664, x2804
******Linux******         MindSpring Enterprises      tlewis@mindspring.net



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