From owner-freebsd-questions Mon Aug 23 23:29:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by hub.freebsd.org (Postfix) with ESMTP id 84E5115082 for ; Mon, 23 Aug 1999 23:28:17 -0700 (PDT) (envelope-from ross@gilliam.users.flyingcroc.net) Received: (from ross@localhost) by gilliam.users.flyingcroc.net (8.9.3/8.9.3) id XAA04533; Mon, 23 Aug 1999 23:28:06 -0700 (PDT) Date: Wed, 18 Aug 1999 11:04:32 -0700 (PDT) Message-Id: <199908240628.XAA04533@gilliam.users.flyingcroc.net> From: "Jason J. Horton" To: freebsd-questions@FreeBSD.ORG Subject: gtk port problems Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am having problems with GTK, both the version in /usr/ports and with the versions grabbed from gtk.org. Whenever I run 'configure' when trying to install a gtk app that is not in ports, I get errors like these: checking for gtk-config... /usr/local/bin/gtk-config checking for GTK - version >= 1.0.0... 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/local/bin/gtk-config configure: error: No GTK found. Set the path right or install it. and in config.log I find this: configure:1099: checking for gtk-config configure:1130: checking for GTK - version >= 1.0.0 configure:1230: gcc -o conftest -g -O2 -I/usr/X11R6/include -I/usr/local/lib/glib/include -I/usr/local/include -DGTK_VERSION=10203 conftest.c -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -lXi -lXext -lX11 -lm 1>&5 In file included from /usr/local/include/gtk/gtk.h:31, from configure:1166: /usr/local/include/gdk/gdk.h:67: parse error before `GDestroyNotify' /usr/local/include/gdk/gdk.h:392: parse error before `GDestroyNotify' /usr/local/include/gdk/gdk.h:997: parse error before `*' /usr/local/include/gdk/gdk.h:997: warning: data definition has no type or storage class In file included from /usr/local/include/gtk/gtkobject.h:31, from /usr/local/include/gtk/gtkaccelgroup.h:35, from /usr/local/include/gtk/gtk.h:32, from configure:1166: /usr/local/include/gtk/gtkarg.h:74: parse error before `va_list' /usr/local/include/gtk/gtkarg.h:93: parse error before `arg_info_1' /usr/local/include/gtk/gtkarg.h:95: parse error before `arg_info' In file included from /usr/local/include/gtk/gtkaccelgroup.h:35, from /usr/local/include/gtk/gtk.h:32, from configure:1166: /usr/local/include/gtk/gtkobject.h:146: parse error before `GData' /usr/local/include/gtk/gtkobject.h:146: warning: no semicolon at end of struct or union /usr/local/include/gtk/gtkobject.h:329: parse error before `GQuark' /usr/local/include/gtk/gtkobject.h:332: parse error before `GQuark' /usr/local/include/gtk/gtkobject.h:336: parse error before `GQuark' /usr/local/include/gtk/gtkobject.h:338: parse error before `GQuark' /usr/local/include/gtk/gtkobject.h:340: parse error before `GQuark' /usr/local/include/gtk/gtkobject.h:357: parse error before `va_list' In file included from /usr/local/include/gtk/gtkadjustment.h:32, from /usr/local/include/gtk/gtkwidget.h:33, from /usr/local/include/gtk/gtkmisc.h:32, from /usr/local/include/gtk/gtklabel.h:31, from /usr/local/include/gtk/gtkaccellabel.h:34, from /usr/local/include/gtk/gtk.h:33, from configure:1166: /usr/local/include/gtk/gtkdata.h:53: field `object' has incomplete type In file included from /usr/local/include/gtk/gtkmisc.h:32, from /usr/local/include/gtk/gtklabel.h:31, from /usr/local/include/gtk/gtkaccellabel.h:34, from /usr/local/include/gtk/gtk.h:33, from configure:1166: /usr/local/include/gtk/gtkwidget.h:174: field `object' has incomplete type In file included from /usr/local/include/gtk/gtkbin.h:32, from /usr/local/include/gtk/gtkalignment.h:32, from /usr/local/include/gtk/gtk.h:35, from configure:1166: /usr/local/include/gtk/gtkcontainer.h:217: parse error before `va_list' In file included from /usr/local/include/gtk/gtkcalendar.h:33, from /usr/local/include/gtk/gtk.h:44, from configure:1166: /usr/local/include/gtk/gtksignal.h:157: parse error before `GDestroyNotify' In file included from /usr/local/include/gtk/gtk.h:47, from configure:1166: /usr/local/include/gtk/gtkclist.h:128: parse error before `gconstpointer' In file included from /usr/local/include/gtk/gtk.h:52, from configure:1166: /usr/local/include/gtk/gtkctree.h:96: parse error before `GNode' /usr/local/include/gtk/gtkctree.h:198: parse error before `GNode' /usr/local/include/gtk/gtkctree.h:201: parse error before `*' /usr/local/include/gtk/gtkctree.h:202: parse error before `GNode' /usr/local/include/gtk/gtkctree.h:206: warning: data definition has no type or storage class In file included from /usr/local/include/gtk/gtk.h:80, from configure:1166: /usr/local/include/gtk/gtkitemfactory.h:67: field `object' has incomplete type Does anyone have any helpful tips for getting GTK to work? -J To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message