Opened 12 years ago

Closed 10 years ago

#35195 closed defect (duplicate)

sextractor @2.8.6 Configure error with latest atlas

Reported by: bjohnson@… Owned by: tim@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: rbonser@…
Port: sextractor

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On Mac 10.6.8, Xcode 3.2.6, when executing sudo port upgrade outdated I receive the following:

Error: org.macports.configure for port sextractor returned: configure failure: command execution failed

looking at the main.log yields:

:info:configure checking for clapack_dpotrf in -llapack... no
:info:configure checking for cblas_dgemm in -lcblas... yes
:info:configure checking for clapack_dpotrf in -llapack... no
:info:configure checking for cblas_dgemm in -lcblas... yes
:info:configure configure: error: CBLAS/LAPack library files not found in /opt/local/lib! Exiting.

so the sextractor configure is bombing. some digging suggests that this is due to the new version of atlas (@3.9.84) which has different library names. According to comments on http://okomestudio.net/biboroku/?p=824 replacing -llapack, -lcblas, -ltpcblas and -latlas in the sextractor configure file with -ltatlas should solve the problem when using recent atlas versions. It is successful if done to the configure script in the 'build/...' directories. I'm not sure how to do this in the portfile

Change History (7)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: tim@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to tim@…
Summary: sextractor @2.8.6 Configure error - build failuresextractor @2.8.6 Configure error with latest atlas

comment:2 Changed 12 years ago by jps@…

I have just spent some rather frustrating hours trying to solve this issue. I ended up installing sextractor directly from the source and using code referenced at the bottom of this page to modify the configure file. There is a typo in the above comment that threw me off when I tried to do this a different way and I note that the above link is broken. In any case, I thought it useful, for complete transparency, to reproduce the actual fix that worked below:

sudo sed -i '' -E -e 's/-llapack|-lcblas|-latlas|-lptcblas/-ltatlas/' ./configure

I would second the notion that it would be nice to see this changed in portfile so as to avoid this headache.

Last edited 12 years ago by jps@… (previous) (diff)

comment:3 Changed 12 years ago by jps@…

Last edited 12 years ago by jps@… (previous) (diff)

comment:4 Changed 12 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:5 Changed 12 years ago by rbonser@…

Cc: rbonser@… added

Cc Me!

comment:6 Changed 11 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… removed

Update request is #43536.

comment:7 Changed 10 years ago by lpsinger (Leo Singer)

Resolution: duplicate
Status: newclosed

Seems to be fixed by updating the port. See #43536.

Note: See TracTickets for help on using tickets.