Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2000 12:34:33 -0400
From:      Will Andrews <andrews@technologist.com>
To:        Kent Stewart <kstewart@3-cities.com>
Cc:        FreeBSD Ports <freebsd-ports@FreeBSD.ORG>
Subject:   Re: Kdebase-1.1.2 build Error and Mesa-3.x Setup
Message-ID:  <20000511123433.E393@argon.blackdawn.com>
In-Reply-To: <3915B072.220234A7@3-cities.com>; from kstewart@3-cities.com on Sun, May 07, 2000 at 11:05:38AM -0700
References:  <3915B072.220234A7@3-cities.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 07, 2000 at 11:05:38AM -0700, Kent Stewart wrote:
> X11 and GL are handled. When XFree86 is built, it creates a link 
> "ln  -s  /usr/X11R6/include/X11  /usr/include/X11", which places the
> headers under /usr/include. Mesa-3.x doesn't do this and it causes a

Um, no.  XFree86 most certainly does not touch /usr/include, unless you
just so happen to NOT be using the port.  In which case, it's your problem.

> build error in kscreensave/morph3d.cpp because g++ can't find
> <GL/xmeasa.h>, <GL/gl.h>, and <GL/glx.h>. Until I figured out what the
> problem is I had to add 
> 
> ruby# cat patch-ba
> --- kscreensaver/Makefile.in~   Tue Sep  7 08:21:01 1999
> +++ kscreensaver/Makefile.in    Sat May  6 13:22:02 2000
> @@ -148,7 +148,7 @@
>  X_LDFLAGS = @X_LDFLAGS@
>  X_SERVER = @X_SERVER@
>  ac_xdmdir = @ac_xdmdir@
> -all_includes = @all_includes@
> +all_includes = @all_includes@ -I/usr/X11R6/include
>  all_libraries = @all_libraries@
>  install_root = @install_root@
>  kde_appsdir = @kde_appsdir@
> 
> I now think this is inappropriate and that the build error is really a
> problem with Mesa-3.x's setup. I think Mesa should be creating a link
> in /usr/include like XFree86-3.3.6 does. I just haven't figured out
> where to add
> "ln  -s  /usr/X11R6/include/GL  /usr/include/GL" to my local build
> setup for Mesa-3.2. I added it manually and it does fix the build
> error in kdebase-1.1.2

Most likely the error you are seeing is actually with the Qt build.  I am
going to remove GL from the "required dependencies" for Qt and make this
problem moot. But in any case, the real problem you have is not using the
XFree86/XFree86-4 port to install X11. And if you're using XFree86 4.0,
problems with GL are to be expected due to the stupidity of the X11 people,
who decided to include only certain parts of the GL includes in their
distribution, forcing people to install conflicting GL software.

Thus, this is not my problem (as the Qt maintainer and kdebase11
pseudo-maintainer).

-- 
Will Andrews <andrews@technologist.com>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?


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?20000511123433.E393>