Problem installing Pango



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
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for 
the
*** exact error that occured. This usually means GLIB is incorrectly 
installed.
configure: error:
*** Glib 2.0.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

I have CFLAGS set to: echo $CFLAGS 
-I/opt/gnome/include -I/opt/gnome/include/glib-2.0

I see gcc error messages, if I look into it that seem to point to:

/opt/gnome/include/glib-2.0/glib/gtypes.h

Around line 30, it looks like:
--snip
/*
 * Modified by the GLib Team and others 1997-2000.  See the AUTHORS
 * file for a list of people on the GLib Team.  See the ChangeLog
 * files for a list of changes.  These files are distributed with
 * GLib at ftp://ftp.gtk.org/pub/gtk/. 
 */

#ifndef __G_TYPES_H__
#define __G_TYPES_H__

#include <glibconfig.h>

G_BEGIN_DECLS
--snip

and seems to complain about 'G_BEGIN_DECLS'.

Has anybody else seen this problem and/or have a suggestion?

Thanks, 
Tuck Hartshorn



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