Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm going to build my own Linux from scratch, but I've got an error while running 'make' for binutils in chapter 5 I get some errors. The output of 'make' is here: http://pastebin.com/8aVz6jfd

There is output of version-check.sh

enedil@linux-from-scratch:~$ bash version-check.sh 
bash, version 4.2.45(1)-release
/bin/sh -> /bin/dash
Binutils: (GNU Binutils for Ubuntu) 2.23.2
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.20
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
gawk: not an option: --version
/usr/bin/awk -> /usr/bin/mawk
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
(Ubuntu EGLIBC 2.17-0ubuntu5) 2.17
grep (GNU grep) 2.14
gzip 1.5
Linux version 3.8.0-31-generic (buildd@panlong) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
s: line 33: makeinfo: command not found
Texinfo: 
xz (XZ Utils) 5.1.0alpha
gcc compilation OK

My distro is Ubuntu 13.04.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The problem seems to be missing texinfo, which causes the build process to abort (search the log for lines of the form *** [directory_name] Error X). It also tells you, that you normally shouldn't need it, unless you modified sources for the info manuals. I assume this is in one of the bootstrapping parts of LFS, since otherwise you should have makeinfo available already.

Check what patches you have applied (if any) - they might have modified some of the documentation files thus triggering the rebuild. You may also try to disable manual building (the configure script might have an option for that).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.