Glib2 build cannot find automake 1.13 when installing automake 1.14

I am trying to build glib-2.36.4 on CentOS5. I understand that it would be wiser to upgrade to 6, but this is not possible due to customer requirements.

I started the make build and I got the following error. The error reports that automake-1.13 does not exist on the system. However, I built automake 1.14 and installed it. Version automake --version displays the correct version.

I set the yum list | grep automake to ensure the machine does not have conflicting settings.

I tried to deal with the problem, but I can’t think of anything.


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
+4
source share
3 answers

In the top level directory, run the command

automake

, make Automake 1.13, 1.14, , automake Make , .

+8

automake, :  autoreconf -ivf

+9

I ran into a similar problem while trying to compile gnome-mplayer-1.0.9.2 on Ubuntu 14.01.1.

I was able to solve this problem by running the following commands in the source folder:

aclocal
automake
./configure
make
+6
source

Source: https://habr.com/ru/post/1526454/


All Articles