[MacPorts] #18851: enblend 3.0 fails to build / glut-related
#18851: enblend 3.0 fails to build / glut-related ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: enblend ----------------------------------+----------------------------------------- Hello everyone, For some while now I can't build the enblend port. Today I have updated my Macports tree and updated all installed ports, but enblend still fails to build with glut.h-related messages. The system is MacOSX 10.5.6 and Macports 1.7 The Portfile for enblend is: # $Id: Portfile 47383 2009-02-27 20:59:18Z jeremyhu@macports.org $ $ port outdated No installed ports are outdated. $ port clean --all enblend $ port -dcuv install enblend --> See attached Transscript. -- Ticket URL: <http://trac.macports.org/ticket/18851> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18851: enblend 3.0 fails to build / glut-related ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: enblend ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * cc: michael@… (removed) * cc: jeremyhu@… (added) Comment: I see the same problem. This looks like an X11 issue. I'm Cc'ing Jeremy on this in case he has some insight. -- Ticket URL: <http://trac.macports.org/ticket/18851#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18851: enblend 3.0 fails to build / glut-related ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: enblend ----------------------------------+----------------------------------------- Comment(by dominik@…): Last year I started toying around with enblend (and the - then new - enfuse). I never got the GPU support to work properly, so I usually disabled it. My main focus back then was creating a "standalone" version, I tried to [http://dev.ultravelours.com/ports/enblend/ document that]. I didn't explore that any further, as some things started to fall apart (mainly because of non-working universal variants). With a few tweaks (the cd command is no longer supported) I was able to build a current CVS snapshot with my portfile. I'm attaching a diff for the portfile, which should bring the enblend port to version 3.2, including enfuse. I'm not a programmer, so maybe someone more savvy with TCL and the MacPorts system should have a look at it. I don't have GLUT and GLEW installed, so the configure script disables those options automatically. There should be some explicit configure.args-append directive for that (I didn't try --without-glut or --without-x). This doesn't solve the problem with GLUT and GLEW mentioned in this ticket, but it should enable people to build a working enblend (and enfuse). Did anybody try the GPU-enabled versions and do they really speed up blending/fusing? -- Ticket URL: <http://trac.macports.org/ticket/18851#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18851: enblend 3.0 fails to build / glut-related ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: glew ----------------------------------+----------------------------------------- Changes (by jeremyhu@…): * owner: macports-tickets@… => jmr@… * port: enblend => glew Comment: This isn't really an X11 issue. The problem is that it's trying to use a CGL libGLEW and a GLX libGL and libglut. My suggestion is to change the glew port to have a no_x11 variant to install the CGL version and provide a GLX version by default. {{{ $ otool -L /opt/local/var/macports/software/glew/1.5.1_0/opt/local/lib/libGLEW.* /opt/local/var/macports/software/glew/1.5.1_0/opt/local/lib/libGLEW.1.5.1.dylib: /opt/local/lib/libGLEW.1.5.1.dylib (compatibility version 0.0.0, current version 0.0.0) /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3) /opt/local/var/macports/software/glew/1.5.1_0/opt/local/lib/libGLEW.1.5.dylib: /opt/local/lib/libGLEW.1.5.1.dylib (compatibility version 0.0.0, current version 0.0.0) /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3) Archive : /opt/local/var/macports/software/glew/1.5.1_0/opt/local/lib/libGLEW.a /opt/local/var/macports/software/glew/1.5.1_0/opt/local/lib/libGLEW.a(glew.o): /opt/local/var/macports/software/glew/1.5.1_0/opt/local/lib/libGLEW.dylib: /opt/local/lib/libGLEW.1.5.1.dylib (compatibility version 0.0.0, current version 0.0.0) /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3) }}} -- Ticket URL: <http://trac.macports.org/ticket/18851#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18851: enblend 3.0 fails to build / glut-related ----------------------------------+----------------------------------------- Reporter: michael@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: glew ----------------------------------+----------------------------------------- Comment(by jeremyhu@…): Or we should rename the glew port to something like glew_cgl and just bump the version of mesa to 7.3 which will provide glew (I wanted to wait for 7.4 for this though) -- Ticket URL: <http://trac.macports.org/ticket/18851#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18851: enblend 3.0 fails to build / glut-related -----------------------------------+---------------------------------------- Reporter: michael@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: enblend | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed * port: glew => enblend Comment: Not sure why this was assigned to me, but fixed in r56247. -- Ticket URL: <http://trac.macports.org/ticket/18851#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts