[R] package install error in CentOS

Jeroen Ooms j.c.l.ooms at uu.nl
Fri Dec 19 18:10:14 CET 2008


I am trying to install package "Cairo" on CentOS 5.2, but I keep getting this
error:

* Installing *source* package 'Cairo' ...
/usr/lib64/R/bin/INSTALL: ./configure: /bin/sh: bad interpreter: Permission
denied
ERROR: configuration failed for package 'Cairo'
** Removing '/usr/lib64/R/library/Cairo'

The downloaded packages are in
        /tmp/Rtmp8ML568/downloaded_packages
Updating HTML index of packages in '.Library'
Warning message:
In install.packages("Cairo") :
  installation of package 'Cairo' had non-zero exit status

I tried to do it manually but with no luck:

[jeroen at 138 shizzle]$ sudo R CMD INSTALL Cairo_1.4-4.tar.gz
* Installing to library '/usr/lib64/R/library'
* Installing *source* package 'Cairo' ...
/usr/lib64/R/bin/INSTALL: ./configure: /bin/sh: bad interpreter: Permission
denied
ERROR: configuration failed for package 'Cairo'
** Removing '/usr/lib64/R/library/Cairo'

I have tried to changing the $TMPDIR to another dir, and giving it 777
permissions, but I keep getting the error. Some info:

> sessionInfo()
R version 2.8.0 (2008-10-20)
x86_64-redhat-linux-gnu

locale:
C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base


[jeroen at 138 shizzle]$ gcc --version
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


-- 
View this message in context: http://www.nabble.com/package-install-error-in-CentOS-tp21094790p21094790.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list