在UNIX上构建M4,Autoconf,Automake,libtool [英] Build m4, autoconf, automake, libtool on unix

查看:144
本文介绍了在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服务器,所以不要推荐著名的ubuntu"apt-get install"命令或red hat特定命令.

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对您的帖子的评论(以上).如果仍然需要安装自动工具...

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

  1. 通过键入以下内容来检查您可能已经安装了哪些自动工具:m4 --versionautoconf --versionautomake --version.
  2. 您应该使用HP-UX的软件包管理器.它称为软件发行商(SD). http://en.wikipedia.org/wiki/Software_Distributor
  3. HP-UX的常见问题解答5.9说明了如何使用depothelper处理依赖项. http://hpux.connect.org.uk/hppd/answers/5 -9.html
  4. 在这里您可以找到适用于HP-UX的正确的autotool软件包(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天全站免登陆