[CentOS] gtk+-2 and centos 5

Frank Cox theatre at sasktel.net
Mon Jun 22 04:28:31 UTC 2009


On Sun, 21 Jun 2009 17:59:44 -0700 (PDT)
nate wrote:

> Look at the config.log you could be missing some packages.

I suspect it's a naming issue, where configure is looking for GTK+-2 but Centos
has GTK2.

I posted the error message in my initial query here; this is the relevant
section of config.log:

configure:4574: checking for GTK+ - version >= 2.4.0
configure:4719: result: no
configure:4752: gcc -o conftest -g -O2    conftest.c -lexpat -lz   >&5
conftest.c:16:21: error: gtk/gtk.h: No such file or directory
conftest.c: In function 'main':
conftest.c:22: error: 'gtk_major_version' undeclared (first use in this
function) conftest.c:22: error: (Each undeclared identifier is reported only
once conftest.c:22: error: for each function it appears in.)
conftest.c:22: error: 'gtk_minor_version' undeclared (first use in this
function) conftest.c:22: error: 'gtk_micro_version' undeclared (first use in
this function) configure:4758: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "gxmame"
| #define PACKAGE_TARNAME "gxmame"
| #define PACKAGE_VERSION "0.35beta2"
| #define PACKAGE_STRING "gxmame 0.35beta2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gxmame"
| #define VERSION "0.35beta2"
| #define STDC_HEADERS 1
| #define HAVE_STRCHR 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBEXPAT 1
| /* end confdefs.h.  */
| 
| #include <gtk/gtk.h>
| #include <stdio.h>
| 
| int
| main ()
| {
|  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
|   ;
|   return 0;
| }
configure:4796: error: Cannot find GTK2




-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com



More information about the CentOS mailing list