[R] R 1.7.0 fails to compile on OS X 10.2.5

Tom Kennedy tom.kennedy at bigpond.com
Mon Apr 21 01:32:08 CEST 2003


Had the same problem. The LAPACK library will not compile with the gcc  
on macosx.

Jan de Leeuw helped with this configuration:

./configure  
--with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh   
--with-tk-config=/Library/Frameworks/Tk.framework/tkConfig.sh   
--enable-R-shlib --with-x --with-blas='-framework vecLib'   
--with-lapack TCLTK_LIBS='-framework Tcl -framework Tk'  
TCLTK_CPPFLAGS='-I/Library/Frameworks/Tcl.Framework/Headers   
-I/Library/Frameworks/Tk.Framework/Headers'

This uses the vecLib library in macosx instead of LAPACK.

PS. If you don't have tcl/tk aqua frameworks installed, delete these  
sections in the config.

./configure  --enable-R-shlib --with-x --with-blas='-framework vecLib'   
--with-lapack

I presume you have an X11 installed.

Check out  
https://www.stat.math.ethz.ch/pipermail/r-sig-mac/2003-April/ 
thread.html which is a macos
specific list for R which Jan de Leeuw moderates.

Tom



More information about the R-help mailing list