From simon.urbanek at r-project.org  Mon Dec  3 23:43:46 2007
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Mon, 3 Dec 2007 17:43:46 -0500
Subject: [Rd] R install problem on MacOS 10.5.1 (PR#10476)
In-Reply-To: <47547913.8080602@cimr.cam.ac.uk>
References: <20071128215522.AF9F42834155@mail.pubhealth.ku.dk>	<FA8783E7-C438-4DCC-B5AA-A1F55BE5C3B5@r-project.org>	<DFEB308E-090E-49D0-97D7-72C8994BAA94@cs.st-andrews.ac.uk>	<2D5435B7-0B47-4603-9209-8259252F77B4@r-project.org>
	<31D76F0C-C569-4247-8834-7EB675F15055@cs.st-andrews.ac.uk>
	<47547913.8080602@cimr.cam.ac.uk>
Message-ID: <073AF4D2-A29D-4C94-88F3-FF9BF8300BC1@r-project.org>


On Dec 3, 2007, at 4:45 PM, Hin-Tak Leung wrote:

> Out of interest, why (the hell!) would the R installer trying to  
> temper with gcc's files? It looks like it is either trying to rename  
> or delete them.
>

Because it *is* the gcc files? (Note the "/local" in the paths.) Full  
R comes with GNU Fortran 4.2.1, because Apple doesn't offer any  
Fortran compiler and most other Fortran compiler binaries for Mac OS X  
out on the web are not really working well. It installs in /usr/local.


> R needs gfortran's runtime library, and tries to detect for its  
> presence, that's fair enough...

It doesn't need it, or rather, it ships its own copy inside the R  
framework. If you install just R, it won't touch anything outside the  
R.framework / R.app.


> modifying, no. Is the failure because the R installer try to put in  
> some of gcc/xcode, which the user already has, or something like that?
>

No. The failure is due to a strange symlink in /usr/local/lib that  
points to itself. I suspect that this has something to do with an  
upgrade from Tiger to Leopard or Xcode 3 installation and that Apple  
actually creates that infinite symlink. Given that there is "/usr/loca/ 
lib 1" lingering around, I'd bet that

sudo rm /usr/local/lib
sudo mv '/usr/local/lib 1' /usr/local/lib

will fix the problem.

I'm not quite sure what to do with this - I don't really want out  
installer to start attempting to fix broken OS X. If we start doing  
so, we may as well replace entire the X11 on Leopard ;).

Cheers,
Simon

>
> Saleem Bhatti wrote:
>> Simon;
>> On 30 Nov 2007, at 15:38, Simon Urbanek wrote:
>>> Window -> Installer Log
>>> You can then use Save ... to save it in a file.
>> OK - file is attached.
>>> Well, yes, but you said "automated install" - so how were you  
>>> running an "automated" install? For me automated install is run  
>>> via /usr/sbin/installer utility and that doesn't have any UI, so I  
>>> was wondering what are you using exactly?
>> My apologies for the confusion.
>> Cheers,
>> --/Saleem
>> ------------------------------------------------------------------------
>> ------------------------------------------------------------------------
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



[Rd] R install problem on MacOS 10.5.1 (PR#10476)
Simon Urbanek