Simon

That is odd!  I am not aware of any other binary except the ones on www.r-project.org- CRAN- mirrors.   Just to be 100% sure I have used the url you sent me and re-installed R.  No change, gfortran-4.8 is the one R asks for.   I have tried on another mac and no change.  I must be missing something ...

R CMD INSTALL package_1.0.tar.gz 
* installing to library ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library’
* installing *source* package ‘package’ ...
** libs
gfortran-4.8   -fPIC  -g -O2 

gfortran-4.8 from research worked too, so now I have two options in case I run into trouble again.  The default gfortran.4.2.3 doesn't work because of the links and no quadmath (at least in my setup).

Many thanks

Ed


On Jul 25, 2014, at 10:14 AM, Simon Urbanek <simon.urbanek@r-project.org> wrote:

> Eduardo,
> 
> On Jul 24, 2014, at 8:37 PM, Eduardo M. A. M.Mendes <emammendes@gmail.com> wrote:
> 
>> Hello
>> 
>> I have recently upgraded R to the newest version.  Unfortunately my old (fortran and C) R-package cannot be installed anymore (was built before R 3.0.0: please re-install it). 
>> 
>> I have tried R CMD INSTALL package_name but I noticed that R-3.1.1-binary-mac requests gcc-4.8.2 and specific locations for the libraries (gcc and gfortran).  
> 
> No, it doesn't. You must be using some other binary that the official CRAN one (http://cran.r-project.org/bin/macosx )
> Our binaries only use standard Apple compilers (from Xcode - in recent OS X versions you can use xcode-select --install on the command line to install) plus a GNU Fortran that you can download from CRAN.
> 
> 
>> Can someone point me to the documentation on how to install  gcc as R requires, please?
>> 
>> Please note that I have used "brew install gcc" on another mac and soft linked all the necessary libraries so that gcc-4.9.1 can be used as 4.8 (as R requires). However I would like a clean installation.
>> 
> 
> I you use brew, then you're on your own and you should refer to their support. Our builds do not require brew (or any other 3rd party build system).
> 
> Cheers,
> Simon
> 
> PS: Please note that R-SIG-Mac is the proper mailing list for Mac-specific questions.
> 


	[[alternative HTML version deleted]]

