Date: Mon, 26 Oct 1998 08:13:57 -0800 (PST) From: Peter Cornelius <pc@inr.fzk.de> To: freebsd-gnats-submit@FreeBSD.ORG Subject: misc/8457: gnomelibs-0.30.1 - configure fails Message-ID: <199810261613.IAA24872@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 8457 >Category: misc >Synopsis: gnomelibs-0.30.1 - configure fails >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 26 08:20:01 PST 1998 >Last-Modified: >Originator: Peter Cornelius >Organization: INR, Forschungszentrum Karlsruhe >Release: RELENG_2_2 as of today (2.2.7) >Environment: FreeBSD inr-delphi.fzk.de 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Thu Jul 23 01:57:42 CEST 1998 root@inr-delphi.fzk.de:/usr/src/sys/compile/INR-DELPHI i386 >Description: This happens during `make all`: (...)checking for GTK - version >= 1.1.1... 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 was incorrectly installed *** or that you have moved GTK since it was installed. In the latter case, you *** may want to edit the gtk-config script: /usr/X11R6/bin/gtk11-config configure: error: GTK not installed (...Stop...) But gtk-1.1.2 *is* installed. This is the configure.log from $WRKSRC (! cut&paste'd !): This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:610: checking host system type configure:631: checking target system type configure:649: checking build system type configure:683: checking for a BSD compatible install configure:736: checking whether build environment is sane configure:793: checking whether make sets ${MAKE} configure:839: checking for working aclocal configure:852: checking for working autoconf configure:865: checking for working automake configure:878: checking for working autoheader configure:891: checking for working makeinfo configure:910: checking for gcc configure:987: checking whether the C compiler (cc -O ) works configure:1001: cc -o conftest -O -O -I/usr/local/include -I/usr/X11R6/include conftest.c -L/usr/local/lib -L/usr/X11R6/lib -lxpg4 1>&5 configure:1021: checking whether the C compiler (cc -O ) is a cross-compiler configure:1026: checking whether we are using GNU C configure:1035: cc -E conftest.c configure:1050: checking whether cc accepts -g configure:1078: checking for POSIXized ISC configure:1101: checking for gcc configure:1178: checking whether the C compiler (cc -O ) works configure:1192: cc -o conftest -O -O -I/usr/local/include -I/usr/X11R6/include conftest.c -L/usr/local/lib -L/usr/X11R6/lib -lxpg4 1>&5 configure:1212: checking whether the C compiler (cc -O ) is a cross-compiler configure:1217: checking whether we are using GNU C configure:1241: checking whether cc accepts -g configure:1269: checking how to run the C preprocessor configure:1290: cc -E -O -I/usr/local/include -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out configure:1330: checking for ANSI C header files configure:1343: cc -E -O -I/usr/local/include -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out configure:1410: cc -o conftest -O -O -I/usr/local/include -I/usr/X11R6/include conftest.c -L/usr/local/lib -L/usr/X11R6/lib -lxpg4 1>&5 configure:1456: checking for ranlib configure:1495: checking for ld used by GCC configure:1552: checking if the linker (/usr/bin/ld) is GNU ld configure:1568: checking for BSD-compatible nm configure:1605: checking whether ln -s works configure:1715: checking whether to enable maintainer-specific portions of Makefiles configure:1746: checking what warning flags to pass to the C compiler configure:1772: checking what language compliance flags to pass to the C compiler configure:1794: checking for pthread_create in -lpthread configure:1813: cc -o conftest -O -Wall -O -I/usr/local/include -I/usr/X11R6/include conftest.c -lpthread -L/usr/local/lib -L/usr/X11R6/lib -lxpg4 1>&5 ld: -lpthread: no match configure: failed program was: #line 1802 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_create(); int main() { pthread_create() ; return 0; } configure:1832: checking for pthread_create in -lc_r configure:1851: cc -o conftest -O -Wall -O -I/usr/local/include -I/usr/X11R6/include conftest.c -lc_r -L/usr/local/lib -L/usr/X11R6/lib -lxpg4 1>&5 configure:1918: checking for gtk-config configure:1949: checking for GTK - version >= 1.1.1 configure:2050: cc -o conftest -O -Wall -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -O -I/usr/local/include -I/usr/X11R6/include conftest.c -L/usr/local/lib -L/usr/X11R6/lib -lxpg4 -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk11 -lgdk11 -L/usr/local/lib -lgmodule11 -lglib11 -lXext -lX11 -lm 1>&5 In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:23, from configure:1974: /usr/X11R6/include/gtk11/gdk/gdk.h:313: parse error before `GDestroyNotify' In file included from /usr/X11R6/include/gtk11/gtk/gtkobject.h:23, from /usr/X11R6/include/gtk11/gtk/gtkaccelgroup.h:27, from /usr/X11R6/include/gtk11/gtk/gtk.h:24, from configure:1974: /usr/X11R6/include/gtk11/gtk/gtkarg.h:64: parse error before `va_list' /usr/X11R6/include/gtk11/gtk/gtkarg.h:83: parse error before `arg_info_1' /usr/X11R6/include/gtk11/gtk/gtkarg.h:85: parse error before `arg_info' In file included from /usr/X11R6/include/gtk11/gtk/gtkaccelgroup.h:27, from /usr/X11R6/include/gtk11/gtk/gtk.h:24, from configure:1974: /usr/X11R6/include/gtk11/gtk/gtkobject.h:138: parse error before `GData' /usr/X11R6/include/gtk11/gtk/gtkobject.h:138: warning: no semicolon at end of struct or union /usr/X11R6/include/gtk11/gtk/gtkobject.h:285: parse error before `GDestroyNotify' /usr/X11R6/include/gtk11/gtk/gtkobject.h:311: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:314: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:318: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:320: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:322: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:340: parse error before `va_list' In file included from /usr/X11R6/include/gtk11/gtk/gtkmisc.h:24, from /usr/X11R6/include/gtk11/gtk/gtklabel.h:24, from /usr/X11R6/include/gtk11/gtk/gtkaccellabel.h:26, from /usr/X11R6/include/gtk11/gtk/gtk.h:25, from configure:1974: /usr/X11R6/include/gtk11/gtk/gtkwidget.h:165: field `object' has incomplete type In file included from /usr/X11R6/include/gtk11/gtk/gtkadjustment.h:24, from /usr/X11R6/include/gtk11/gtk/gtk.h:26, from configure:1974: /usr/X11R6/include/gtk11/gtk/gtkdata.h:46: field `object' has incomplete type In file included from /usr/X11R6/include/gtk11/gtk/gtkbin.h:24, from /usr/X11R6/include/gtk11/gtk/gtkalignment.h:24, from /usr/X11R6/include/gtk11/gtk/gtk.h:27, from configure:1974: /usr/X11R6/include/gtk11/gtk/gtkcontainer.h:206: parse error before `va_list' In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:38, from configure:1974: /usr/X11R6/include/gtk11/gtk/gtkclist.h:101: parse error before `gconstpointer' In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:42, from configure:1974: /usr/X11R6/include/gtk11/gtk/gtkctree.h:83: parse error before `GNode' /usr/X11R6/include/gtk11/gtk/gtkctree.h:195: parse error before `GNode' /usr/X11R6/include/gtk11/gtk/gtkctree.h:198: parse error before `*' /usr/X11R6/include/gtk11/gtk/gtkctree.h:199: parse error before `GNode' /usr/X11R6/include/gtk11/gtk/gtkctree.h:203: warning: data definition has no type or storage class In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:69, from configure:1974: /usr/X11R6/include/gtk11/gtk/gtkitemfactory.h:61: field `object' has incomplete type configure: failed program was: #line 1972 "configure" #include "confdefs.h" #include <gtk/gtk.h> #include <stdio.h> #include <stdlib.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.1.1"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "1.1.1"); exit(1); } if ((gtk_major_version != 1) || (gtk_minor_version != 1) || (gtk_micro_version != 2)) { printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 1, 1, 2, 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"); } #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) else if ((gtk_major_version != GTK_MAJOR_VERSION) || (gtk_minor_version != GTK_MINOR_VERSION) || (gtk_micro_version != GTK_MICRO_VERSION)) { printf("*** GTK+ header files (version %d.%d.%d) do not match\n", GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); printf("*** library (version %d.%d.%d)\n", gtk_major_version, gtk_minor_version, gtk_micro_version); } #endif /* defined (GTK_MAJOR_VERSION) ... */ 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:2094: cc -o conftest -O -Wall -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -O -I/usr/local/include -I/usr/X11R6/include conftest.c -L/usr/local/lib -L/usr/X11R6/lib -lxpg4 -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk11 -lgdk11 -L/usr/local/lib -lgmodule11 -lglib11 -lXext -lX11 -lm 1>&5 In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:23, from configure:2086: /usr/X11R6/include/gtk11/gdk/gdk.h:313: parse error before `GDestroyNotify' In file included from /usr/X11R6/include/gtk11/gtk/gtkobject.h:23, from /usr/X11R6/include/gtk11/gtk/gtkaccelgroup.h:27, from /usr/X11R6/include/gtk11/gtk/gtk.h:24, from configure:2086: /usr/X11R6/include/gtk11/gtk/gtkarg.h:64: parse error before `va_list' /usr/X11R6/include/gtk11/gtk/gtkarg.h:83: parse error before `arg_info_1' /usr/X11R6/include/gtk11/gtk/gtkarg.h:85: parse error before `arg_info' In file included from /usr/X11R6/include/gtk11/gtk/gtkaccelgroup.h:27, from /usr/X11R6/include/gtk11/gtk/gtk.h:24, from configure:2086: /usr/X11R6/include/gtk11/gtk/gtkobject.h:138: parse error before `GData' /usr/X11R6/include/gtk11/gtk/gtkobject.h:138: warning: no semicolon at end of struct or union /usr/X11R6/include/gtk11/gtk/gtkobject.h:285: parse error before `GDestroyNotify' /usr/X11R6/include/gtk11/gtk/gtkobject.h:311: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:314: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:318: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:320: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:322: parse error before `GQuark' /usr/X11R6/include/gtk11/gtk/gtkobject.h:340: parse error before `va_list' In file included from /usr/X11R6/include/gtk11/gtk/gtkmisc.h:24, from /usr/X11R6/include/gtk11/gtk/gtklabel.h:24, from /usr/X11R6/include/gtk11/gtk/gtkaccellabel.h:26, from /usr/X11R6/include/gtk11/gtk/gtk.h:25, from configure:2086: /usr/X11R6/include/gtk11/gtk/gtkwidget.h:165: field `object' has incomplete type In file included from /usr/X11R6/include/gtk11/gtk/gtkadjustment.h:24, from /usr/X11R6/include/gtk11/gtk/gtk.h:26, from configure:2086: /usr/X11R6/include/gtk11/gtk/gtkdata.h:46: field `object' has incomplete type In file included from /usr/X11R6/include/gtk11/gtk/gtkbin.h:24, from /usr/X11R6/include/gtk11/gtk/gtkalignment.h:24, from /usr/X11R6/include/gtk11/gtk/gtk.h:27, from configure:2086: /usr/X11R6/include/gtk11/gtk/gtkcontainer.h:206: parse error before `va_list' In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:38, from configure:2086: /usr/X11R6/include/gtk11/gtk/gtkclist.h:101: parse error before `gconstpointer' In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:42, from configure:2086: /usr/X11R6/include/gtk11/gtk/gtkctree.h:83: parse error before `GNode' /usr/X11R6/include/gtk11/gtk/gtkctree.h:195: parse error before `GNode' /usr/X11R6/include/gtk11/gtk/gtkctree.h:198: parse error before `*' /usr/X11R6/include/gtk11/gtk/gtkctree.h:199: parse error before `GNode' /usr/X11R6/include/gtk11/gtk/gtkctree.h:203: warning: data definition has no type or storage class In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:69, from configure:2086: /usr/X11R6/include/gtk11/gtk/gtkitemfactory.h:61: field `object' has incomplete type configure: failed program was: #line 2084 "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; } >How-To-Repeat: Try to install the port or an on which depends on it, say gtkicq or so. >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810261613.IAA24872>