Article View: comp.graphics.apps.gimp
Article #12problem compiling gtk+-1.2.3 under SunOS 5.6 with glib-1.2.3 + gcc
From: Craig Dewick
Date: Sat, 14 Aug 1999 00:00
Date: Sat, 14 Aug 1999 00:00
69 lines
3822 bytes
3822 bytes
Hi,
I'm trying to build gtk+-1.2.3 so I can eventually build, install and use
GIMP. However, there's one problem that I can't fathom at the moment.
I have already compiled and installed glib-1.2.3, and at one stage I had a
problem earlier with the gtk build where it would find the glib-config
program, but tried to tell me the wrong version of glib was installed (there
is only one version - 1.2.3 - installed on the system). Running glib-config
manually showed it was working, so the problem must have been in gtk's
configure script.
Anyway, I resolved that one by using the following config options for gtk's
configure script:
sh ./configure --prefix=/X --with-glib=/azwan/glib-1.2.3 --with-x
'/X' is my symlink to /usr/openwin. The '--with-glib' option got around the
glib-searching problem with the script, and the build then progressed to the
point it's at now, which is this:
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o testgtk testgtk.o
libgtk.la ../gdk/libgdk.la
-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
/azwan/glib-1.2.3/libglib.la /azwan/glib-1.2.3/gmodule.la -lm
libtool: link: `/azwan/glib-1.2.3/gmodule.la' is not a valid libtool archive
*** Error code 1
make: Fatal error: Command failed for target `testgtk'
Current working directory /azwan/X/gtk+-1.2.3/gtk
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /azwan/X/gtk+-1.2.3
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
What does the error code about 'gmodule.la' mean? I had a look back through
the glib directory and could not find any file named 'gmodule.la', so is the
real meaning of the message simply that it can't find the file in question?
Running 'find' over the glib source directory shows these files have been
created with a '.la' extension:
77 root@lios #----> find /azwan/glib-1.2.3 -name "*.la" -print
/azwan/glib-1.2.3/gmodule/.libs/libgmodule.la
/azwan/glib-1.2.3/gmodule/.libs/libgplugin_a.la
/azwan/glib-1.2.3/gmodule/.libs/libgplugin_b.la
/azwan/glib-1.2.3/gmodule/libgmodule.la
/azwan/glib-1.2.3/gmodule/libgplugin_a.la
/azwan/glib-1.2.3/gmodule/libgplugin_b.la
/azwan/glib-1.2.3/gthread/.libs/libgthread.la
/azwan/glib-1.2.3/gthread/libgthread.la
/azwan/glib-1.2.3/.libs/libglib.la
/azwan/glib-1.2.3/libglib.la
but there's no 'gmodule.la'.
So at this point I'm a little confused... I'm probably mis-interpreting the
use of the '--with-glib' and other glib-related config script options, or am
I doing something else wrong?
Regards,
Craig.
--
Craig Dewick. Send email to "cdewick@lios.apana.org.au"
Point a web browser at 'http://lios.apana.org.au/~cdewick/sun_shack.html' to
access my archive of Sun information and links to other places. For info
about Sun Ripened Kernels, go to "http://www.sunrk.com.au"
Technical Details
Message-ID:
<7p2amj$1lq$1@lios.apana.org.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b08,5697d08e82fb9268,start X-Google-Attributes: gid102b08,public X-Google-Thread: 10d053,5697d08e82fb9268,start X-Google-Attributes: gid10d053,public X-Google-Thread: fb65a,5697d08e82fb9268,start X-Google-Attributes: gidfb65a,public From: cdewick@lios.apana.org.au (Craig Dewick) Subject: problem compiling gtk+-1.2.3 under SunOS 5.6 with glib-1.2.3 + gcc Date: 1999/08/14 Message-ID: <7p2amj$1lq$1@lios.apana.org.au> X-Deja-AN: 512450490 X-Complaints-To: postmaster@jedi.apana.org.au X-Trace: jedi.apana.org.au 934587924 12683 203.14.152.52 (13 Aug 1999 23:45:24 GMT) Organization: Lios - Children of the Light - May the Schwartz be With You NNTP-Posting-Date: 13 Aug 1999 23:45:24 GMT Newsgroups: comp.graphics.apps.gimp,comp.sys.sun.apps,aus.computers.sun