From owner-freebsd-questions Sat Oct 9 12:10:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kremvax.demos.su (kremvax.demos.su [194.87.0.20]) by hub.freebsd.org (Postfix) with ESMTP id 999D515431 for ; Sat, 9 Oct 1999 12:10:28 -0700 (PDT) (envelope-from sinbin.demos.su!yormungandr.demos.su!mishania@kremvax.demos.su) Received: by kremvax.demos.su (8.6.13/D) from 0@sinbin.demos.su [194.87.5.31] for with ESMTP id XAA23934; Sat, 9 Oct 1999 23:10:25 +0400 Received: from yormungandr.demos.su by sinbin.demos.su with ESMTP id XAA96699; (8.6.12/D) Sat, 9 Oct 1999 23:09:55 +0400 Received: (from mishania@localhost) by yormungandr.demos.su (8.9.3/8.9.2) id XAA91540 for questions@freebsd.org; Sat, 9 Oct 1999 23:08:45 +0400 (MSD) (envelope-from mishania) Date: Sat, 9 Oct 1999 23:08:45 +0400 From: "Mikhail A. Sokolov" To: questions@freebsd.org Subject: GTK+ failures to be detected. Message-ID: <19991009230845.A91126@demos.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i X-Point-of-View: Gravity is myth, - the earth sucks. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, whilst compiling ports, such as wmakerconf, as for instance, xmms or whatever would need gtk+ >1.2.x I come up with a failure of this toolkit to be detected, no matter what gtk version is installed. Checked are: 1.2.{0-5}. However, glib, which comes in the package will do ok, no matter how is GTK installed, from ports or manually. Looks somewhat similiar to PR ports/8490 by Bill Fumerola, ID <199810292102.QAA07692@jade.chc-chimes.com>, although it's refering to 1.1.2. That's from patched 1.2.5 (patches are to keep the installation as suggested by Cris Piazza (?) so that different 2nd level GTK versions reside in appropriate places in X11R6 and /usr/local/ hierarchies): *** 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/gtk-config configure: error: *** GTK >= 1.2.0 not installed - please install first *** file !$ file /usr/X11R6/lib/libgtk12.* /usr/X11R6/lib/libgtk12.a: current ar archive /usr/X11R6/lib/libgtk12.so: symbolic link to libgtk12.so.2 /usr/X11R6/lib/libgtk12.so.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped configure:1976: cc -o conftest -Os -pipe -I/usr/X11R6/include/gtk12 -I/usr/local /include -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/X11R6/include/X11 -I/usr/openwi n/include -I/usr/local/include -L/usr/local/lib -L/usr/X11/lib -L/usr/X11R6/lib -L/usr/openwin/lib -L/usr/local/lib conftest.c -lPropList -lm -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk -L/usr/local/lib -lgmodule12 -lglib12 -lintl -lxpg 4 -lXext -lX11 -lm 1>&5 In file included from /usr/X11R6/include/gtk12/gtk/gtk.h:31, from configure:1968: /usr/X11R6/include/gtk12/gdk/gdk.h:67: parse error before `GDestroyNotify' /usr/X11R6/include/gtk12/gdk/gdk.h:392: parse error before `GDestroyNotify' /usr/X11R6/include/gtk12/gdk/gdk.h:996: parse error before `*' /usr/X11R6/include/gtk12/gdk/gdk.h:996: warning: data definition has no type or storage class In file included from /usr/X11R6/include/gtk12/gtk/gtkobject.h:31, from /usr/X11R6/include/gtk12/gtk/gtkaccelgroup.h:35, from /usr/X11R6/include/gtk12/gtk/gtk.h:32, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkarg.h:74: parse error before `va_list' /usr/X11R6/include/gtk12/gtk/gtkarg.h:93: parse error before `arg_info_1' /usr/X11R6/include/gtk12/gtk/gtkarg.h:95: parse error before `arg_info' In file included from /usr/X11R6/include/gtk12/gtk/gtkaccelgroup.h:35, from /usr/X11R6/include/gtk12/gtk/gtk.h:32, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkobject.h:146: parse error before `GData' /usr/X11R6/include/gtk12/gtk/gtkobject.h:146: warning: no semicolon at end of st ruct or union /usr/X11R6/include/gtk12/gtk/gtkobject.h:329: parse error before `GQuark' /usr/X11R6/include/gtk12/gtk/gtkobject.h:332: parse error before `GQuark' /usr/X11R6/include/gtk12/gtk/gtkobject.h:336: parse error before `GQuark' /usr/X11R6/include/gtk12/gtk/gtkobject.h:338: parse error before `GQuark' /usr/X11R6/include/gtk12/gtk/gtkobject.h:340: parse error before `GQuark' /usr/X11R6/include/gtk12/gtk/gtkobject.h:357: parse error before `va_list' In file included from /usr/X11R6/include/gtk12/gtk/gtkadjustment.h:32, from /usr/X11R6/include/gtk12/gtk/gtkwidget.h:33, from /usr/X11R6/include/gtk12/gtk/gtkmisc.h:32, from /usr/X11R6/include/gtk12/gtk/gtklabel.h:31, from /usr/X11R6/include/gtk12/gtk/gtkaccellabel.h:34, from /usr/X11R6/include/gtk12/gtk/gtk.h:33, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkdata.h:53: field `object' has incomplete type In file included from /usr/X11R6/include/gtk12/gtk/gtkmisc.h:32, from /usr/X11R6/include/gtk12/gtk/gtklabel.h:31, from /usr/X11R6/include/gtk12/gtk/gtkaccellabel.h:34, from /usr/X11R6/include/gtk12/gtk/gtk.h:33, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkwidget.h:174: field `object' has incomplete type In file included from /usr/X11R6/include/gtk12/gtk/gtkbin.h:32, from /usr/X11R6/include/gtk12/gtk/gtkalignment.h:32, from /usr/X11R6/include/gtk12/gtk/gtk.h:35, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkcontainer.h:219: parse error before `va_list' In file included from /usr/X11R6/include/gtk12/gtk/gtkcalendar.h:33, from /usr/X11R6/include/gtk12/gtk/gtk.h:44, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtksignal.h:157: parse error before `GDestroyNotify ' from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkwidget.h:174: field `object' has incomplete type In file included from /usr/X11R6/include/gtk12/gtk/gtkbin.h:32, from /usr/X11R6/include/gtk12/gtk/gtkalignment.h:32, from /usr/X11R6/include/gtk12/gtk/gtk.h:35, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkcontainer.h:219: parse error before `va_list' In file included from /usr/X11R6/include/gtk12/gtk/gtkcalendar.h:33, from /usr/X11R6/include/gtk12/gtk/gtk.h:44, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtksignal.h:157: parse error before `GDestroyNotify ' In file included from /usr/X11R6/include/gtk12/gtk/gtk.h:47, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkclist.h:127: parse error before `gconstpointer' In file included from /usr/X11R6/include/gtk12/gtk/gtk.h:52, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkctree.h:96: parse error before `GNode' /usr/X11R6/include/gtk12/gtk/gtkctree.h:198: parse error before `GNode' /usr/X11R6/include/gtk12/gtk/gtkctree.h:201: parse error before `*' /usr/X11R6/include/gtk12/gtk/gtkctree.h:202: parse error before `GNode' /usr/X11R6/include/gtk12/gtk/gtkctree.h:206: warning: data definition has no typ e or storage class In file included from /usr/X11R6/include/gtk12/gtk/gtk.h:80, from configure:1968: /usr/X11R6/include/gtk12/gtk/gtkitemfactory.h:67: field `object' has incomplete type configure: failed program was: #line 1966 "configure" #include "confdefs.h" #include #include int main() { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } I am not on the list, please Cc:. -- -mishania To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message