[R-SIG-Mac] Fwd: [Rd] Snow leopard ./configure "cannot compile a simple Fortran program"
Peter Cowan
cowan.pd at gmail.com
Wed Sep 23 01:11:13 CEST 2009
On Tue, Sep 22, 2009 at 3:12 PM, Jeff Hamann
<jeff.hamann at forestinformatics.com> wrote:
> I hope this is the place for this...
>
> I have to rebuild from scratch under Snow Leopard, and when I attempted to
> build R-2.9.1, I get the following results from ./configure:
Jeff,
Perhaps you have a gfortan lurking around from Xcode 3.1. You'll need
to replace that w/ the version from CRAN.
Issues related to Snow Leopard have cropped up a bit on the list the
last couple weeks. It might be worthwhile to look for some of Simon
Urbanks message over the last month or so. He provided some detailed
step by steps for making sure your system has the right tools.
HTH
peter
> checking how to get verbose linking output from fc... configure: WARNING:
> compilation failed
>
> checking for Fortran 77 libraries of fc...
> 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/i686-apple-darwin10/4.2.1
> -L/usr/lib/gcc/i686-apple-darwin10/4.2.1
> -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1
> -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
> none
> checking for Fortran 77 name-mangling scheme... configure: error: cannot
> compile a simple Fortran program
> See `config.log' for more details.
> Jeff-Hamanns-MacBook-Pro:R-2.9.1 hamannj
>
> Since this seems to be a 'fortran thing' methinks I should send this to
> Apple as well?
>
> Jeff-Hamanns-MacBook-Pro:R-2.9.1 hamannj$ uname -a
> Darwin Jeff-Hamanns-MacBook-Pro.local 10.0.0 Darwin Kernel Version 10.0.0:
> Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
> Jeff-Hamanns-MacBook-Pro:R-2.9.1 hamannj$
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
More information about the R-SIG-Mac
mailing list