[MacPorts] #51366: grass7 @7.0.2 Configure error - unable to locate LAPACK lib
#51366: grass7 @7.0.2 Configure error - unable to locate LAPACK lib --------------------------+-------------------------------- Reporter: njeinstein@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: grass7 --------------------------+-------------------------------- When trying to install GRASS7, I run into the configuration error, "Unable to locate LAPACK library." I've tried manually uninstalling and reinstalling LAPACK (3.6.0_1), which itself installs without hitch. I'm running El Capitan (v 10.11.4), and have Xcode version 7.3.1. Please see attached log file and list of currently-installed ports. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/51366> MacPorts <https://www.macports.org/> Ports system for OS X
#51366: grass7 @7.0.2 Configure error - unable to locate LAPACK lib ---------------------------+-------------------------------- Reporter: njeinstein@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: grass7 | ---------------------------+-------------------------------- Changes (by mf2k@…): * cc: njeinstein@… (removed) Comment: As reporter, you do not need to Cc yourself. -- Ticket URL: <https://trac.macports.org/ticket/51366#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51366: grass7 @7.0.2 Configure error - unable to locate LAPACK lib ---------------------------+-------------------------------- Reporter: njeinstein@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: grass7 | ---------------------------+-------------------------------- Changes (by mojca@…): * cc: vince@… (added) * version: 2.3.4 => Comment: I tried the following change: {{{ #!patch Index: Portfile =================================================================== --- Portfile (revision 148791) +++ Portfile (working copy) @@ -84,7 +84,7 @@ --with-opengl=osx \ --with-opencl=yes \ --with-blas \ - --with-lapack=no \ + --without-lapack \ --with-readline \ --with-readline-includes=${prefix}/include/readline \ --with-readline-libs=${prefix}/lib \ @@ -134,8 +134,9 @@ variant atlas description {Use Atlas for BLAS/LAPACK} { depends_lib-append port:atlas -# configure.args-append --with-libblas=${prefix}/lib/libtatlas.dylib -# configure.args-append --with- liblapack=${prefix}/lib/libtatlas.dylib + configure.args-replace --without-lapack --with-lapack + configure.args-append --with-lapack-includes=${prefix}/include + configure.args-append --with-lapack-libs=${prefix}/lib } livecheck.type regex }}} Please note that you then need to activate atlas: {{{ sudo port -v configure grass7 +atlas }}} But it fails with the following test which I didn't investigate further: {{{ configure:10856: checking for dsegv_ configure:10882: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -framework OpenCL -arch x86_64 conftest.c -lcblas -lf77blas -latlas 1>&5 Undefined symbols for architecture x86_64: "_dsegv_", referenced from: _main in conftest-wB0muu.o }}} Note that google "autocorrects" the search for `dsegv` into `dgesv`, so this could be a typo in `configure.in` in grass7. -- Ticket URL: <https://trac.macports.org/ticket/51366#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts