LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS - about 30 Autoconf files and how to do the patches (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-about-30-autoconf-files-and-how-to-do-the-patches-934440/)

spiky0011 03-20-2012 02:07 PM

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

Sjors-rw 03-20-2012 02:09 PM

I know but I dit follewed the book, so I thought it had to be so.

Sjors-rw 03-20-2012 02:14 PM

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.

spiky0011 03-20-2012 02:32 PM

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

business_kid 03-21-2012 03:27 AM

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.

Sjors-rw 03-21-2012 06:24 AM

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.

Sjors-rw 03-21-2012 11:21 AM

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?

druuna 03-21-2012 11:25 AM

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.

business_kid 03-21-2012 12:15 PM

@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.

Sjors-rw 03-21-2012 12:22 PM

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

druuna 03-21-2012 12:33 PM

Did you actually read 1.5.3?

It also includes a link to a page you should definitely read!

Sjors-rw 03-21-2012 12:37 PM

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.in:po/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?

Sjors-rw 03-21-2012 12:41 PM

Wow found my problem myself, the problem was makeinfo. Thanks for the tip of 1.5.3 with that info I fount the problem! :)

Sjors-rw 03-21-2012 01:54 PM

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/'`

spiky0011 03-21-2012 02:31 PM

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.


All times are GMT -5. The time now is 11:42 AM.