[lfs-support] 5.4.1 Binutils-2.23.2 error

virgo virgo54 at hotmail.com
Wed Sep 11 02:07:57 PDT 2013

I have a problem on LFS v7.4, chapter 5.4.1: Installation of Cross Binutils

'configure' step seemes to be ok.

The 'make' command logs the following lines:
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
Making info in doc
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/doc'
restore=: && backupdir=".am$$" && \
	rm -rf $backupdir && mkdir $backupdir && \
	if (/mnt/lfs/sources/binutils-2.23.2/missing makeinfo --split-size=5000000
--split-size=5000000 --version) >/dev/null 2>&1; then \
	  for f in bfd.info bfd.info-[0-9] bfd.info-[0-9][0-9] bfd.i[0-9]
bfd.i[0-9][0-9]; do \
	    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
	  done; \
	else :; fi && \
	if /mnt/lfs/sources/binutils-2.23.2/missing makeinfo --split-size=5000000
--split-size=5000000   -I ../../../binutils-2.23.2/bfd/doc \
	 -o bfd.info `test -f 'bfd.texinfo' || echo
'../../../binutils-2.23.2/bfd/doc/'`bfd.texinfo; \
	then \
	  rc=0; \
	else \
	  rc=$?; \
	  $restore $backupdir/* `echo "./bfd.info" | sed 's|[^/]*$||'`; \
	fi; \
	rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[3]: *** [bfd.info] Error 1
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/doc'
Making info in po
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
make: *** [all] Error 2

My host is a Ubuntu 10.04.2 LTS and the output of version-check.sh is:

bash, version 4.1.5(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.20.1-system.20100303
bison (GNU Bison) 2.3
/usr/bin/yacc -> /usr/local/bin/bison
bzip2,  Version 1.0.5, 10-Dec-2007.
Coreutils:  7.4
diff (GNU diffutils) 2.8.1
find (GNU findutils) 4.4.2
GNU Awk 4.0.1
/usr/bin/awk -> /usr/local/bin/gawk
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
(Ubuntu EGLIBC 2.11.1-0ubuntu7.12) 2.11.1
GNU grep 2.5.4
gzip 1.3.12
Linux version 3.10.9-xxxx-grs-ipv6-64 (kernel at kernel.ovh.net) (gcc version
4.7.2 (Debian 4.7.2-5) ) #1 SMP Wed Aug 21 11:51:59 CEST 2013
m4 (GNU M4) 1.4.10
GNU Make 3.81
patch 2.6
Perl version='5.10.1';
GNU sed version 4.2.1
tar (GNU tar) 1.22
Texinfo: makeinfo (GNU texinfo) 4.9
xz (XZ Utils) 5.0.0
g++ compilation OK

PS: Although I'm not using Texinfo-5.1, I tried the tip from the book
"Fix a couple of syntax errors that prevent the documentation from building
with Texinfo-5.1: 
sed -i -e 's/@colophon/@@colophon/' \
       -e 's/doc at cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo"
but it makes no difference.

Any hint on what's wrong, why the 'makeinfo' is missing?

More information about the lfs-support mailing list