我似乎不能安装devtools。我总是收到这样的信息(在结尾):
* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/home/vapri/R/x86_64-pc-linux-gnu-library/3.0/RCurl’
Warning in install.packages :
installation of package ‘RCurl’ had non-zero exit status
ERROR: dependency ‘RCurl’ is not available for package ‘httr’
* removing ‘/home/vapri/R/x86_64-pc-linux-gnu-library/3.0/httr’
Warning in install.packages :
installation of package ‘httr’ had non-zero exit status
ERROR: dependencies ‘httr’, ‘RCurl’ are not available for package ‘devtools’
* removing ‘/home/vapri/R/x86_64-pc-linux-gnu-library/3.0/devtools’
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpqLDAb0/downloaded_packages’谁能告诉我怎么回事吗?我正在使用Ubuntu14.04,一些研究似乎暗示这可能是问题所在。
发布于 2014-04-29 04:21:02
更仔细地观察:
checking for curl-config... no
Cannot find curl-config您需要curl-config脚本。通常,您需要一个包libcurl*-dev或类似的包,不同发行版的名称可能有所不同。在我输入的系统上:
edd@max:~$ dpkg -S `which curl-config`
libcurl4-nss-dev: /usr/bin/curl-config
edd@max:~$ 但是还有一个替代的libcurl4-gnutls-dev,我在其他一些系统上也使用它,还有libcurl4-openssl-dev。
发布于 2017-04-27 06:04:24
帮了我。
sudo apt-get install aptitude
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libxml2-devhttps://stackoverflow.com/questions/23355343
复制相似问题