[MacPorts] #23210: mesa fails to build due to external headers
#23210: mesa fails to build due to external headers ------------------------------------+--------------------------------------- Reporter: probono@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: puredarwin | Port: mesa ------------------------------------+--------------------------------------- mesa fails to build on a [http://www.puredarwin.org/ PureDarwin] 9 system. Is there a way to change this port in a way that doesn't rely on headers that are outside of MacPorts? {{{ make[2]: Nothing to be done for `default'. make[4]: `../../../lib/libGLU.dylib' is up to date. make[2]: Nothing to be done for `default'. Making programs for darwin DEBUG: Executing proc-post-org.macports.build-build-0 /usr/bin/gcc-4.0 -I. -Iinclude -Iinclude/internal -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DGLX_USE_APPLEGL -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa/files/include -O2 -arch i386 -c glxext.c In file included from include/GL/glx.h:45, from glxclient.h:45, from glxext.c:41: include/GL/gl.h:53:68: error: /System/Library/Frameworks/OpenGL.framework/Headers/gl.h: No such file or directory In file included from include/GL/gl.h:80, from include/GL/glx.h:45, from glxclient.h:45, from glxext.c:41: include/GL/glext.h:4491: error: syntax error before 'red' }}} -- Ticket URL: <http://trac.macports.org/ticket/23210> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23210: mesa fails to build due to external headers -------------------------------------+-------------------------------------- Reporter: probono@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: puredarwin Port: mesa | -------------------------------------+-------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: Yes, don't use the (on by default) hw_render variant. sudo port -v install mesa -hw_render -- Ticket URL: <http://trac.macports.org/ticket/23210#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23210: mesa fails to build due to external headers -------------------------------------+-------------------------------------- Reporter: probono@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: puredarwin Port: mesa | -------------------------------------+-------------------------------------- Comment(by probono@…): Thanks jeremyhu, with -hw_render it works. Is it possible to add a "puredarwin" variant that sets -hw_render automatically? (Unfortunately I couldn't figure out from the docs how to achieve this.) -- Ticket URL: <http://trac.macports.org/ticket/23210#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts