Re: Problem installing Pango



Carl "Tuck" Hartshorn wrote at 26 Nov 2002 20:49:46 -0800:
 > I recently installed glib-2.0.6, then pango-1.0.4, both at non-default dirs 
 > of --prefix=/opt/gnome
 > 
 > The glib installs fine. When I run ./configure --prefix=/opt/gnome, I get:
 > checking X11/Xft/XftFreetype.h usability... yes
 > checking X11/Xft/XftFreetype.h presence... yes
 > checking for X11/Xft/XftFreetype.h... yes
 > checking for pkg-config... /usr/local/bin/pkg-config
 > checking for GLIB - version >= 2.0.0... no

When you installed glib-2.0.6 in /opt/gnome, you installed the
glib-2.0.6 .pc files that pkg-config needs into
/opt/gnome/lib/pkgconfig/.

pkg-config doesn't look there for .pc files, so it can't find GLib,
which is the cause of all your problems.

You can set the PKG_CONFIG_PATH environment variable to
/opt/gnome/lib/pkgconfig or copy the files in /opt/gnome/lib/pkgconfig
into the standard pkgconfig directory or modify the glib-2.0.6
Makefile to install the .pc files in the standard pkgconfig directory.

You will have the same choices when it's time to install pango-1.0.4.

You can also set PKG_CONFIG_DEBUG_SPEW to get debugging messages.  See
the pkg-config man page for details.

Regards,


Tony Graham
------------------------------------------------------------------------
XML Technology Center - Dublin                mailto:tony graham sun com
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]