[R-SIG-Mac] Building R-devel from Source on Snow Leopard
John C. Tull
jctull at gmail.com
Fri Sep 4 01:19:16 CEST 2009
There appears to be an Apple-supplied gfortran in /usr/bin now, but it
is i386 arch rather than 64-bit. I'm not sure if you can use it to
build a 64-bit R or not. It is also version 4.2.1.
On Sep 3, 2009, at 3:16 PM, Tony Chiang wrote:
> Sorry, I forgot to mention that I had downloaded and installed the
> 4.2.3 from here
> dhcp151062:R-devel tc$ gfortran --version
>> GNU Fortran (GCC) 4.2.3
> On Thu, Sep 3, 2009 at 3:14 PM, Tony Chiang <tchiang at fhcrc.org> 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
>> tools (downloaded from the Apple Site) and have gcc installed:
>> gcc --versioni686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc.
>> So as I am trying to configure, I get this error message:
>>> 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 reason
>> 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