Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 1999 11:04:32 -0700 (PDT)
From:      "Jason J. Horton" <jason@intercom.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   gtk port problems
Message-ID:  <199908240628.XAA04533@gilliam.users.flyingcroc.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908240628.XAA04533>