[R] Can you help with local source file instalation?

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Mar 26 07:41:17 CET 2013


On 26/03/2013 02:11, mjchi168 wrote:
>   Hi R,
> I tried to install one local source package---"qtl" into R, but failed with the following message. I am using Macbook OS 10.8.3 with Xcode 4.6.1.

This is the wrong list: it should have been R-sig-mac.  Please follow up 
there.

It seems you forgot to install gfortran from 
http://cran.r-project.org/bin/macosx/tools/ .

I am surmising from your output that this is 2.15.x: the posting guide 
asked for 'at a minimum' information and it does matter, especially with 
binary installation of R (which this appears to be).

> ld: warning: directory not found for option '-L/usr/local/lib'
> ld: library not found for -lgfortran
> collect2: ld returned 1 exit status
> make: *** [qtl.so] Error 1
> ERROR: compilation failed for package ¡®qtl¡¯
> * removing ¡®/Library/Frameworks/R.framework/Versions/2.15/Resources/library/qtl¡¯
> * restoring previous ¡®/Library/Frameworks/R.framework/Versions/2.15/Resources/library/qtl¡¯
>
> Any comments are appreciated.
>
> Liu


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list