[R] Trouble Installing R

Amanda Peterson apete1 at umbc.edu
Tue Jul 6 18:16:02 CEST 2010


Hi,

I'm trying to install R on a Solaris 10 machine.
>username -a
SunOS discovery01 5.10 Generic_142900-09 sun4v sparc SUNW, T5440

I get the following error when running "make install-tests". Any suggestions?

root at discovery01:/opt/R-2.10.1> make install-tests installing specific
tests mkdir /usr/local/lib/R.test mkdir /usr/local/lib/tests/Packages
installing package tests ...
mkdir /usr/local/lib/R/library
mkdir /usr/local/lib/R/library/tools
mkdir /usr/local/lib/R/library/tools/tests
mkdir /usr/local/lib/R/library/utils
mkdir /usr/local/lib/R/libraryutils/tests
mkdir /usr/local/lib/R/library/grDevices
mkdir /usr/local/lib/R/library/grDevices/tests
mkdir /usr/local/lib/R/library/stats
mkdir /usr/local/lib/R/library/stats/tests
mkdir /usr/local/lib/R/library/grid
mkdir /usr/local/lib/R/library/grid/tests
mkdir /usr/local/lib/R/library/boot
mkdir /usr/local/lib/R/library/boot/tests
/opt/sfw/bin/install: omitting directory 'boot/tests/Examples'
*** Error code 1
The following command caused the error:
(tmp=${TMPDIR-/tmp}/R$$; mkdir ${tmp}; \  cd "../../..";
abs_top_srcdir='pwd'; \  abs_MKINSTALLDIRS='echo "/bin/bash
../../../src/scripts/mkinstalldirs.in" | sed
"s:../../..:${abs_top_srcdir}:"' \  cd ${tmp}; \  for pkg in boot cluster
codetools foreign KernSmooth lattice mgcv nlme rpart survival MASS class
nnet spatial Matrix; do \
  gzip -dc "/opt/R-2.10.1/src/library/Recommended/${pkg}.tgz" |
//usr/sfw/bin/gtar xf - ; \ done ; \ for pkg in boot cluster codetools
foreign KernSmoth lattice mgcv nlme rpart survival MASS class nnet
spatial Matrix; do \
  if test -d ${pkg}/tests; then \
    ${abs_MKINSTALLDIRS} "/usr/local/lib/R/library/${pkg}/tests" \
    for f in ${pkg}/tests/*; do \
      /opt/sfw/bin/install -c -m 644 ${f}
""/usr/local/lib/R/library/${pkg}/tests"; \
    done; \
  fi;  \
 done)
make: Fatal error: Command failed for target 'install-tests'
Current working directory /opt/R-2.10.1/src/library/Recommended
*** Error code 1
The folloiwng command caused the error:
(cd Recommended && make install-tests)
make: Fatal error: Command railed for target 'install-tests'
Current working directory /opt/R-2.10.1/src/library
*** Error code 1 (ignored)
The following command caused the error:
(cd src/library && make install-tests)


Thanks,
Amanda



More information about the R-help mailing list