[R] package install error in CentOS

Jeffrey Horner jeff.horner at vanderbilt.edu
Fri Dec 19 18:32:25 CET 2008


Check that your data partitions have the 'exec' flag set in /etc/fstab, 
particulary the /tmp partition:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=1687&forum=31

Jeff

Jeroen Ooms wrote:
> 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.
>
>
>



More information about the R-help mailing list