Subject: pkg/25353: freeglut does not build on some NetBSD systems; can't find GL/*.h
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rkr@olib.org>
List: pkgsrc-bugs
Date: 04/27/2004 18:23:55
>Number: 25353
>Category: pkg
>Synopsis: freeglut does not build on some NetBSD systems; can't find GL/*.h
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 27 18:24:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Richard Rauch
>Release: NetBSD/i386 1.6
>Organization:
n/a
>Environment:
NetBSD atlas 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19:43:40 UTC 2002 autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386
pkgsrc was recently updated via anoncvs.
>Description:
When attempting to build freeglut from pkgsrc, the build fails. The
error message says that it cannot find GL/gl.h or GL/glx.h.
It is able to find GL/glu.h, it seems.
The system has both /usr/X11R6/include/GL/gl{,x}.h from the system
install *and* /usr/pkg/include/GL/gl{,x}.h from pkgsrc's Mesa package.
The package *is* able to find the glu.h header.
Interestingly, this problem does not affect some systems. A laptop
running -current (pre-2.0 userland, post-2.0 kernel) builds it
cleanly, for example.
./configure can be seen to fail to find working gl.h, glx.h or glu.h.
>How-To-Repeat:
On a "suitable system" attempt to build freeglut from pkgsrc.
>Fix:
I'm not sure why it's failing. I have no workaround.
>Release-Note:
>Audit-Trail:
>Unformatted: