[R-SIG-Mac] Building R-devel from Source on Snow Leopard
simon.urbanek at r-project.org
Fri Sep 4 01:11:19 CEST 2009
On Sep 3, 2009, at 6:14 PM, Tony Chiang wrote:
> So I am trying to configure and build the latest of R-devel on one
> of the new Macbook Pro's running Snow leopard. I have installed the
> latest X-Code tools (downloaded from the Apple Site) and have gcc
> gcc --versioni686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc.
> build 5646)
> So as I am trying to configure, I get this error message:
What is the exact configure command you're running? I suspect that
your problem is a 32-bit vs 64-bit mismatch, because SL changed the
gcc default to 64-bit whereas the gfortran default is 32-bit, so you
have to make sure your archs match (depending on which you actually
want to build) - ideally you should specify -arch for all compilers
(as the CRAN binary does - also see the FAQ).
>> checking for Fortran 77 libraries of gfortran... -L/usr/local/lib
>> -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3/../../.. -
>> checking how to get verbose linking output from gcc -std=gnu99... -v
>> checking for C libraries of gcc -std=gnu99... -lcrt1.10.6.o
>> -L/usr/local/lib -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64
>> -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.. -lSystem
>> checking for dummy main to link with Fortran 77 libraries... rm:
>> conftest.dSYM: is a directory
>> checking for Fortran 77 name-mangling scheme... rm: conftest.dSYM:
>> is a
>> configure: WARNING: unknown Fortran name-mangling scheme
>> checking whether gfortran appends underscores to external names...
>> configure: error: cannot use Fortran
> I have not seen any messages quite like this on the mailing list.
> What is
> pretty strange is the conftest.dSYM needs to be removed (?) for some
> but is a directory. Any ideas or suggestions on how to resolve this?
> [[alternative HTML version deleted]]
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
More information about the R-SIG-Mac