Jeff,

On Sep 22, 2009, at 6:12 PM, Jeff Hamann wrote:

I hope this is the place for this...


Yes, indeed.


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:


checking how to get verbose linking output from fc... configure: WARNING: compilation failed

checking for Fortran 77 libraries of fc...

^^--- I think you don't have a Fortran compiler. fc is a utility on SL that has nothing to do with Fortran and Xcode doesn't include Fortran, either. Please install GNU Fortran either from CRAN
http://cran.r-project.org/bin/macosx/tools/
or if you feel brave take the Xcode 3.2 add on from
http://r.research.att.com/gfortran-42-5646.pkg

Also please don't forget to add -arch i386 or -arch x86_64 to the compilers when configuring R (see R for Mac FAQ) - the defaults are different between gcc (64-bit) and gfortran (32-bit)!

Cheers,
Simon

PS: There is usually no need to compile R from sources on OS X - see
http://r.research.att.com/
for the latest R release in both 32 and 64-bit for Leopard/Snow Leopard.


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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to