如何在 RedHat Enterprise 5 上安装 automake 和 autoconf?

如何在 RedHat Enterprise 5 上安装 automake 和 autoconf?

我正在尝试为 PHP 应用程序安装“uploadprogress”,但依赖项失败。

首先,是 phpize,然后是 php-devel,然后是 autoconf 和 automake。

我尝试过 yum 和各种存储库,但都没有成功。

我认为这与 Rackspace Cloud 服务器上极其严格但令人讨厌的设置有关。

有人知道我可以在哪里找到一个存储库,以便我可以告诉 yum 查看其中包含 php-devel、autoconf、automake 等吗?

非常感谢。


发布详情: Red Hat Enterprise Linux 服务器版本 5.3 (Tikanga)

Linux 版本 2.6.18-128.7.1.el5xen ([电子邮件保护]) (gcc 版本 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP 2009 年 8 月 19 日星期三 04:17:26 EDT

Linux Serv001 2.6.18-128.7.1.el5xen #1 SMP 2009 年 8 月 19 日星期三 04:17:26 EDT x86_64 x86_64 x86_64 GNU/Linux

答案1

这些应该可以通过 yum 和基本 RHEL 存储库安装。您是否尝试过查询它们是否已安装但不在您的路径中?此外,您是否已通过 yum 成功安装了任何东西?

要检查您需要安装什么包:

[user@server]# yum whatprovides autoconf automake
Loaded plugins: rhnplugin, security
autoconf-2.59-12.noarch : A GNU tool for automatically configuring source code.
Repo        : rhel-x86_64-server-5
Matched from:

automake-1.9.6-2.1.noarch : A GNU tool for automatically creating Makefiles.
Repo        : rhel-x86_64-server-5
Matched from:

答案2

这些 RHEL 存储库可以使用 yum 实用程序进行安装。一个很好的功能是从您自己的 DVD 安装光盘启用另一个存储库。完整的分步说明可在此处找到。http://saifulaziz.com/2014/02/26/howto-install-redhat-package-with-yum-command-without-rhn/

完成此操作后,您可以从这个“新”存储库安装 automake 或 autoconf。换句话说,您可以绕过“此系统未注册到 Red Hat 订阅管理。您可以使用 subscription-manager 进行注册”的警告消息。

相关内容