[MacPorts] #42016: dsdp build failure, but I fixed it
MacPorts
noreply at macports.org
Fri Jan 3 15:44:25 PST 2014
#42016: dsdp build failure, but I fixed it
------------------------+--------------------------------
Reporter: jwhowse4@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: dsdp
------------------------+--------------------------------
On an Intel Mac Pro running Mountain Lion 10.8.5 and XCode 5.0.2 my dsdp
build fails with the attached error log. However, for me the attached
Portfile and patch file fix the problem and successfully build the
package. I am not entirely happy with this patch for two reasons.
1) The patch file includes the following line.
{{{
-LAPACKBLAS = -llapack -lblas -lg2c -lm
+LAPACKBLAS = -lm -L@@PREFIX@@/lib -llapack -lcblas -lf77blas -latlas
-L@@PREFIX@@/lib/gcc48 -lgfortran
}}}
This obviously works only when gcc48 is installed, but I am not sure how
to make it more flexible.
2) The fact that I had to link libgfortran suggests to me that perhaps the
whole thing such just be compiled with gcc rather than clang. I have not
tried to figure out the latest macports method for compiling packages with
gcc.
--
Ticket URL: <https://trac.macports.org/ticket/42016>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list