Date: Sun, 07 May 2000 11:05:38 -0700 From: Kent Stewart <kstewart@3-cities.com> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Kdebase-1.1.2 build Error and Mesa-3.x Setup Message-ID: <3915B072.220234A7@3-cities.com>
next in thread | raw e-mail | index | archive | help
I have been trying to build kdebase-1.1.2 and was having problems. It turns out that it is a misfit between how the header directories for 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 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 Kent -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ 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?3915B072.220234A7>