[R-SIG-Mac] Source package compile under OS X Lion

Adam Strzelecki ono at java.pl
Wed Dec 14 17:22:57 CET 2011


I've made myself a workaround:
sudo ln -s /usr/bin/gcc /usr/local/bin/gcc-4.2

I know it is ugly hack, but it does work.
-- 
Adam Strzelecki

Wiadomość napisana przez Nils B. Weidmann w dniu 14 gru 2011, o godz. 17:00:

> I've been trying to compile the RPostgreSQL package under Lion. Compilation fails using the most recent Xcode 4.2. Used to work perfectly under Snow Leopard and Xcode 3.2.
> 
> The error message is
> 
> > make: gcc-4.2: No such file or directory
> 
> I guess this has to do with Apple's switch to a new compiler, llvm-gcc-4.2. gcc-4.2 does not seem to exist anymore.
> 
> Any suggestions? Would it be possible to set the compiler path manually?
> 
> Thanks a lot!
> Nils
> -- 
> Nils B. Weidmann
> Centre for the Study of Civil War
> Peace Research Institute Oslo
> http://nils.weidmann.ws
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list