pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43215: x11/wxGTK24 doesn't find openGL libraries on X11R7-only systems
>Number: 43215
>Category: pkg
>Synopsis: x11/wxGTK24 doesn't find openGL libraries on X11R7-only systems
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 28 00:40:01 +0000 2010
>Originator: John D. Baker
>Release: NetBSD-5.1_RC1/i386, pkgsrc-2010Q1
>Organization:
>Environment:
NetBSD slate.technoskunk.fur 5.1_RC1 NetBSD 5.1_RC1 (SLATE) #3: Mon Apr 26
23:05:01 CDT 2010
sysop%slate.technoskunk.fur@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/SLATE
i386
>Description:
On any system which has "/usr/X11R7/" but empty "/usr/X11R6/" trees,
Configuring x11/wxGTK24 fails as follows:
[...]
checking for GL/gl.h... yes
checking for -lGL... no
checking for -lMesaGL... no
configure: error: OpenGL libraries not available
*** Error code 1
[...]
>How-To-Repeat:
Attempt to build x11/wxGTK24 on any system which has "X11R7" but not
"X11R6".
>Fix:
In the "configure" script, the SEARCH_INCLUDE variable which is
transformed into the SEARCH_LIB variable, lacks any reference to
"/usr/X11R7/include" which would then become "/usr/X11R7/lib"--the
location of openGL libraries.
Following "make patch", modify:
$WRKOBJDIR/x11/wxGTK24/work/wxGTK-2.4.2/configure
as follows:
--- wxGTK-2.4.2/configure.orig2 2010-04-27 19:24:36.000000000 -0500
+++ wxGTK-2.4.2/configure 2010-04-27 19:26:34.000000000 -0500
@@ -11452,6 +11452,7 @@ SEARCH_INCLUDE="\
\
/usr/include/Xm \
\
+ /usr/X11R7/include \
/usr/X11R6/include \
/usr/X11R6.4/include \
/usr/X11R5/include \
Ideally, the relevant patch files should be updated to include this
modification
Home |
Main Index |
Thread Index |
Old Index