如何在 CentOS 5.6 上安装 iconv-devel?

发布于 2024-11-09 22:20:20 字数 767 浏览 5 评论 0原文

在 CentOS 5.6 上安装 rvm 并运行 rvm Notes 后:

dependencies:
  # For RVM
  rvm: yum install -y bash curl git # NOTE: For git you need the EPEL repository enabled

  # For Ruby (MRI & Ree) you should install the following OS dependencies:
  ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel ;
        yum install -y make bzip2 ;
        yum install -y iconv-devel # NOTE: For centos 5.4 final iconv-devel might not be available :(

但是 <找不到 code>iconv-devel:

Setting up Install Process
No package iconv-devel available.
Nothing to do

如何安装它?

After installing rvm on CentOS 5.6 and run rvm notes:

dependencies:
  # For RVM
  rvm: yum install -y bash curl git # NOTE: For git you need the EPEL repository enabled

  # For Ruby (MRI & Ree) you should install the following OS dependencies:
  ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel ;
        yum install -y make bzip2 ;
        yum install -y iconv-devel # NOTE: For centos 5.4 final iconv-devel might not be available :(

However iconv-devel cannot be found:

Setting up Install Process
No package iconv-devel available.
Nothing to do

How can I install it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

对岸观火 2024-11-16 22:20:20

在 CentOS 5.4+(以及其他一些基于 Red Hat 的系统)上,您不必担心它。

它已在 glibc 库中提供:

You don't have to worry about it on CentOS 5.4+ (and some other Red Hat-based systems).

It's already provided in the glibc library:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文