[R-SIG-Mac] Problem with lapack.so compiling R 2.2.0 from source under Tiger

Bill Northcott w.northcott at unsw.edu.au
Thu Oct 13 01:04:57 CEST 2005


On 12/10/2005, at 8:00 PM, Roberto Canteri wrote:
>      I am facing with the same problem as in the subject even if my
> configure is sligthly different. In any case the make error is
> exactly the same. Here my gcc and fortran versions:
>
> gcc --v
> Using built-in specs.
> Target: powerpc-apple-darwin8
> Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure --
> disable-checking --prefix=/usr --mandir=/share/man --enable-
> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/
> s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --
> build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --
> target=powerpc-apple-darwin8
> Thread model: posix
> gcc version 4.0.0 (Apple Computer, Inc. build 5026)
>
> gfortran --v
> Using built-in specs.
> Target: powerpc-apple-darwin8
> Configured with: /Build/apple/gcc/build/obj/src/configure --disable-
> checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c
> ++,obj-c++,f95 --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --
> with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-
> apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-
> darwin8
> Thread model: posix
> gcc version 4.0.0 (Apple Computer, Inc. build 5202)

You appear to have two different versions of the compiler installed  
on top of each other (they have different versions and the same  
prefix).  I am sort of surprised you can build anything at all.

I suggest you run the Xcode uninstall script then manually clean the  
remains of gfortran and any other gcc stuff out of /usr.  Then  
reinstall Xcode and either install a fortran in /usr/local or get one  
of my 5026 compilers with gfortran from www.swarm.org.

Bill Northcott



More information about the R-SIG-Mac mailing list