[R] Problem installing Hmisc (more info)

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Feb 6 09:08:57 CET 2005


On Sun, 6 Feb 2005, Jari Oksanen wrote:

>
> On 5 Feb 2005, at 23:59, Prof Brian Ripley wrote:
>
>> On Sat, 5 Feb 2005, Michael Kubovy wrote:
>> 
>>> Frank Harrell suggested I re-post with information about the version of
>>> R
>> 
>> Thanks, that starts to make sense.  You appear to have g77 installed, but 
>> not in the place the person who prepared the binary install of R has it.
>> Where do you have it installed?  ('whereis g77' or 'which g77' should tell 
>> you.)  Then you need to alter FLIBS in R_HOME/etc/Makeconf to point to it. 
>> (You can remove -lfrtbegin from FLIBS: it is not needed: your R_HOME looks 
>> to be /Library/Frameworks/R.framework/Versions/2.0.1.)
>> 
>> However, I believe there is a more fundamental problem: because libg2c is a 
>> static library on current MacOS X, most packages using Fortran cannot be 
>> compiled there.  That's presumably the case with Hmisc, as the automated 
>> package builder is not providing a binary build.  (There is supposedly a 
>> check directory on CRAN, but it is not there at present.)
>> 
> This must be a problem specific to a certain installation. I regularly build 
> Fortran files into MacOS X binaries. The specification in this machine is:
>
> pomme:~ jarioksanen$ uname -a
> Darwin pomme.local 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov  7 16:06:51 PST 
> 2004; root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC  Power Macintosh powerpc
> pomme:~ jarioksanen$ locate libg2c
> /usr/local/lib/libg2c.0.0.0.dylib
> /usr/local/lib/libg2c.0.dylib
> /usr/local/lib/libg2c.a
> /usr/local/lib/libg2c.dylib
> /usr/local/lib/libg2c.la

That's not the same Darwin version ... this has certainly been a problem 
several times in the recent past.

-- 
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