ERROR: dependencies 'httr', 'xml2' are not available for package 'GEOquery'
* removing '/usr/local/lib/R/site-library/GEOquery'
The downloaded source packages are in
'/tmp/RtmpkVS6KY/downloaded_packages'
Warning messages:
1: In .inet_warning(msg) :
installation of package 'curl' had non-zero exit status
2: In .inet_warning(msg) :
installation of package 'openssl' had non-zero exit status
3: In .inet_warning(msg) :
installation of package 'xml2' had non-zero exit status
4: In .inet_warning(msg) :
installation of package 'httr' had non-zero exit status
5: In .inet_warning(msg) :
installation of package 'GEOquery' had non-zero exit status
> install.packages("curl")
Installing package into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/curl_4.3.1.tar.gz'
Content type 'application/x-gzip' length 793230 bytes (774 KB)
==================================================
downloaded 774 KB
* installing *source* package 'curl' ...
** package 'curl' successfully unpacked and MD5 sums checked
** using staged installation
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lcurl
------------------------- 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'
The downloaded source packages are in
'/tmp/RtmpkVS6KY/downloaded_packages'
Warning message:
In install.packages("curl") :
installation of package 'curl' had non-zero exit status
> q()
Save workspace image? [y/n/c]: n
(base) root@BC-25-at-66-181:~/software# sudo apt install libcurl4-openssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
cdbs debhelper dh-autoreconf dh-strip-nondeterminism dh-translations intltool
intltool-debian jq libarchive-zip-perl libencode-locale-perl
libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl
libio-socket-ssl-perl libjq1 liblwp-mediatypes-perl liblwp-protocol-https-perl
libnet-http-perl libnet-ssleay-perl libonig4 libtimedate-perl libtry-tiny-perl
liburi-perl libwww-perl libwww-robotrules-perl libxml-parser-perl
perl-openssl-defaults po-debconf python3-scour scour
Use 'sudo apt autoremove' to remove them.
Suggested packages:
libcurl4-doc libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev
libssl-dev
The following NEW packages will be installed:
libcurl4-openssl-dev
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 301 kB of archives.
After this operation, 1,426 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4-openssl-dev amd64 7.58.0-2ubuntu3.13 [301 kB]
Fetched 301 kB in 0s (1,127 kB/s)
Selecting previously unselected package libcurl4-openssl-dev:amd64.
(Reading database ... 76882 files and directories currently installed.)
Preparing to unpack .../libcurl4-openssl-dev_7.58.0-2ubuntu3.13_amd64.deb ...
Unpacking libcurl4-openssl-dev:amd64 (7.58.0-2ubuntu3.13) ...
Setting up libcurl4-openssl-dev:amd64 (7.58.0-2ubuntu3.13) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
(base) root@BC-25-at-66-181:~/software# sudo apt install libxml2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
cdbs debhelper dh-autoreconf dh-strip-nondeterminism dh-translations intltool
intltool-debian jq libarchive-zip-perl libencode-locale-perl
libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl
libio-socket-ssl-perl libjq1 liblwp-mediatypes-perl liblwp-protocol-https-perl
libnet-http-perl libnet-ssleay-perl libonig4 libtimedate-perl libtry-tiny-perl
liburi-perl libwww-perl libwww-robotrules-perl libxml-parser-perl
perl-openssl-defaults po-debconf python3-scour scour
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
libxml2-dev
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 756 kB of archives.
After this operation, 3,559 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxml2-dev amd64 2.9.4+dfsg1-6.1ubuntu1.3 [756 kB]
Fetched 756 kB in 0s (2,688 kB/s)
Selecting previously unselected package libxml2-dev:amd64.
(Reading database ... 76903 files and directories currently installed.)
Preparing to unpack .../libxml2-dev_2.9.4+dfsg1-6.1ubuntu1.3_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.4+dfsg1-6.1ubuntu1.3) ...
Setting up libxml2-dev:amd64 (2.9.4+dfsg1-6.1ubuntu1.3) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
(base) root@BC-25-at-66-181:~/software#
linux學(xué)習(xí)100篇8:ERROR: configuration failed for package 'curl'
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀(guān)點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀(guān)點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。
相關(guān)閱讀更多精彩內(nèi)容
- 一開(kāi)始,我是想安裝ggVennDiagram這個(gè)包的,但是因?yàn)閡nits和sf這兩個(gè)包安裝失敗,導(dǎo)致ggVennD...
- 初始化發(fā)生錯(cuò)誤如下: The HTTP call equal to 'curl -sSL http://local...
- 1. 錯(cuò)誤描述 ??在使用CMake編譯OpenCV時(shí),選擇MinGW Makefiles,CMake出現(xiàn)如下錯(cuò)誤...
- 前言 看到標(biāo)題肯定有人會(huì)問(wèn),Windows明明可以安裝Rstudio 啊,而且安裝也相當(dāng)簡(jiǎn)單,為什么還要安裝lin...
- 直接輸入R 大寫(xiě)哦 R version 4.1.0 (2021-05-18) -- "Camp Pontaneze...