我想安装autoconf
在 HP-UX 服务器上,我下载autoconf-2.58
并运行configure
了以下内容:
所以我下载m4-1.4
并尝试安装它。configure
没关系,但运行make
我得到:
那么m4-1.4
需要autoconf
安装吗?但同时autoconf
需要m4-1.4
。
我该怎么办 ?
屏幕截图中的错误显示 m4 已安装(位于 /bin/m4),但不支持frozen files
.
但是从http://sunfreeware.saix.net/indexsparc10.html(对于 Solaris),我没有在 autoconf 中看到需要 m4 的依赖项列表。通常它在 HP_UX 中应该是相同的。
autoconf-2.68-sol10-sparc-local.gz GNU autoconf is a package for generating configure scripts - installs in /usr/local.
m4-1.4.16-sol10-sparc-local.gz GNU `m4' is an implementation of the traditional Unix macro processor - installs in /usr/local. Dependencies: libsigsegv and to obtain libgcc_so.so.1, you will need to install either libgcc-3.4.6 or gcc-3.4.6 or later.
首先,您可以检查的是,是否gcc
已libgcc
正确安装和设置。
其次,检查m4是否在PATH中,例如/usr/bin:/bin:/usr/local/bin。如果在 /bin/m4 中找到,你能显示版本吗/bin/m4 --version
?
我认为您的configure
步骤实际上未能配置 M4。这条No suffix list.
信息让我怀疑。我在 linux 上下载了 GNU M4 1.4(1994 年 11 月)configure
d。我看到的唯一需要的 make 目标autoconf
是configure
目标。
使用更新的 GNU M4/autoconf 版本可能会取得更好的成功。