Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2000 16:06:55 +0200
From:      Norbert Irmer <norbert.irmer@heim9.tu-clausthal.de>
To:        nectar@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Problems building ports/x11-toolkits/wxGTK
Message-ID:  <39536EFF.215A7623@heim9.tu-clausthal.de>

next in thread | raw e-mail | index | archive | help
Hello,

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

  <X11/XKBlib.h>

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)

The opengl header file <GL/gl.h> is also not found, and
the link test with "libGL" or "libMesaGL" fails too.

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!)  

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"

CONFIGURE_ARGS= "--with-opengl=yes"





-- 
email: norbert.irmer@heim9.tu-clausthal.de
web: http://gul.sourceforge.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39536EFF.215A7623>