安装automake 1.14时,glib2 build无法找到automake 1.13

时间:2014-02-12 00:45:26

标签: centos glib automake

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

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

我已经安装了一个yum列表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

3 个答案:

答案 0 :(得分:9)

从顶级目录运行命令

automake

基本上,你的makefile是使用Automake 1.13构建的,现在你已经得到了1.14,他们会感到困惑,所以运行automake将使用你的新版本重新创建所有的Makefile。

答案 1 :(得分:9)

在我这边,它会在运行automake后显示一些警告,我运行命令来解决这个问题:  autoreconf -ivf

答案 2 :(得分:6)

在尝试在Ubuntu 14.01.1上编译gnome-mplayer-1.0.9.2时遇到了类似的问题。

我设法通过在源文件夹中运行以下命令来解决它:

aclocal
automake
./configure
make
相关问题