I am sure this is a very basic question, but how do you redirect the paths for El Capitan? The locations referenced by pbdSLAP installer are in a different place under the OS X 10.11.1
/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15
/opt/local/bin/gfortran-mp-5
Thanks for your help.
=========================================
$ R CMD INSTALL ./pbdSLAP
* installing to library ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library’
* installing *source* package ‘pbdSLAP’ ...
** package ‘pbdSLAP’ successfully unpacked and MD5 sums checked
./00_make.sh: line 8: gfortran-4.8: command not found
ld: warning: directory not found for option '-L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
./00_make.sh: line 11: ./xintface: No such file or directory
****************** Results of pbdSLAP package configure *****************
>> CC = clang
>> F77 =
>> FC = gfortran-4.8
>> EXT_LDFLAGS = $(LAPACK_LIBS) $(BLAS_LIBS)
>> EXT_OBJS = $(R_SLAP)
>> EXT_LIBS = userLibrary
>> CDEFS = -D
>> CDEFS_CHECK = TRUE
>> SPMD_CPPFLAGS = -I/opt/local/include/openmpi-mp -DMPI2 -DOPENMPI
>> SPMD_LDFLAGS = -L/opt/local/lib/openmpi-mp -lmpi -lutil -lpthread
*************************************************************************
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gfortran-4.8 -g -O2 -ffloat-store -w -fPIC -g -O2 -c slap_blacs.f -o slap_blacs.o
make: gfortran-4.8: No such file or directory
make: *** [slap_blacs.o] Error 1
ERROR: compilation failed for package ‘pbdSLAP’
* removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/pbdSLAP’