On Tue, May 01, 2018 at 08:39:42AM +0200, Rainer Hurling wrote: > Am 01.05.2018 um 05:40 schrieb Steve Kargl: > > Can someone fix math/suitesparse? > > > > % make config > > <Select Netlib BLAS> > > > > % make > > ... > > > > h/suitesparse/work/SuiteSparse/lib/libcholmod.so.3.0.12 -lm -lamd -lcolamd > > -lsuitesparseconfig -lccolamd -lcamd -L/usr/local/lib -lmetis > > -Wl,-rpath=/usr/local/lib/gcc7 -L/usr/local/lib/gcc7 -B/usr/local/bin > > -L/usr/local/lib -fstack-protector -Wl,-rpath=/usr/local/lib/gcc7 > > -L/usr/local/lib/gcc7 -llapack -lopenblas > > /usr/local/bin/ld: cannot find -lopenblas > > collect2: error: ld returned 1 exit status > > gmake[5]: *** [Makefile:544: > > /usr/ports/math/suitesparse/work/SuiteSparse/lib/libcholmod.so.3.0.12] > > Error 1 > > gmake[5]: Leaving directory > > '/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMOD/Lib' > > gmake[4]: *** [Makefile:31: library] Error 2 > > gmake[4]: Leaving directory > > '/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMOD/Lib' > > gmake[3]: *** [Makefile:14: all] Error 2 > > gmake[3]: Leaving directory > > '/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMOD' > > gmake[2]: *** [Makefile:21: go] Error 2 > > gmake[2]: Leaving directory '/usr/ports/math/suitesparse/work/SuiteSparse' > > *** Error code 2 > > > > openblas is not Netlib BLAS. > > > > Hi Steve, > > For this error it should be sufficient to deinstall the old port. > before you build and install the new one. In some cases, there are > further breaks [1]. >
It is uninstalled. Transitioning from perl 5.24 to 5.26 caused numerous ports to be deleted. I've looked at the files in math/suitesparse/work. This port now requires openblas as there is a hardcoded -lopenblas in one of its *.mk files or one needs to manually edit *.mk. % cd work % find . -type f | xargs grep lopenblas % nedit ./SuiteSparse_shared/SuiteSparse_config/SuiteSparse_config.mk % cd .. % make % make install -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
