[MacPorts] #13560: gwyddion 2.9 fails to build
MacPorts
trac at macosforge.org
Tue Dec 11 16:28:58 PST 2007
#13560: gwyddion 2.9 fails to build
-------------------------------------+--------------------------------------
Reporter: swebster at physics.ubc.ca | Owner: macports-dev at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Keywords: gwyddion |
-------------------------------------+--------------------------------------
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
}}}
--
Ticket URL: <https://svn.macosforge.org/projects/macports/ticket/13560>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list