I am trying to compile and install R under High Sierra with Accelerate BLAS but with R lapack.
My relevant configure call is --with-blas="-framework Accelerate" but omitting --with-lapack. Full call is pasted at the end of this email I can do make make check but make install fails with make[2]: Nothing to be done for `install'. /usr/local/clang6/bin/clang -I. -I../../src/include -I../../../R-3.5.x-src/src/include -I/opt/X11/include -I/usr/local/include -DHAVE_CONFIG_H -Wall -mtune=native -g -O2 -L/usr/local/clang6/lib -L/usr/local/lib -L/usr/local/opt/tcl-tk/lib -DR_HOME='"/usr/local/R/R-3.5.x/lib/R"' \ -o Rscript ../../../R-3.5.x-src/src/unix/Rscript.c mkdir /usr/local/R/R-3.5.x/lib/R/bin/exec mkdir /usr/local/R/R-3.5.x/lib/R/modules cp: /usr/local/R/R-3.5.x/lib/R/lib/libRlapack.dylib: No such file or directory make[3]: *** [install] Error 1 make[2]: *** [install] Error 1 make[1]: *** [install] Error 1 make: *** [install] Error 1 I manually verified that libRlapack.dylib had been build in the building directory's "lib". I then just did sudo mkdir /usr/local/R/R-3.5.x/lib/R/lib (my installation directory is /usr/local/R/R-3.5.x) and redid make install which now worked. I get $ ls /usr/local/R/R-3.5.x/lib/R/lib libRlapack.dylib My _guess_ is that since I am using R's lapack and system BLAS that the RHOME/lib directory does not get created. Btw., this might be a bad idea (happy to hear about this) but the installation should work since I can do make check Kasper configure ../${SRCDIR}/configure SHELL='/bin/bash' \ --prefix=/usr/local/R/R-${R_VERSION} --disable-R-framework\ CC="/usr/local/clang6/bin/clang" \ CXX="/usr/local/clang6/bin/clang++" \ F77="/usr/local/gfortran/bin/gfortran" \ FC="$F77" \ OBJC="clang" \ CFLAGS="-Wall -mtune=native -g -O2" \ CXXFLAGS="-Wall -mtune=natuve -g -O2" \ OBJCFLAGS="-Wall -mtune=native -g -O2 -fobjc-exceptions" \ F77FLAGS="-Wall -g -O2 -mtune=generic" \ FCFLAGS="$F77FLAGS" \ FLIBS="-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm" \ LDFLAGS="-L/usr/local/clang6/lib -L/usr/local/lib" \ DYLD_FALLBACK_LIBRARY_PATH="/usr/local/clang6/lib:/usr/local/lib" \ PKG_CONFIG_PATH="/opt/X11/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig" \ JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home" \ JAVA_CPPFLAGS="-I/System/Library/Frameworks/JavaVM.framework/Headers" \ JAVA_LD_LIBRARY_PATH="" \ JAVA_LIBS="-framework JavaVM" \ --enable-memory-profiling\ --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib\ -with-tcltk=/usr/local/opt/tcl-tk/lib\ --with-blas="-framework Accelerate" | tee ../configure-${R_VERSION} [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac