首页 技术 正文
技术 2022年11月9日
0 收藏 521 点赞 2,136 浏览 2557 个字
  1. ERROR:

    [root@localhost soft]# R CMD INSTALL curl_3.1.tar.gz
    WARNING: ignoring environment value of R_HOME
    * installing to library ‘/usr/local/R3.2.2/lib64/R/library’
    * installing *source* package ‘curl’ ...
    ** package ‘curl’ successfully unpacked and MD5 sums checked
    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/R3.2.2/lib64/R/library/curl’

    SOLUTION:

    [root@localhost Packages]# rpm -ivh libcurl-devel-7.19.7-37.el6_4.x86_64.rpm libidn-devel-1.18-2.el6.x86_64.rpm automake-1.11.1-4.el6.noarch.rpm autoconf-2.63-5.1.el6.noarch.rpm
    warning: libcurl-devel-7.19.7-37.el6_4.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
    Preparing... ########################################### [100%]
    1:autoconf ########################################### [ 25%]
    2:automake ########################################### [ 50%]
    3:libidn-devel ########################################### [ 75%]
    4:libcurl-devel ########################################### [100%]
  2. ERROR:

    [root@localhost soft]# R CMD INSTALL stringi_1.1.7.tar.gz
    WARNING: ignoring environment value of R_HOME
    * installing to library ‘/usr/local/R3.2.2/lib64/R/library’
    * installing *source* package ‘stringi’ ...
    ** package ‘stringi’ successfully unpacked and MD5 sums checked
    ......
    output path: icu55/data/icudt55l.zip
    Error in download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb"): unsupported URL schemetrying URL 'http://www.mini.pw.edu.pl/~gagolews/stringi/icudt55l.zip'
    Content type 'application/zip' length 10176327 bytes (9.7 MB)
    ......
    • ERROR:

      configure: error: C++ preprocessor “/lib/cpp” fails sanity

      SOLUTION

      yum install glibc-headers
      yum install gcc-c++
    • ERROR: 离线安装stringi的过程中出现icudt无法下载的问题

      SOLUTION:

      install.packages("stringi的路径(包括stringi的文件名)",configure.vars="ICUDT_DIR=icudt的的路径(不包括icudt的文件名)",repos=NULL)
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,085
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,560
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,409
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,182
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,819
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,902