#13517: gtkglext 1.2 configure: error -- build failure OSX 10.5 -----------------------------------------+---------------------------------- Reporter: michaelt@… | Owner: rowue@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: | Keywords: gtkglext gwyddion mesa Port: gtkglext | -----------------------------------------+---------------------------------- Comment(by jeremyhu@…): ok, those warlings from Xlib are just that... warnings. They're there to let you know that the server doesn't support some extensions that Xlib knows about (so some features are disabled). The *real* reason for you not having GL support is that it can't find a visual. This is odd. Here is a patch to mesa that will build and install glxgears and glxinfo: {{{ Index: Portfile =================================================================== --- Portfile (revision 47377) +++ Portfile (working copy) @@ -73,9 +73,11 @@ } # This next hunk supports building -system_x11 mesa on a system that is otherwise +system_x11 - if {! [file exists ${prefix}/lib/libX11.dylib]} { - build.args-append X11_DIR=${x11prefix} - destroot.args-append X11_DIR=${x11prefix} + pre-build { + if {! [file exists ${prefix}/lib/libX11.dylib]} { + build.args-append X11_DIR=${x11prefix} + destroot.args-append X11_DIR=${x11prefix} + } } } @@ -85,11 +87,12 @@ #} post-build { - system "cd ${worksrcpath}/../AppleSGLX-${ASGLX_version} && ${build.cmd} builds/libGL.1.2.dylib ${build.args} LDFLAGS='${configure.ldflags}' CFLAGS='${configure.cppflags} ${configure.cflags}' INSTALL_DIR='${prefix}'" + system "cd ${worksrcpath}/../AppleSGLX-${ASGLX_version} && ${build.cmd} programs ${build.args} LDFLAGS='${configure.ldflags}' CFLAGS='${configure.cppflags} ${configure.cflags}' INSTALL_DIR='${prefix}'" } post-destroot { system "cd ${worksrcpath}/../AppleSGLX-${ASGLX_version} && ${destroot.cmd} ${destroot.target} ${destroot.destdir} ${destroot.args} INSTALL_DIR='${prefix}'" + system "cd ${worksrcpath}/../AppleSGLX-${ASGLX_version} && ${destroot.cmd} install_programs ${destroot.destdir} ${destroot.args} INSTALL_DIR='${prefix}'" delete ${destroot}${prefix}/include/GL/glxint.h delete ${destroot}${prefix}/include/GL/glxmd.h delete ${destroot}${prefix}/include/GL/glxproto.h }}} -- Ticket URL: <http://trac.macports.org/ticket/13517#comment:47> MacPorts <http://www.macports.org/> Ports system for Mac OS