[R-SIG-Mac] install of nls.lm failed

joerg van den hoff j.van_den_hoff at fz-rossendorf.de
Thu Jun 30 11:24:41 CEST 2005


Simon Urbanek wrote:
> On Jun 29, 2005, at 12:33 PM, joerg van den hoff wrote:
> 
>> hi everybody,
>>
>> trying to install nls.lm  under R.2.1.0 and Tiger I got:
> 
> 
> You didn't tell us what Fortran compiler you are using, but my wild  
> guess is that you use the one from fink. If that turns out to be true  
> and you insist on using that one, you'll need to compile your own R  (or 

simon,
thanks for your response.
your "wild guess" is correct and, well, I insist on nothing like that, 
but it's simply the only g77 which materialized/was required at some 
point of installing packages via fink.

> you can try to patch the paths in various places or specify  additional 
> flags for the package to find your libg2c ...).

after some false starts: the only thing which seems necessary is:

- mkdir /usr/local/lib/gcc/powerpc-apple-darwin6.8
- ln -s /sw/lib 3.4.2

after this the package installed and seems(...) to run without problems.

> The CRAN  binary 
> requires g77 3.4.2 in /usr/local which you don't have.

and since g77 seems not to be installed as part of the DevTools, this 
would mean to recompile/reinstall gcc from scratch? would it not be a 
better idea to use environment variables instead of hardcoding the path 
into the binary which seems, after all, not to be a standard setup? or 
am I wrong (apart from the "given infinite time, one could do 
everything" problem)?
> 
> Cheers,
> Simon
> 
> 
regards,
joerg



More information about the R-SIG-Mac mailing list