Discussion:
Which component controls automake.info ?
Jeffrey Walton
2018-01-03 04:26:34 UTC
Permalink
I'm trying to update Autoconf and Automake on an old CentOS system.
The build is failing with:

MAKEINFO doc/automake.info
/home/scripts/automake-1.15.1/lib/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
You might want to install the Texinfo package:
<http://www.gnu.org/software/texinfo/>
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
want to install GNU make:
<http://www.gnu.org/software/make/>
gmake: *** [Makefile:2518: doc/automake.info] Error 127

According to ./configure --help, I can disable it with
--disable-FEATURE. The problem I am having is, I don't know what the
feature's name is.

I tried the obvious ones, like --disable-docs and --disable--texi.

What is the feature name of the documentation so I can disable it?

(It also seems like a bad idea to fail a build for a feature I don't
want. Maybe it would be more prudent to print a warning message
instead of failing the primary task).
Václav Haisman
2018-01-03 12:37:53 UTC
Permalink
Post by Jeffrey Walton
I'm trying to update Autoconf and Automake on an old CentOS system.
MAKEINFO doc/automake.info
/home/scripts/automake-1.15.1/lib/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
<http://www.gnu.org/software/texinfo/>
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
<http://www.gnu.org/software/make/>
gmake: *** [Makefile:2518: doc/automake.info] Error 127
According to ./configure --help, I can disable it with
--disable-FEATURE. The problem I am having is, I don't know what the
feature's name is.
I tried the obvious ones, like --disable-docs and --disable--texi.
What is the feature name of the documentation so I can disable it?
(It also seems like a bad idea to fail a build for a feature I don't
want. Maybe it would be more prudent to print a warning message
instead of failing the primary task).
Install it with `yum install texinfo` perhaps?
(https://stackoverflow.com/questions/338317/what-is-makeinfo-and-how-do-i-get-it)
--
VH
Mathieu Lirzin
2018-01-03 15:00:00 UTC
Permalink
Hello,
Post by Jeffrey Walton
I'm trying to update Autoconf and Automake on an old CentOS system.
MAKEINFO doc/automake.info
/home/scripts/automake-1.15.1/lib/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
<http://www.gnu.org/software/texinfo/>
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
<http://www.gnu.org/software/make/>
gmake: *** [Makefile:2518: doc/automake.info] Error 127
According to ./configure --help, I can disable it with
--disable-FEATURE. The problem I am having is, I don't know what the
feature's name is.
I tried the obvious ones, like --disable-docs and --disable--texi.
What is the feature name of the documentation so I can disable it?
(It also seems like a bad idea to fail a build for a feature I don't
want. Maybe it would be more prudent to print a warning message
instead of failing the primary task).
Documentation is not considered as a "feature" in that sense.

Documentation is already "built" in distributed releases so unless you
are modifying the ".texi" sources, 'makeinfo' shouldn't be required by
the build process.

Are you build from a tarball or the Git development repository?

Thanks.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
Jeffrey Walton
2018-01-04 08:20:22 UTC
Permalink
Post by Mathieu Lirzin
Post by Jeffrey Walton
I'm trying to update Autoconf and Automake on an old CentOS system.
MAKEINFO doc/automake.info
/home/scripts/automake-1.15.1/lib/missing: line 81: makeinfo: command not found
...
What is the feature name of the documentation so I can disable it?
(It also seems like a bad idea to fail a build for a feature I don't
want. Maybe it would be more prudent to print a warning message
instead of failing the primary task).
Documentation is not considered as a "feature" in that sense.
Documentation is already "built" in distributed releases so unless you
are modifying the ".texi" sources, 'makeinfo' shouldn't be required by
the build process.
Thanks Mathieu.

Maybe autoreconf is doing it. I need to use it on a lot of older
systems, like CentOS 5 or my PowerMac G5.

I use the old iron for testing. Most of the software is out of date.
Post by Mathieu Lirzin
Are you build from a tarball or the Git development repository?
I'm using the latest release tarball. It is
https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz

Jeff
Mathieu Lirzin
2018-01-04 12:45:38 UTC
Permalink
Hello,
Post by Jeffrey Walton
Post by Mathieu Lirzin
Post by Jeffrey Walton
I'm trying to update Autoconf and Automake on an old CentOS system.
MAKEINFO doc/automake.info
/home/scripts/automake-1.15.1/lib/missing: line 81: makeinfo: command not found
...
Documentation is already "built" in distributed releases so unless you
are modifying the ".texi" sources, 'makeinfo' shouldn't be required by
the build process.
Maybe autoreconf is doing it. I need to use it on a lot of older
systems, like CentOS 5 or my PowerMac G5.
I use the old iron for testing. Most of the software is out of date.
Post by Mathieu Lirzin
Are you build from a tarball or the Git development repository?
I'm using the latest release tarball. It is
https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz
Indeed the 'autoreconf' step might be the issue. When building from a
release tarball the build/install process should only be "./configure &&
make && make install". See the INSTALL file for more detailed
information.

The 'autoreconf' step is meant for developers and maintainers building
from the Git repository. This step generates (among other things) the
"./configure" shell script that is then distributed in tarballs. This
staged build process allows to separate developer dependencies
(Autoconf, Automake, Makeinfo, Help2man, ...) from regular dependency.

HTH.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
Jeffrey Walton
2018-01-04 14:24:48 UTC
Permalink
Post by Mathieu Lirzin
Hello,
Post by Jeffrey Walton
Post by Mathieu Lirzin
Post by Jeffrey Walton
I'm trying to update Autoconf and Automake on an old CentOS system.
MAKEINFO doc/automake.info
/home/scripts/automake-1.15.1/lib/missing: line 81: makeinfo: command not found
...
Documentation is already "built" in distributed releases so unless you
are modifying the ".texi" sources, 'makeinfo' shouldn't be required by
the build process.
Maybe autoreconf is doing it. I need to use it on a lot of older
systems, like CentOS 5 or my PowerMac G5.
I use the old iron for testing. Most of the software is out of date.
Post by Mathieu Lirzin
Are you build from a tarball or the Git development repository?
I'm using the latest release tarball. It is
https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz
Indeed the 'autoreconf' step might be the issue. When building from a
release tarball the build/install process should only be "./configure &&
make && make install". See the INSTALL file for more detailed
information.
This worked well. It was run after configure.

sed -e 's|^MAKEINFO =*|MAKEINFO = true|g' Makefile > Makefile.fixed
mv Makefile.fixed Makefile

Jeff
Mathieu Lirzin
2018-01-04 15:09:35 UTC
Permalink
Post by Jeffrey Walton
Post by Mathieu Lirzin
Hello,
Post by Jeffrey Walton
Post by Mathieu Lirzin
Post by Jeffrey Walton
I'm trying to update Autoconf and Automake on an old CentOS system.
MAKEINFO doc/automake.info
/home/scripts/automake-1.15.1/lib/missing: line 81: makeinfo: command not found
...
Documentation is already "built" in distributed releases so unless you
are modifying the ".texi" sources, 'makeinfo' shouldn't be required by
the build process.
Maybe autoreconf is doing it. I need to use it on a lot of older
systems, like CentOS 5 or my PowerMac G5.
I use the old iron for testing. Most of the software is out of date.
Post by Mathieu Lirzin
Are you build from a tarball or the Git development repository?
I'm using the latest release tarball. It is
https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz
Indeed the 'autoreconf' step might be the issue. When building from a
release tarball the build/install process should only be "./configure &&
make && make install". See the INSTALL file for more detailed
information.
This worked well. It was run after configure.
sed -e 's|^MAKEINFO =*|MAKEINFO = true|g' Makefile > Makefile.fixed
mv Makefile.fixed Makefile
OK. Can you confirm that the following commands works on your system
without requiring 'makeinfo'?

$ wget https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz
$ tar xzf automake-1.15.1.tar.gz
$ cd automake-1.15.1
$ ./configure
$ make

Otherwise it is a bug.

Thanks.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
Loading...