From owner-freebsd-ports Fri Jun 23 7:40:42 2000 Delivered-To: freebsd-ports@freebsd.org Received: from gw.nectar.com (gw.nectar.com [209.98.143.44]) by hub.freebsd.org (Postfix) with ESMTP id 2B43F37B938; Fri, 23 Jun 2000 07:40:34 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from bone.nectar.com (bone.nectar.com [10.0.1.105]) by gw.nectar.com (Postfix) with ESMTP id D55A99B36; Fri, 23 Jun 2000 09:40:32 -0500 (CDT) Received: by bone.nectar.com (Postfix, from userid 1001) id A1B101DC6; Fri, 23 Jun 2000 09:40:31 -0500 (CDT) Date: Fri, 23 Jun 2000 09:40:31 -0500 From: "Jacques A . Vidrine" To: Norbert Irmer Cc: current@FreeBSD.ORG, freebsd-ports@freebsd.org Subject: Re: Problems building ports/x11-toolkits/wxGTK Message-ID: <20000623094031.G76049@bone.nectar.com> Reply-To: freebsd-ports@freebsd.org Mail-Followup-To: "Jacques A . Vidrine" , Norbert Irmer , current@FreeBSD.ORG, freebsd-ports@freebsd.org References: <39536EFF.215A7623@heim9.tu-clausthal.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39536EFF.215A7623@heim9.tu-clausthal.de>; from norbert.irmer@heim9.tu-clausthal.de on Fri, Jun 23, 2000 at 04:06:55PM +0200 X-Url: http://www.nectar.com/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Please send followups to -ports, where this belongs.] On Fri, Jun 23, 2000 at 04:06:55PM +0200, Norbert Irmer wrote: > I tried to build the wxGTK-2.1.16 port, and noticed that > a few AC_CHECK(..) macros in the configure script > don't work. > > The first header file which is not found is > > > > because on FreeBSD systems there is no link > > /usr/include/X11 -> /usr/X11R6/include > > (shouldn't there be such a link ? - i heard this is a standard) No, there should not be a link from /usr/include/X11 -> /usr/X11R6/include. However, I guess there is a bug in the configure script. At that point configure has already found the X11 include files, but then it doesn't use them (see around line 1445 of `configure.in' for all of the directories searched for X11 header files). I'll fix when I get the chance. Hmm, wxGTK doesn't use this information anyway (no reference to HAVE_X11_XKBLIB_H in the sources). > The opengl header file is also not found, and > the link test with "libGL" or "libMesaGL" fails too. It fails for the same reasons as the test for . > And shouldn't there be a line in the Makefile of the port > which shows how to compile wxGTK with opengl support ? > (it took me an hour to find out how to do this!) I suppose it would be nice if there was a WANT_OPENGL knob. I'll add one. > So i would propose to make the following changes to the > ports Makefile: > > > CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"\ > CCFLAGS="-I/usr/X11R6/include"\ > LDFLAGS="-L/usr/X11R6/lib" That's a quickie fix. I'll try to see what is wrong with the configure script so we can send the fix back to the author. > CONFIGURE_ARGS= "--with-opengl=yes" One would have to include dependencies for Mesa as well, which is why I'll wrap such with a WANT_OPENGL knob. Thanks for your report, -- Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message