Article View: comp.graphics.apps.gimp
Article #13Re: problem compiling gtk+-1.2.3 under SunOS 5.6 with glib-1.2.3 + gcc
From: James C. McPherson
Date: Mon, 16 Aug 1999 00:00
Date: Mon, 16 Aug 1999 00:00
68 lines
3474 bytes
3474 bytes
cdewick@lios.apana.org.au (Craig Dewick) writes: > 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? > 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. James -- Unix Systems Administrator Phone: +61.2.9850.9418 Office of Computing Services Fax: +61.2.9850.7433 Macquarie University NSW 2109 AUSTRALIA
Technical Details
Message-ID:
<kiyso5koane.fsf@orrery.ocs.mq.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7p2amj$1lq$1@lios.apana.org.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: James.McPherson@mq.edu.au (James C. McPherson) Subject: Re: problem compiling gtk+-1.2.3 under SunOS 5.6 with glib-1.2.3 + gcc Date: 1999/08/16 Message-ID: <kiyso5koane.fsf@orrery.ocs.mq.edu.au> X-Deja-AN: 513180890 References: <7p2amj$1lq$1@lios.apana.org.au> Organization: Macquarie University, NSW, Australia Newsgroups: comp.graphics.apps.gimp,comp.sys.sun.apps,aus.computers.sun