🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.apps.gimp
Article #6

Re: problem with gtk configure script and glib test program under Solaris

#6
From: Juergen Keil
Date: Thu, 04 May 2000 00:00
34 lines
1837 bytes
cdewick@lios.apana.org.au (Craig Dewick) writes:


> I've upgraded my system (Sparc 20) to Solaris 8, and I'm now trying to have
> a go at building gtk+-1.2.7. I have glib-1.2.7 built and installed, but the
> gtk configure script is barfing:
> 
> 
> checking for glib-config... /usr/local/bin/glib-config
> checking for GLIB - version >= 1.2.7... no
> *** Could not run GLIB test program, checking why...
> ....

After installing glib, edit the glib-config shell script and add
-R${exec_prefix}/lib to the echo command on the previous to last line
of the script, so that it looks like this:

...
	fi
	echo -L${exec_prefix}/lib -R${exec_prefix}/lib $libsp $libsa
fi


After that change, "glib-config --libs" should print something like this
(modulo the /opt/gtk12 prefix, that's where I've installed glib/gtk)

% /opt/gtk12/bin/glib-config --libs
-L/opt/gtk12/lib -R/opt/gtk12/lib -lglib

gtk+ should now build without problem.


You may want to repeat this step (hacking in proper -R... options for
each -L...) for the gtk-config script after installing gtk+.
Technical Details
Message-ID: <wyk8hay6ys.fsf@leo.tools.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8er5dp$30m$1@jedi.apana.org.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102b08,3aa632481d9332db
X-Google-Attributes: gid102b08,public
X-Google-Thread: 11035d,3aa632481d9332db
X-Google-Attributes: gid11035d,public
X-Google-Thread: 10d053,3aa632481d9332db
X-Google-Attributes: gid10d053,public
X-Google-Thread: fb65a,3aa632481d9332db
X-Google-Attributes: gidfb65a,public
From: Juergen Keil <jk@tools.de>
Subject: Re: problem with gtk configure script and glib test program under Solaris
Date: 2000/05/04
Message-ID: <wyk8hay6ys.fsf@leo.tools.de>
X-Deja-AN: 619079584
References: <8er5dp$30m$1@jedi.apana.org.au>
Organization: Tools GmbH, Bonn, Germany
Newsgroups: comp.graphics.apps.gimp,aus.computers.sun,comp.sys.sun.apps,comp.unix.solaris