【问题标题】:install stringi on centos 7 without Internet在没有互联网的centos 7上安装stringi
【发布时间】:2021-07-07 02:01:29
【问题描述】:

在没有 Internet 的 Centos CentOS 7.9 上安装 stringe 显然有一个常见问题,我只有 Cran 的遥控器。这意味着我有'stringi_1.5.3.tar.gz' 解压后我得到:

我收到以下错误

checking for pkg-config... /usr/bin/pkg-config
checking with pkg-config for the system ICU4C... 50.2
checking for ICU4C >= 55... no
*** ICU4C 50.2 has been detected
*** Minimal requirements, i.e., ICU4C >= 55, are not met
*** Trying with "standard" fallback flags
checking whether we may build an ICU4C-based project... yes
checking programmatically for sufficient U_ICU_VERSION_MAJOR_NUM... no
*** The available ICU4C cannot be used
checking whether we may compile src/icu61/common/putil.cpp... yes
checking whether we may compile src/icu61/i18n/number_affixutils.cpp... yes
checking whether we can fetch icudt... downloading the ICU data library (icudt)
output path: icu61/data/icudt61l.zip
trying URL 'https://raw.githubusercontent.com/gagolews/stringi/master/src/icu61/data/icudt61l.zip'
Error in download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb"): cannot open URL 'https://raw.githubusercontent.com/gagolews/stringi/master/src/icu61/data/icudt61l.zip'

问题众所周知:

icudt error while installing stringi package from r in linux offline

How to install stringi from local file (ABSOLUTELY no Internet Access)

Installing stringi

我都试过了

sed -i '/\/icu..\/data/d' stringi-master/.Rbuildignore

没有.Rbuildignore看目录图片!

知道如何解决这个问题吗?

更精确的问题: 如何更改设置mode="wb"

Error in download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb")

【问题讨论】:

    标签: r gcc centos7 stringi


    【解决方案1】:

    您是否尝试过tar -zxf stringi_1.5.3.tar.gz,然后您必须将 CD 放入解压缩文件并执行 。/配置 制作 须藤制作安装

    【讨论】:

    • 同样的错误:'*** icudt 下载失败。停止。'
    猜你喜欢
    • 2017-04-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-02-22
    • 1970-01-01
    • 2017-11-17
    • 2013-10-16
    相关资源
    最近更新 更多