LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-20-2012, 02:07 PM   #31
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412

It,s no good if you get errors to proceed.
There is a reason for the errors is that something has gone wrong, with either the package you are on or previous 1's
 
Old 03-20-2012, 02:09 PM   #32
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
I know but I dit follewed the book, so I thought it had to be so.
 
Old 03-20-2012, 02:14 PM   #33
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
I've been looking to another guide, with more detailed instructions, are there any? Or is there someone around here, who wants to give me support via msn or something that would be great. I think this guide has to do much more with details about which path you are right now etc.
 
Old 03-20-2012, 02:32 PM   #34
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
As far as i,m awhere the book is the only tutorial for building, It dose work as many ppl have built systems from it
 
Old 03-21-2012, 03:27 AM   #35
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,291

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I have done LFS several times. Once you build the toolchain error free, i.e. glibc, gcc and kernel headers) in Ch.5, you can do ch. 5 & ch 6 toolchain. Once you build that toolchain error free you can do the rest. That's a condition for putting up the stable book.

You're probably here after fruitless mails on lq itself. YOUR machine/distro doesn't measure up if you can't get that far. If you want to moan, go ahead. If you want people to cast an eye over your problems, you have to show us. No make -k; when a build fails, hit up arrow & return and catch the first error. That's all we need to see.
 
Old 03-21-2012, 06:24 AM   #36
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
Your right, I've found a nice guy who wants to give me some support via MSN, when we both haven't an idea to come further I'm going back to here. Thanks for the support so far.
 
Old 03-21-2012, 11:21 AM   #37
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
Look, I'm getting this kind of erros:

make[3]: Leaving directory `/mnt/react/binutils-build/bfd/po'
make[3]: Entering directory `/mnt/react/binutils-build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/mnt/react/binutils-build/bfd/po'
make[3]: Entering directory `/mnt/react/binutils-build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/mnt/react/binutils-build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/mnt/react/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/mnt/react/binutils-build'
make: *** [all] Error 2

Note the Make *** [all] ERROR 2, is this a problem?
 
Old 03-21-2012, 11:25 AM   #38
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

You need to include the actual error (as explained here: 1.5 Help (1.5.3)).

And: Yes, that is a problem. But without the error we cannot point you to any possible solution.

EDIT: Also include the exact command(s) you used in this chapter to get to this point.

Last edited by druuna; 03-21-2012 at 11:30 AM.
 
Old 03-21-2012, 12:15 PM   #39
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,291

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
@Sjors-rw:
As a general yardstick, most threads are sorted in under 7 posts. This is 32 posts - most of your LQ history. There's no point unless you give exact errors. When a compile fails,
1. Hit up arrow & return
2. Post the _first_ error. You posted the last ones.
3. If you can't see the first error run 'make > file 2>&1' and check the file with less.
 
Old 03-21-2012, 12:22 PM   #40
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
so you mean this one:

make[3]: *** [bfd.info] Error 1
make[2]: *** [info-recursive] Error 1
make[1]: *** [all-bfd] Error 2
make: *** [all] Error 2

The commands I used are exactly the same as from the book:

mkdir -v ../binutils-build
cd ../binutils-build

../binutils-2.22/configure --target=$LFS_TGT \
--prefix=/tools \
--disable-nls \
--disable-werror
 
Old 03-21-2012, 12:33 PM   #41
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Did you actually read 1.5.3?

It also includes a link to a page you should definitely read!
 
Old 03-21-2012, 12:37 PM   #42
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
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/react/binutils-build/bfd/doc'
Making info in po
make[3]: Entering directory `/mnt/react/binutils-build/bfd/po'
( if test 'x../../../binutils-2.22/bfd/po' != 'x.'; then \
posrcprefix='../../../binutils-2.22/bfd/'; \
else \
posrcprefix="../"; \
fi; \
rm -f SRC-POTFILES-t SRC-POTFILES \
&& (sed -e '/^#/d' \
-e '/^[ ]*$/d' \
-e "s@.*@ $posrcprefix& \\\\@" < ../../../binutils-2.22/bfd/po/SRC-POTFILES.in \
| sed -e '$s/\\$//') > SRC-POTFILES-t \
&& chmod a-w SRC-POTFILES-t \
&& mv SRC-POTFILES-t SRC-POTFILES )
( rm -f BLD-POTFILES-t BLD-POTFILES \
&& (sed -e '/^#/d' \
-e '/^[ ]*$/d' \
-e "s@.*@ ../& \\\\@" < ../../../binutils-2.22/bfd/po/BLD-POTFILES.in \
| sed -e '$s/\\$//') > BLD-POTFILES-t \
&& chmod a-w BLD-POTFILES-t \
&& mv BLD-POTFILES-t BLD-POTFILES )
cd .. \
&& CONFIG_FILES=po/Makefile.ino/Make-in \
CONFIG_HEADERS= /bin/bash ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[3]: Leaving directory `/mnt/react/binutils-build/bfd/po'
make[3]: Entering directory `/mnt/react/binutils-build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/mnt/react/binutils-build/bfd/po'
make[3]: Entering directory `/mnt/react/binutils-build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/mnt/react/binutils-build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/mnt/react/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/mnt/react/binutils-build'
make: *** [all] Error 2

So this code? Can I assume I'm missing makeinfo and that's the problem?
 
Old 03-21-2012, 12:41 PM   #43
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
Wow found my problem myself, the problem was makeinfo. Thanks for the tip of 1.5.3 with that info I fount the problem!
 
Old 03-21-2012, 01:54 PM   #44
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
I am now at: 5.5 and stuck on the latest command, getting this error:

No command '-gcc' found, did you mean:
Command 'cgcc' from package 'sparse' (multiverse)
Command 'gcc' from package 'gcc' (main)
Command 'gcc' from package 'pentium-builder' (universe)
-gcc: command not found
`./libgcc.a' -> `libgcc.a'

with this command: ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/'`
 
Old 03-21-2012, 02:31 PM   #45
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

I know you have been getting problems,
Did you make sure your host system was compliant, as texinfo is 1 of the dependencies, and what host are you using.
 
  


Reply

Tags
lfs, packages, patches



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to apply patches in lfs 7.0? Atharv Patil Linux From Scratch 5 01-23-2012 11:17 AM
*** YOU'RE USING autoconf (GNU Autoconf) 2.60. KDE requires autoconf 2.52, 2.53 or 2. arubin Slackware 6 09-24-2008 03:31 AM
patches in LFS saritha Linux From Scratch 1 02-13-2008 03:39 AM
LFS-5.0:Chapter 6:autoconf-2.57 Dumper.pm missing jazernorth Linux From Scratch 12 11-12-2005 10:11 AM
URGENT glibc 2.3.3 - lfs -5.1 --> bug in autoconf geiser Linux From Scratch 1 08-18-2004 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration