在 unix 上构建 m4、autoconf、automake、libtool [英] Build m4, autoconf, automake, libtool on unix

查看:54
本文介绍了在 unix 上构建 m4、autoconf、automake、libtool的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm trying to setup PHP, apache environment on HP-UX server. While install i'm using usual commands of "./configur, make, make install". Here when I'm trying to install PCRE I got an error like follows.

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 命令进行安装.

So I download latest versions of "m4, autoconf and automake" source and try to install using usual make command.

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

First I tried to install "automake" it through error asking to install "autoconf" Then I tried to install autoconf again it ask to install "m4" Then I tried to install "m4" now it through the same error above listed. So it became a loop of same set of error not letting me to install.

谁能帮我解决这个问题.请考虑这是一个 HP-UX unix 服务器,所以不要推荐著名的 ubuntuapt-get install"命令或红帽特定命令.

Can any one help me to sort this issues. Please consider this is a HP-UX unix server so don't recommend the famous ubuntu "apt-get install" command or red hat specific commands.

推荐答案

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

First read William Pursell's comment to your post (above). If you still need to install the autotools ...

  1. 通过键入以下内容检查您可能已经安装的自动工具(如果有):m4 --versionautoconf --versionautomake --版本.
  2. 您应该使用 HP-UX 的包管理器.它被称为软件分销商 (SD).http://en.wikipedia.org/wiki/Software_Distributor
  3. HP-UX 的 FAQ 5.9 解释了如何使用 depothelper 处理依赖项.http://hpux.connect.org.uk/hppd/answers/5-9.html
  4. 您可以在此处找到适用于 HP-UX 的正确自动工具包(autoconf、automake、libtool).使用 HP-UX 的本机包管理器安装这些 HP-UX 包,而不是从源代码编译.http://hpux.connect.org.uk/hppd/packages.html
  1. Check to see what, if any, autotools you may already have installed by typing: m4 --versionand autoconf --versionand automake --version.
  2. You should use HP-UX's package manager. It's called Software Distributor (SD). http://en.wikipedia.org/wiki/Software_Distributor
  3. HP-UX's FAQ 5.9 explains how to handle dependencies using depothelper. http://hpux.connect.org.uk/hppd/answers/5-9.html
  4. Here is where you find the correct autotool packages (autoconf, automake, libtool) for HP-UX. Install these HP-UX packages using HP-UX's native package manager instead of compiling from source. http://hpux.connect.org.uk/hppd/packages.html

这篇关于在 unix 上构建 m4、autoconf、automake、libtool的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆