Hello, I just downloaded GIMP-1.0.0 and GTK+-1.0.4. I installed/compiled GTK with no problem, then I ran the ./configure script for the gimp. It said that if failed to compile the GTK test program. I have attached the config.log file that contains the error message. What do I need to do to fix this problem? Thanks, Aaron Walker
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:590: checking for a BSD compatible install configure:643: checking whether build environment is sane configure:700: checking whether make sets ${MAKE} configure:746: checking for working aclocal configure:759: checking for working autoconf configure:772: checking for working automake configure:785: checking for working autoheader configure:798: checking for working makeinfo configure:869: checking host system type configure:892: checking for ranlib configure:921: checking for gcc configure:998: checking whether the C compiler (gcc ) works configure:1012: gcc -o conftest conftest.c 1>&5 configure:1032: checking whether the C compiler (gcc ) is a cross-compiler configure:1037: checking whether we are using GNU C configure:1046: gcc -E conftest.c configure:1061: checking whether gcc accepts -g configure:1101: checking for ld used by GCC configure:1158: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.8.1 (with BFD linux-2.8.1.0.1) configure:1174: checking for BSD-compatible nm configure:1211: checking whether ln -s works configure:1279: checking whether to enable maintainer-specific portions of Makefiles configure:1304: checking host system type configure:1364: checking for gcc configure:1441: checking whether the C compiler (gcc -g -O2 ) works configure:1455: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1475: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler configure:1480: checking whether we are using GNU C configure:1504: checking whether gcc accepts -g configure:1535: checking for gcc option to accept ANSI C configure:1588: gcc -c -g -O2 conftest.c 1>&5 configure:1622: checking for a BSD compatible install configure:1672: checking whether ln -s works configure:1693: checking whether make sets ${MAKE} configure:1720: checking how to run the C preprocessor configure:1741: gcc -E conftest.c >/dev/null 2>conftest.out configure:1822: checking for gtk-config configure:1853: checking for GTK - version >= 1.0.1 configure:1942: gcc -o conftest -g -O2 conftest.c 1>&5 In file included from /usr/local/include/gdk/gdktypes.h:25, from /usr/local/include/gdk/gdk.h:23, from /usr/local/include/gtk/gtk.h:23, from configure:1878: /usr/local/include/glib.h:22: glibconfig.h: No such file or directory configure: failed program was: #line 1876 "configure" #include "confdefs.h" #include <gtk/gtk.h> #include <stdio.h> int main () { int major, minor, micro; char *tmp_version; system ("touch conf.gtktest"); /* HP/UX 9 (%@#!) writes to sscanf strings */ tmp_version = g_strdup("1.0.1"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "1.0.1"); exit(1); } if ((gtk_major_version != ) || (gtk_minor_version != ) || (gtk_micro_version != )) { printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", , , , gtk_major_version, gtk_minor_version, gtk_micro_version); printf ("*** was found! If gtk-config was correct, then it is best\n"); printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** required on your system.\n"); printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); } else { if ((gtk_major_version > major) || ((gtk_major_version == major) && (gtk_minor_version > minor)) || ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) { return 0; } else { printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", gtk_major_version, gtk_minor_version, gtk_micro_version); printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", major, minor, micro); printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); printf("***\n"); printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); printf("*** correct copy of gtk-config. (In this case, you will have to\n"); printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } } return 1; } configure:1986: gcc -o conftest -g -O2 conftest.c 1>&5 In file included from /usr/local/include/gdk/gdktypes.h:25, from /usr/local/include/gdk/gdk.h:23, from /usr/local/include/gtk/gtk.h:23, from configure:1978: /usr/local/include/glib.h:22: glibconfig.h: No such file or directory configure: failed program was: #line 1976 "configure" #include "confdefs.h" #include <gtk/gtk.h> #include <stdio.h> int main() { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; }