#13560 closed defect (fixed)
gwyddion 2.9 fails to build
Reported by: | swebster@… | Owned by: | rowue@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | gwyddion | Cc: | yeti@…, rowue (Rolf Würdemann) |
Port: |
Description
Trying to upgrade the gwyddion port to version 2.9_0 fails on Leopard 10.5.1.
I fixed the problem by adding the following line (all one line) to the end of the Portfile:
configure.ldflags -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
I don't really know what this does, just found it on some fink page.
I'll try to attach a copy of the build output... but the build error ends with:
ld: warning, duplicate dylib /usr/X11/lib/libX11.6.dylib ld: warning, duplicate dylib /usr/X11/lib/libSM.6.dylib ld: warning, duplicate dylib /usr/X11/lib/libICE.6.dylib ld: warning, duplicate dylib /usr/X11/lib/libGLU.1.dylib ld: warning, duplicate dylib /usr/X11/lib/libGL.1.dylib ld: warning, duplicate dylib /usr/X11/lib/libXmu.6.dylib ld: warning, duplicate dylib /usr/X11/lib/libXt.6.dylib ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib collect2: ld returned 1 exit status make[3]: *** [gwyddion] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1
Attachments (2)
Change History (9)
Changed 17 years ago by swebster@…
Attachment: | gwyderror.rtf added |
---|
comment:1 Changed 17 years ago by swebster@…
By the way, I also tried uninstalling gwyddion and reinstalling it instead of upgrading, but that didn't make a difference.
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | yeti@… rowue@… added |
---|
comment:3 Changed 17 years ago by yeti@…
I can't check this, but it does not seem to be Gwyddion-specific, more packages using X11 apparently fail to build on Leopard. People solve it by tweaking linker flags, see for instance this Fink thread:
http://www.mail-archive.com/fink-devel@lists.sourceforge.net/msg16066.html
Changed 17 years ago by rowue (Rolf Würdemann)
Portfile which excludes gl extensions for leopard
comment:4 Changed 17 years ago by rowue (Rolf Würdemann)
comment:5 Changed 17 years ago by rowue@…
Owner: | changed from macports-tickets@… to rowue@… |
---|
comment:6 Changed 17 years ago by rowue@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Workaround committed by r32909
output of upgrade command