Opened 16 years ago
Closed 15 years ago
#18851 closed defect (fixed)
enblend 3.0 fails to build / glut-related
Reported by: | michael@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia), christoph.roschger@… | |
Port: | enblend |
Description
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@… $
$ port outdated No installed ports are outdated.
$ port clean --all enblend
$ port -dcuv install enblend --> See attached Transscript.
Attachments (2)
Change History (10)
Changed 16 years ago by michael@…
comment:2 Changed 16 years ago by mf2k (Frank Schima)
Cc: | jeremyhu@… added; michael@… removed |
---|
I see the same problem. This looks like an X11 issue. I'm Cc'ing Jeremy on this in case he has some insight.
comment:3 Changed 16 years ago 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 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?
Changed 16 years ago by dominik@…
Attachment: | patch_enblend-enfuse-32.diff added |
---|
Patch to update enblend-3.0 to enblend-enfuse-3.2
comment:4 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Owner: | changed from macports-tickets@… to jmr@… |
---|---|
Port: | glew added; enblend removed |
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)
comment:5 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
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)
comment:8 Changed 15 years ago by jmroot (Joshua Root)
Port: | enblend added; glew removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Not sure why this was assigned to me, but fixed in r56247.
Build log