GLIB / Pango install



Hi,
I'm new to Linux and try to install Gimp 2.0 onto a RedHat 9 installation
with Gnome desktop.
Gimp needs a new GTK which needs Pango which in turn needs GLIB >= 2.4.0

I can get GLIB installed without any errors but the Pango ./configure can't
find it.
The configure script fails with "glib.h" not found.

I have glib.h in /usr/include/glib-2.0

I also ran /sbin/ldconfig to 'activate' the library. But no avail.

Where is glib.h meant to be? And why does the install process not do it
right?

Below a snippet from the pango config.log file

Maybe someone can help me here.

Regards

Andreas Hagele
Auckland, NZ





----------------------------------------------------------------------------
-----------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by pango configure 1.4.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = i586
uname -r = 2.4.20-8
uname -s = Linux
uname -v = #1 Thu Mar 13 16:42:56 EST 2003

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i586
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/andreas/bin

.
.
.
.
.
configure:21622: checking for GLIB - version >= 2.4.0
configure:21771: result: no
configure:21804: gcc -o conftest -g -O2 -Wall    conftest.c   >&5
conftest.c:27:18: glib.h: No such file or directory
conftest.c: In function `main':
conftest.c:33: `glib_major_version' undeclared (first use in this function)
conftest.c:33: (Each undeclared identifier is reported only once
conftest.c:33: for each function it appears in.)
conftest.c:33: `glib_minor_version' undeclared (first use in this function)
conftest.c:33: `glib_micro_version' undeclared (first use in this function)
configure:21810: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "pango"
| #define PACKAGE_TARNAME "pango"
| #define PACKAGE_VERSION "1.4.0"
| #define PACKAGE_STRING "pango 1.4.0"
| #define PACKAGE_BUGREPORT
"http://bugzilla.gnome.org/enter_bug.cgi?product=pango";
| #define PACKAGE "pango"
| #define VERSION "1.4.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_X 1
| /* end confdefs.h.  */
|
| #include <glib.h>
| #include <stdio.h>
|
| int
| main ()
| {
|  return ((glib_major_version) || (glib_minor_version) ||
(glib_micro_version));
|   ;
|   return 0;
| }
configure:21854: error:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.




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