我正在尝试在R版本3.1.2上安装PostgreSQL包。在Linux上运行。
我得到以下错误...
Installing package into ‘/usr/lib64/R/library’ (as ‘lib’ is unspecified) trying URL 'http://cran.cnr.berkeley.edu/src/contrib/RPostgreSQL_0.4.tar.gz' Content type 'application/x-gzip' length 477352 bytes (466 Kb) opened URL
==================================================
downloaded 466 Kb
* installing *source* package ‘RPostgreSQL’ ...
** package ‘RPostgreSQL’ successfully unpacked and MD5 sums checked
sh: ./configure: /bin/sh: bad interpreter: Permission denied
ERROR: configuration failed for package ‘RPostgreSQL’
* removing ‘/usr/lib64/R/library/RPostgreSQL’
> The downloaded source packages are in
> ‘/tmp/RtmpANw7OS/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning
> message: In install.packages("RPostgreSQL") : installation of here`package ‘RPostgreSQL’ had non-zero exit status有什么办法解决这个问题吗?
发布于 2016-02-04 20:58:59
这看起来很奇怪:
./configure: /bin/sh: bad interpreter: Permission denied
你的/bin/sh是不是不好或者状态不好?当您(手动)解压源代码并运行./configure时会发生什么?
https://stackoverflow.com/questions/35201611
复制相似问题