Re: can't install gtk2.0 on solaris 2.8
- From: Sylvain Jaume <jaume tele ucl ac be>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-list gnome org, cooperdl worldnet att net, denault hawaii edu
- Subject: Re: can't install gtk2.0 on solaris 2.8
- Date: Wed, 6 Nov 2002 22:39:58 +0100 (MET)
Dear Owen, Amir, and Valdis,
I tried to do what you told me:
in .cshrc:
setenv PKG_CONFIG_PATH "/export/home/jaume/build/lib/pkgconfig"
set path = (.\
/export/home/jaume \
/export/home/jaume/build/bin \
[...]
set LD_LIBRARY_PATH = (. \
/export/home/jaume/build/lib \
[...]
source ~/.cshrc
I re-named the src directories: pkgconfig, glib, and pango.
mkdir /export/home/jaume/build
cd /export/home/jaume/pkgconfig
./configure --prefix=/export/home/jaume/build
gmake
gmake install
cd /export/home/jaume/glib
./configure --prefix=/export/home/jaume/build
gmake
gmake install
cd /export/home/jaume/pango
./configure --prefix=/export/home/jaume/build
I get the error message:
[...]
checking for pkg-config... /export/home/jaume/build/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if
that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it,
although
*** you may also be able to get things to work by modifying
LD_LIBRARY_PATH
configure: error:
*** Glib 2.0.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
Any hints?
BTW I'm using glib-2.0.7.tar.gz I've downloaded today.
Sylvain
On Wed, 6 Nov 2002, Owen Taylor wrote:
>
> Sylvain Jaume <jaume tele ucl ac be> writes:
>
> > Hi all,
> >
> > I've got a similar problem compiling pango, since ./configure shows:
> > checking for GLIB - version >= 2.0.0... sh: gnome-config: not found
> >
> > Below is every step I did.
> > I compiled pkg-config-0.12.0, and glib-2.0.7 on Solaris using configure:
> >
> > ./configure --prefix=/export/home/jaume/pkg-config
> > gmake
> > gmake install
> >
> > ./configure --prefix=/export/home/jaume/glib
> > gmake
> > gmake install
>
> This installed GLib file in /export/home/jaume/glib/lib/pkgconfig",
> but you don't have that in your PKG_CONFIG_PATH. (I'd
> suggest installing everything into the same prefix, it just
> keeps things simpler.)
>
> > I set in .cshrc:
> > set CPPFLAGS="-I/export/home/jaume/gtk/include"
> > set LDFLAGS="-L/export/home/jaume/gtk/lib"
> > set PKG_CONFIG_PATH="/export/home/jaume/gtk/lib/pkgconfig"
> > set path = (.\
> > /export/home/jaume \
> > /export/home/jaume/glib/bin \
> > /export/home/jaume/pkgconfig/bin \
> > [...]
> > set LD_LIBRARY_PATH = (. \
> > /export/home/jaume/glib/lib \
> > [...]
> >
> > No problem so far. Then I try to compile pango:
> >
> > cd /export/home/jaume
> > mkdir pango
> > cd pango-1.0.5
> > ./configure --prefix=/export/home/jaume/pango
> >
> > I get the error message:
> > [...]
> > checking for pkg-config... /export/home/jaume/pkgconfig/bin/pkg-config
> > checking for GLIB - version >= 2.0.0... sh: gnome-config: not found
> > sh: gnome-config: not found
> > no
>
> The gnome-config mention here is just a harmless bug in
> pkg-config, you can ignore it.
>
> Regards,
> Owen
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]