Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2002 17:11:18 -0500
From:      Alan Eldridge <alane@geeksrus.net>
To:        Thomas Schuerger <schuerge@wjpserver.CS.Uni-SB.DE>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Mesa3 installation not working with XFree 4.x?
Message-ID:  <20020223221118.GA21314@wwweasel.geeksrus.net>
In-Reply-To: <200202232135.g1NLZtS20196@wjpserver.cs.uni-sb.de>
References:  <20020223202112.GA20121@wwweasel.geeksrus.net> <200202232135.g1NLZtS20196@wjpserver.cs.uni-sb.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 23, 2002 at 10:35:55PM +0100, Thomas Schuerger wrote:
>> This is correct. Mesa is not broken. The GL/*.h header files are
>> supplied by XFree86-4-libraries port, or by XFree86-4 mega-port (which
>> is going away).
>> 
>> Something is wrong with your XFree86-4 installation if the
>> /usr/X11R6/include/GL/*.h files are not present.
>
>My /usr/X11R6/include/GL directory contains:
>
>-r--r--r--  1 root  wheel   7828 Nov  4 23:44 GLwDrawA.h
>-r--r--r--  1 root  wheel   4433 Nov  4 23:44 GLwDrawAP.h
>-r--r--r--  1 root  wheel   2309 Nov  4 23:44 GLwMDrawA.h
>-r--r--r--  1 root  wheel   2311 Nov  4 23:44 GLwMDrawAP.h
>-r--r--r--  1 root  wheel  10509 Jun 10  2001 gle.h
>-r--r--r--  1 root  wheel  30028 Feb 23 11:57 glut.h
>-r--r--r--  1 root  wheel   2535 Nov  4 23:44 glxint.h
>-r--r--r--  1 root  wheel   2453 Nov  4 23:44 glxmd.h
>-r--r--r--  1 root  wheel  51727 Nov  4 23:44 glxproto.h
>-r--r--r--  1 root  wheel   8369 Nov  4 23:44 glxtokens.h
>
>So the required files like "glx.h" are not present. I installed the
>XFree86-4 (mega) port (XFree86-4.1.0_10) some months ago. Obviously
>something must have gone wrong then. Should I reinstall the port or
>try installing the libraries port?

If you have deleted an XF86-3 version of Mesa3 since you installed
XF86-4, that's what trashed your OpenGL support. The package database
doesn't keep track of who *really* owns a file.

So yes, you should pkg_delete -f -x XFree86 and then reinstall. I suggest
using the miniports(pkgs) but that's my own preference. Then reinstall the
Mesa3 port by building it locally.

Then rebuild locally anything that needs Mesa3, anything that needs
anything that needs Mesa3, etc. Be careful: if you tell portupgrade to
recursively build anything that depends on Mesa3, you'll be compiling
all of Qt, KDE, and Gnome, most likely, and that'll take a couple of
days, *if* it succeeds at all.

Notes:

1. Since the two versions of Mesa3 are not binary compatible, either,
this has bad implications for prebuilt packages.

2. I posted a while ago suggesting that separate package sets be built for
XFree86-3 and -4, but nothing came of it... not surprisingly, since it would
mean more complexity, even longer build cycles, and another big pile of
needed disk space on bento. 

3. Hopefully, the official X will change from 3 to 4 before
4.6. Having prebuilt packages that routinely either don't work or
screw up your system when they are uninstalled is A Bad Thing.

-- 
Alan Eldridge
"Dave's not here, man."

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




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