centos - 安装 automake 1.14 时,glib2 build 找不到 automake 1.13

标签 centos glib automake

我正在尝试在 CentOS5 上构建 glib-2.36.4。我意识到升级到 6 会更明智,但由于客户要求,这是不可能的。

我已经开始构建,但出现以下错误。该错误提示系统上不存在 automake-1.13。但是,我构建了 automake 1.14 并安装了它。 automake --version 输出正确的版本。

我已经安装了一个 yum list | grep automake 以确保 automake 没有安装冲突。

我已经尝试用谷歌搜索这个问题,但我什么也想不出来。


make[4]: Entering directory `/home/tharper/glib-2.36.4/docs/reference/glib'
 cd ../../.. && /bin/sh /home/tharper/glib-2.36.4/missing
automake-1.13 --gnu docs/reference/glib/Makefile
/home/tharper/glib-2.36.4/missing: line 81: automake-1.13: command not found
WARNING: 'automake-1.13' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' 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/>
make[4]: *** [Makefile.in] Error 127
make[4]: Leaving directory `/home/tharper/glib-2.36.4/docs/reference/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tharper/glib-2.36.4/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tharper/glib-2.36.4/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tharper/glib-2.36.4'
make: *** [all] Error 2

最佳答案

从顶级目录运行命令

automake

基本上,您的 makefile 是使用 Automake 1.13 构建的,现在您有 1.14,它们变得很困惑,因此运行 automake 将使用您的新版本重新创建所有 Makefile。

关于centos - 安装 automake 1.14 时,glib2 build 找不到 automake 1.13,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21716385/

相关文章:

c - 如何在不知道其长度的情况下迭代 char**

c++ - 在 CLion 中使用 GLib

linux - kdevelop 3.5 : configure: error: C++ compiler cannot create executables

linux - Perl : Error on compilation, libssl.so.4 无法打开共享对象

没有gettext的Linux Glib安装?

centos - puppet 4.0 vagrant 模块丢失

c - Autotools指定静态库安装路径

c - Fedora 和 ubuntu 中的库相同但名称不同?

检查软件包是否安装的 Pythonic 方法

java - 如何在unix中成功杀死java进程并重新启动它?