Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2001 14:03:03 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Andreas Ntaflos <ntaflos.andreas@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gl.h and glu.h not around?
Message-ID:  <20011208140303.D37343@pcwin002.win.tue.nl>
In-Reply-To: <20011208135134.A71972@Deadcell.ANT>; from ntaflos.andreas@gmx.net on Sat, Dec 08, 2001 at 01:51:34PM %2B0100
References:  <20011207122820.A56626@Deadcell.ANT> <20011207113639.E9502-100000@cyclops.ehsrealtime.com> <20011207082117.A19621@freebsdportal.org> <20011207183111.C56626@Deadcell.ANT> <20011208002848.A36400@pcwin002.win.tue.nl> <20011208135134.A71972@Deadcell.ANT>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 08, 2001 at 01:51:34PM +0100, Andreas Ntaflos wrote:
> On Sat, Dec 08, 2001 at 12:28:48AM +0100, Stijn Hoop wrote:
> >
> > What is the output of
> > 
> > $ make -V XFREE86_VERSION
> 
> It is "4" indeed.

That's OK then.

> > if it is '4' then this makes sense - XFree86-4.x includes a version of Mesa
> > that provides the correct header files, so the Mesa port will only install
> > glut.h, whether you are running XFree86-4.x or XFree86-3.x.
>  
> But what with the ports that need the files in /usr/X11R6/include/GL? How
> do the know that XFree86-4.x has the correct header files? I am running
> XFree86-4.1 and have XFREE_VERSION="4" in /etc/make.conf. Obviously, those
> ports expect to find gl.h, glx.h and the other candidates to be in
> /usr/X11R6/include/GL but there is only glut.h. 

Yes, and they should be there if the XFree86-4 install was correct.

> > If you are running XFree86-3.x, you should remove the 'XFREE86_VERSION=4'
> > line from your /etc/make.conf and reinstall Mesa. Then it should work.
> > 
> > If you are running XFree86-4.x, something went wrong with your XFree
> > installation and you should forcefully reinstall that port/package.
> 
> What could it be that went wrong? I am somewhat confused with this.. 

I really don't know. What I do know is that they are there on my machine:

[stijn@firsa] <~> pkg_info -W /usr/X11R6/include/GL/gl.h
/usr/X11R6/include/GL/gl.h was installed by package XFree86-libraries-4.1.0

Although you might have x11/XFree86-4 installed instead of 
11/XFree86-4-libraries, it should still have that file:

[stijn@firsa] <~> grep gl.h /usr/ports/x11/XFree86-4/pkg-plist
include/GL/gl.h

Try to reinstall XFree and all ports should work again.

HTH,

--Stijn

-- 
Tact, n.:
	The unsaid part of what you're thinking.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011208140303.D37343>