unix - 在 unix 上构建 m4、autoconf、automake、libtool

标签 unix autoconf automake m4

我正在尝试在 HP-UX 服务器上设置 PHP、apache 环境。在安装时,我使用的是“./configur、make、make install”的常用命令。在这里,当我尝试安装 PCRE 时,出现如下错误。

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/ubuntu/softwares/m4-1.4.17/build-aux/missing aclocal-1.14 -I m4 /home/ubuntu/softwares/m4-1.4.17/build-aux/missing: line 81: aclocal-1.14: command not found WARNING: 'aclocal-1.14' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/> Makefile:1496: recipe for target 'aclocal.m4' failed make: *** [aclocal.m4] Error 127

因此,我下载了最新版本的“m4、autoconf 和 automake”源代码并尝试使用通常的 make 命令进行安装。

首先,我尝试通过错误要求安装“autoconf”来安装“automake”
然后我尝试再次安装 autoconf 它要求安装“m4”
然后我尝试通过上面列出的相同错误安装“m4”。
所以它变成了一个相同的错误循环,不允许我安装。

任何人都可以帮我解决这个问题。请考虑这是一个 HP-UX unix 服务器,所以不要推荐著名的 ubuntu“apt-get install”命令或特定于红帽的命令。

最佳答案

首先阅读 William Pursell 对您帖子的评论(上图)。如果您仍然需要安装 autotools ...

  • 通过键入以下内容来检查您可能已经安装了哪些 autotools(如果有):m4 --versionautoconf --versionautomake --version .
  • 您应该使用 HP-UX 的包管理器。它被称为软件分销商 (SD)。 http://en.wikipedia.org/wiki/Software_Distributor
  • HP-UX 的 FAQ 5.9 解释了如何使用 depothelper 处理依赖关系。 http://hpux.connect.org.uk/hppd/answers/5-9.html
  • 您可以在此处找到适用于 HP-UX 的正确自动工具包(autoconf、automake、libtool)。使用 HP-UX 的 native 包管理器安装这些 HP-UX 包,而不是从源代码编译。 http://hpux.connect.org.uk/hppd/packages.html
  • 关于unix - 在 unix 上构建 m4、autoconf、automake、libtool,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24233721/

    相关文章:

    mysql - 表的 key 文件不正确,尝试修复它?

    regex - grep 查找具有特定数据的文字 [方括号]

    c++ - 我可以从 automake/autoconf 中提取 libtool 配置以供单独使用吗?

    linux - autoconf - 如何生成模板并将其复制到正确的目录

    c++ - 将源代码添加到现有的 automake 程序

    linux - 如何判断文件是否在/bin/sh 中超过 30 分钟?

    c - 将单个参数列表传递给两个 v*printf() 调用

    c - 此 C 示例代码中的 CPU 符号是如何解析的?

    autotools - 自动生成错误: no proper invocation of AM_INIT_AUTOMAKE was found

    linux - 绕过 Linux 集群网关 - 从桌面直接进入节点