Hi,

I will appreciate your help - I am trying to build/install R (3.0.2, and
same with 3.0.1) from source on CentOS 5.9.

After running './configure --prefix=/my/dir, and issuing 'make', I get an
error that "package 'compiler' was built before R 3.0.0: please re-install
it", and the build fails:

make[3]: Leaving directory
`/home/gennady/Programs/R-3.0.1/src/library/tools'
make[3]: Entering directory
`/home/gennady/Programs/R-3.0.1/src/library/compiler'
building package 'compiler'
mkdir -p -- ../../../library/compiler
make[4]: Entering directory
`/home/gennady/Programs/R-3.0.1/src/library/compiler'
mkdir -p -- ../../../library/compiler/R
make[4]: Leaving directory
`/home/gennady/Programs/R-3.0.1/src/library/compiler'
make[4]: Entering directory
`/home/gennady/Programs/R-3.0.1/src/library/compiler'
byte-compiling package 'compiler'
Error: package 'compiler' was built before R 3.0.0: please re-install it
Execution halted
make[4]: *** [../../../library/compiler/R/compiler.rdb] Error 1
make[4]: Leaving directory
`/home/gennady/Programs/R-3.0.1/src/library/compiler'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/gennady/Programs/R-3.0.1/src/library/compiler'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/home/gennady/Programs/R-3.0.1/src/library'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/gennady/Programs/R-3.0.1/src'
make: *** [R] Error 1

I've looked for this or similar errors but it seems people describe it only
when they install some packages from within R (or when R is already fully
functional). In my case, I am trying to build R itself, and 'compiler' is
from the base package. I've tried to change creation dates of some files
(with touch) but nothing seems to help.

Thanks in advance,
-Gennady

	[[alternative HTML version deleted]]

