Skip to content

R 2.1.1 tiger compile problem

3 messages · Joel Bremson, Bill Northcott

#
On 22/09/2005, at 8:00 PM, Joel Bremson wrote:
Your problem is not the compiler.  It is the configure command that  
is wrong.  There is no problem building R with gfortran and gcc-4.   
The F77 define is probably necessary, but you should not need to add  
standard Fortran libraries.

The recommended configure command is
./configure --with-blas='-framework vecLib' --with-lapack --with-aqua
see http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html

BLAS and LAPACK are part of the Accelerate framework in MacOS X.   
Because you have omitted the '--with-blas' and '--with-lapack'  
options R is trying to build its own LAPACK which AFAIK is not  
supported on MacOS X.  Hence your problems.

Bill Northcott
#
On 27/09/2005, at 4:56 AM, Joel Bremson wrote:
The gfortran code from a few months back had a number of crucial  
bugs, one or more of which is probably your problem.  The gfortran  
code in apple-gcc-5202 is the gcc-4.0.1 release version.  Your  
gfortran 4.1.0v20050517 code would probably have less bugs.

I think you could get even better code by waiting a few days for the  
gcc-4.0.2 release, which will have a lot of important bug fixes, and  
would be much more consistent with the officially released Apple  
gcc-5026.

Bill Northcott