[OS X TeX] Building Asymptote with OpenGL support

Peter Dyballa Peter_Dyballa at Web.DE
Mon Nov 10 15:06:48 EST 2008


Am 08.11.2008 um 07:32 schrieb Jean-Claude DE SOZA:

> Freeglut looks for some libraries it doesn't find. I made a symlink  
> in /usr/local/include targeting the GL directory which is in  /usr/ 
> X11/include.


It's better to create environment variables like CFLAGS or CPPFLAGS  
that contain an element like -I/usr/X11/include. You could also  
simply invoke:

	env CPPFLAGS=-I/usr/X11/include ./configure ...


An improved strategy is to report this to the author(s) or maintainer 
(s) telling that on Mac OS X X11 and OpenGL C header files can be  
found in /usr/X11/include or in /usr/X11R6/include (before Leopard)  
that the configure script finds the C header files after next update.

Creating that /usr/local/include sym-link can introduce problems like  
C header files installed in /usr/X11/include, possibly overwriting  
existing ones ...

--
Greetings

   Pete

Build a man a fire and he'll be warm for a night, but set a man on  
fire and he'll be warm for the rest of his life.





More information about the MacOSX-TeX mailing list