Re: gtk+-2 and centos 5

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



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux