New issue 37 by nils.wei...@gmail.com: Compile under OSX Lion
http://code.google.com/p/rpostgresql/issues/detail?id=37
Install from source fails under OS X Lion (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. Would it be possible
to set the compiler path manually?
Comment #1 on issue 37 by dirk.eddelbuettel: Compile under OSX Lion
http://code.google.com/p/rpostgresql/issues/detail?id=37
That is a bad interaction between OS X and R, nothing more.
When R is built, it encodes the values of a (large) number of Make
variables. CC is among them. For the R binary you have, this is gcc-4.2.
Now, your system no longer has /usr/bin/gcc-4.2, but just /usr/bin/gcc.
The answer hence is to create the link manually --- and it is _not
something we can do_ as part of the build process. The package is built
from within R, and these values are given.
Thanks a bunch! "ln -s gcc gcc-4.2" solved the problem.
Best
Nils