From owner-freebsd-questions Wed Aug 18 11: 2:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from c004.sfo.cp.net (c004-h005.c004.sfo.cp.net [209.228.14.76]) by hub.freebsd.org (Postfix) with SMTP id 865F014FF0 for ; Wed, 18 Aug 1999 11:02:53 -0700 (PDT) (envelope-from jason@intercom.com) Received: (cpmta 8803 invoked from network); 18 Aug 1999 11:03:28 -0700 Received: from shagalicious.com (HELO intercom.com) (206.98.165.250) by smtp.intercom.com with SMTP; 18 Aug 1999 11:03:28 -0700 X-Sent: 18 Aug 1999 18:03:28 GMT Message-ID: <37BAF5A9.F52812B7@intercom.com> Date: Wed, 18 Aug 1999 14:04:25 -0400 From: "Jason J. Horton" Organization: Intercom Online Inc. X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: gtk port problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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