Opened 11 years ago
Closed 11 years ago
#42016 closed defect (duplicate)
dsdp build failure, but I fixed it
Reported by: | jwhowse4 | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | haspatch | Cc: | |
Port: | dsdp |
Description
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.
Attachments (3)
Change History (4)
Changed 11 years ago by jwhowse4
Attachment: | dsdp_main.log added |
---|
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #35851.
Note: See
TracTickets for help on using
tickets.
Error log for dsdp build