On Mon, 22 Jun 2009 02:11:26 -0400 Filipe Brandenburger wrote:
That might shed some more light on that issue. Once you get "pkg-config" to work again, try to rerun your ./configure and see if it works now as you expect.
Problem solved.
[frankcox@jeff ~]$ rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' pkgconfig cairo-devel pkgconfig-0.21-2.el5.x86_64 cairo-devel-1.2.4-5.el5.i386
[root@jeff frankcox]# yum install cairo-devel Parsing package install arguments Package cairo-devel-1.2.4-5.el5.i386 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package cairo-devel.x86_64 0:1.2.4-5.el5 set to be updated --> Finished Dependency Resolution Installed: cairo-devel.x86_64 0:1.2.4-5.el5 Complete!
[frankcox@jeff ~]$ pkg-config --cflags gtk+-2.0 Package xproto was not found in the pkg-config search path. Perhaps you should add the directory containing `xproto.pc' to the PKG_CONFIG_PATH environment variable Package 'xproto', required by 'Xrender', not found
[frankcox@jeff ~]$ rpm -q --qf '%{name}-%{version}-%{release}.% {arch}\n' xorg-x11-proto-devel xorg-x11-proto-devel-7.1-9.el5.centos.i386
[root@jeff frankcox]# yum install xorg-x11-proto-devel Parsing package install arguments Package xorg-x11-proto-devel-7.1-9.el5.centos.i386 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package xorg-x11-proto-devel.x86_64 0:7.1-9.el5.centos set to be updated --> Finished Dependency Resolution Installed: xorg-x11-proto-devel.x86_64 0:7.1-9.el5.centos Complete!
[frankcox@jeff ~]$ pkg-config --cflags gtk +-2.0-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
And after that, the configure worked!
So, the problem was i386-only versions of cairo-devel and xorg-x11-proto-devel that were installed on that machine. How that happened, I have no idea. I just set that machine up a couple of months ago with Centos 5.2/x86_64 and upgraded it to 5.3 shortly after that.
BTW, what exactly are you building?
gxmame-0.35beta2.tar.bz2
Thanks loads for your help! You put me on the right track to getting this working and I appreciate your assistance immensely!
For the other chap who's looking for "commercial support" for Centos, here is a lovely example of how Centos support really works.