Am attempting to build 2.7.4 on Ubuntu 10.10 AMD64. I installed the pre-req's, but am getting an error here:
checking for GTK+ - version >= 2.24.7... no
*** Could not run GTK+ 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 GTK+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
I have GTK+ 3.2.3 installed (tried with --prefix=/usr and without, both installed). And it reports being installed:
rick@rick-amd64:~$ pkg-config --libs gtk+-3.0
-L/usr/local/lib -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
I've manually extracted the conftest.c code out of the configure script, and I had to add several -I/usr/local/include/package-x.y/ and -I/usr/lib/package.x.y/include/ references to get it to compile. So I'm pretty sure it's a path issue as GTK+ 3.x installed to /usr/local/. I'm just not sure how to fix it.
The config.log file shows this:
configure:17298: checking for GTK+ - version >= 2.24.7
configure:17426: result: no
configure:17454: gcc -o conftest -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wmissing-format-attribute -Wformat-security -fno-common -fdiagnostics-show-option conftest.c >&5
conftest.c:49: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
Can anybody help me resolve this? Thanks in advance!
Best regards,
Rick C. Hodgin