Article View: comp.graphics.apps.gimp
Article #8Re: problem compiling gtk+-1.2.3 under SunOS 5.6 with glib-1.2.3 + gcc
From: Craig Dewick
Date: Tue, 17 Aug 1999 00:00
Date: Tue, 17 Aug 1999 00:00
61 lines
3493 bytes
3493 bytes
In <kiyso5koane.fsf@orrery.ocs.mq.edu.au> James.McPherson@mq.edu.au (James C. McPherson) writes:
>> /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?
>>
>I think it's actually due to the fact that the libtool supplied with most gnu
>software really _hates_ solaris. I'd recommend that you firstly download and
>install the absolute latest version of libtool (since this is more
>solaris-friendly), and then go through your configure scripts and change
># Always use our own libtool.
>LIBTOOL='$(SHELL) $(top_builddir)/libtool'
>to the following:
># Always use our own libtool.
>#LIBTOOL='$(SHELL) $(top_builddir)/libtool'
>LIBTOOL=/usr/local/bin/libtool
>instead, where /usr/local/bin/libtool is your own locally built version.
>Everything should work just fine then.
Except that it doesn't. I installed libtool-1.3.3 locally, and changed the
definitions in the configure scripts so they invoke the locally installed
copy of libtool in /usr/local/bin, however the result is exactly the same:
libtool: link: `/azwan/glib-1.2.3/gmodule.la' is not a valid libtool archive
*** Error code 1
The problem of why gmodule.la is needed for this step of building gtk, and
also why it's not created when glib is built, both remain unanswered at this
stage... So I'm still stuck with no GIMP. 8-)
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:
<7pb22g$7l4$1@lios.apana.org.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7p2amj$1lq$1@lios.apana.org.au> <kiyso5koane.fsf@orrery.ocs.mq.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b08,5697d08e82fb9268 X-Google-Attributes: gid102b08,public X-Google-Thread: fb65a,5697d08e82fb9268 X-Google-Attributes: gidfb65a,public X-Google-Thread: 10d053,5697d08e82fb9268 X-Google-Attributes: gid10d053,public From: cdewick@lios.apana.org.au (Craig Dewick) Subject: Re: problem compiling gtk+-1.2.3 under SunOS 5.6 with glib-1.2.3 + gcc Date: 1999/08/17 Message-ID: <7pb22g$7l4$1@lios.apana.org.au> X-Deja-AN: 513701140 References: <7p2amj$1lq$1@lios.apana.org.au> <kiyso5koane.fsf@orrery.ocs.mq.edu.au> X-Complaints-To: postmaster@jedi.apana.org.au X-Trace: jedi.apana.org.au 934873997 5818 203.14.152.52 (17 Aug 1999 07:13:17 GMT) Organization: Lios - Children of the Light - May the Schwartz be With You NNTP-Posting-Date: 17 Aug 1999 07:13:17 GMT Newsgroups: comp.graphics.apps.gimp,comp.sys.sun.apps,aus.computers.sun