OS X package installation depends on gfortran-4.8

fortran, r

Solution

Type these two lines in your terminal, direct quote:

curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxj gfortran-4.8.2-darwin13.tar.bz2 -C /

It will download you the gfortran for Mavericks (which is missing in your system at the moment) and will install it in your system. At least, this solved the same problem for me

(I'm running late 2011 MacPro, Mavericks).

Problem

I'm using the OS X devel version of R ``` R Under development (unstable) (2014-05-27 r65787) Platform: x86_64-apple-darwin13.1.0 (64-bit) ``` with GNU Fortran (GCC) 4.2.3 (from Simon's site) and version 5.1.1 of Xcode's command line tools. When building from source, I get errors like: ``` gfortran-4.8 -fPIC -g -O2 -c altmov.f -o altmov.o make: gfortran-4.8: No such file or directory ``` I'm not sure what to do here. I could create an alias to the version I have but I'm not sure if it really needs 4.8 or not. Thanks, Max

Original source