[lfs-support] 5.4.1 Binutils-2.23.2 error

2013-09-11 Thread virgo

Hello,
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=500
--split-size=500 --version) /dev/null 21; 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=500
--split-size=500   -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--grs-ipv6-64 (ker...@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/d...@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?

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 5.4.1 Binutils-2.23.2 error

2013-09-11 Thread Bruce Dubbs
virgo wrote:

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

 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.

 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--grs-ipv6-64 (ker...@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

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

You seem to have some required progrms in /usr/local/bin.  Does the lfs 
user have /usr/local/bin in the PATH variable?  It's not set up that way 
in the book by default.  Try adjusting the LFS user's ~/.bashrc to 
include that.

   -- Bruce



-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 5.4.1 Binutils-2.23.2 error

2013-09-11 Thread virgo
 You seem to have some required progrms in /usr/local/bin.  Does the lfs 
 user have /usr/local/bin in the PATH variable?  It's not set up that way 
 in the book by default.  Try adjusting the LFS user's ~/.bashrc to 
 include that.

Thank you very much, Bruce.
That was the problem!

For the others beginners like me:
I changed the PATH line in ~/.bashrc (for lfs user)

The old version:
PATH=/tools/bin:/bin:/usr/bin

The new vesion:
PATH=/tools/bin:/bin:/usr/bin:/usr/local/bin


 
-- Bruce
 




-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page