Clemens Haupt wrote:
To whom it may concern!
There might be a lot of scripts if one have to leave the building
process after he once came up as the chrooted root sucessfully.
So I have minimized the number of issues to necessarily have to be made
for an environment to go on building and compiling.
I would be glad if it could be tested by anyone other, thank you.
You can just use the scripts suggested in the livecd hint (but ignore
everything else in that hint...).
Not a problem, just a curiosity: Chapter 6.1:
The remainder of this book is to be performed while logged in as user
root and no longer as user lfs. Also, double check that $LFS is set.
And as I'm told, in $LFS/sources there only should be buinutils from
before.
And in chapter 6.3 one should chroot. But im chapter 6.9 one needs
the headers
cp -R include/asm-i386 /usr/include/asm
How? Which? From where?
It tells you right in the book - the linux-libc-headers - the same
package you unpacked in chapter 5. I really don't see why this is
difficult to understand.
On the LiveCD there arn't any and which is unaccessible and to where?
Neither asm nor asm-i386 has been built before.
But much more funny
cp -R include/linux /usr/include
chown -R root:root /usr/include/{asm,linux}
It tells you in the book right before this that you are to chrooted.
Again, what is difficult to understand about this? You just follow the
instructions in the book.
Who should do it? The root of the LiveCD or the chrooted one?
Where to get the sources from?
The sources should be in the exact same place they've always been - in
$LFS/source...unless of course you removed them.
So one should have ignored the hints and not deleted linux-libcheaders-
-2.6.11.2/ in $LFS/sources because there is the so called asm-i386
and inspite of cp -R include/linux /usr/include made linux inside.
then as changed root
cd /sources/linux-libc-headers-2.6.11.2 and copy. But not
cp -R include/asm-i386 /usr/include/asm!
Better
cp -R include/asm-i386/* /usr/include/asm if it's the best choice and
cp -R include/linux/* /usr/include/linux
Now I just plain don't know what you're talking about. The book IS clear
and it is simple to understand - you unpack the tarball, enter that
directory, and follow the instructions - exactly as you did in Chapter
5, as stated in section 5.1. You seem to be in need of going over the
book's suggested Linux prerequisites before trying LFS again.
Sometimes the Book is perfectly clear, but not here. Who did write this
chapter?
Kind regards
Clemens
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page