[R-SIG-Mac] R 2.6.1 installation fails

Simon Urbanek simon.urbanek at r-project.org
Mon Jan 7 22:56:52 CET 2008


Enrico,

the problem is caused by an update from Tiger to Leopard and Xcode 3  
if /usr/local/lib existed before. Apple's installer screws up and  
creates an infinite symlink loop at /usr/local/lib. To fix it, run  
this is Terminal:

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

Then re-install R (or just gfortran and Tcl/Tk).

Cheers,
Simon


On Jan 7, 2008, at 4:00 PM, Enrico Rossi wrote:

> Hello!
>
> I recently upgraded to Leopard, and discovered that I could no  
> longer build
> Fortran sources using R CMD SHLIB. No problem, I thought: upgrade  
> Xcode and
> R. However, the R installer fails while trying to install gfortran.  
> Here's
> the last bit of the installer log:
>
> Jan  7 15:40:53 elf150 Installer[544]:     Starting file extraction
> Jan  7 15:40:54 elf150 pkgExtractor[566]:     Extracting...
> Jan  7 15:40:54 elf150 pkgExtractor[566]: BomFileError 62: Too many  
> levels
> of symbolic links - ///usr/local/lib
> Jan  7 15:40:54 elf150 pkgExtractor[566]:     13 of 13 files written
> in 0.29seconds.
> Jan  7 15:40:54 elf150 pkgExtractor[566]:     1468 kilobytes  
> installed at
> 4.9 MB/s.
> Jan  7 15:40:54 elf150 pkgExtractor[566]: pkgExtractor exited with  
> error 1
> while processing package '/Volumes/R-2.6.1
> /Packages/gfortran.pkg/Contents/Archive.pax.gz'
> Jan  7 15:40:54 elf150 Installer[544]: Install failed: The Installer  
> could
> not install some files in "/". Contact the software manufacturer for
> assistance.
> Jan  7 15:40:54 elf150 Installer[544]: IFDInstallController 75CD20  
> state = 7
> Jan  7 15:40:54 elf150 Installer[544]: Displaying 'Install Failed' UI.
> Jan  7 15:40:54 elf150 Installer[544]: 'Install Failed' UI displayed
> message:'The Installer could not install some files in "/". Contact  
> the
> software manufacturer for assistance.'.
>
> I also tried installing the gfortran from
> http://r.research.att.com/gfortran-4.2.1.dmg , but it failed in the  
> same
> way. What could the problem be?
>
> Thanks,
> Enrico
>
>> sessionInfo()
> R version 2.6.1 (2007-11-26)
> powerpc-apple-darwin8.10.1
> locale:
> en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list