簡體   English   中英

在R Ver 3.4.1 32位Debian中安裝漩渦時出錯

[英]Error installing swirl in R ver 3.4.1 32-bit Debian

我正在嘗試在Debian Wheezyx上的R ver 3.4.1 32位中安裝swir,並且出現錯誤。 請看下面:

 ------------------------- ANTICONF ERROR ---------------------------
 Configuration failed because libcurl was not found. Try installing:
 * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
 * rpm: libcurl-devel (Fedora, CentOS, RHEL)
 * csw: libcurl_dev (Solaris)
 If libcurl is already installed, check that 'pkg-config' is in your
 PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-
 config
 is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
 R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
 --------------------------------------------------------------------
 ERROR: configuration failed for package 'curl'
 * removing '/usr/local/lib/R/site-library/curl'
 * installing *source* package 'openssl' ...
 ** package 'openssl' successfully unpacked and MD5 sums 
 checked
 Found pkg-config cflags and libs!
 Using PKG_CFLAGS=
 Using PKG_LIBS=-lssl -lcrypto
 ------------------------- ANTICONF ERROR ---------------------------
 Configuration failed because openssl was not found. Try installing:
 * deb: libssl-dev (Debian, Ubuntu, etc)
 * rpm: openssl-devel (Fedora, CentOS, RHEL)
 * csw: libssl_dev (Solaris)
 * brew: openssl@1.1 (Mac OSX)
 If openssl is already installed, check that 'pkg-config' is in your
 PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-
 config
 is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
 R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
 --------------------------------------------------------------------

然后,我嘗試安裝libcurl4-openssl-dev,但出現以下錯誤。 我不確定下一步該怎么做...

 > install.packages("libcurl4-openssl-dev")
 Installing package into '/usr/local/lib/R/site-library'
 (as 'lib' is unspecified)
 Warning message:
 package 'libcurl4-openssl-dev' is not available (for R version 3.4.1)
 >

我試圖將libcurl4-openssl-dev安裝為Debian軟件包,這是我收到的輸出。

 Setting up dropbear (2014.65-1+deb8u2) ...
Restarting Dropbear SSH server: invoke-rc.d: initscript 
dropbear, action "restart" failed.
dpkg: error processing package dropbear (--
configure):
 subprocess installed post-installation script returned 
error exit status 1
Errors were encountered while processing:
 dropbear
E: Sub-process /usr/bin/dpkg returned an error code 
(1)

我運行程序包后,問題仍然存在。

首先從終端嘗試:
sudo apt-get install libcurl4-openssl-dev libssl-dev

稍后返回Rstudio並再次安裝漩渦包裝。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM