Andrew Benton wrote:
William Zhou wrote:
I have been using LFS for more than a year's time and it is great.
One of my friend started LFS several days ago and got an error when
adjusting the toolchain( 5.7 ). The problem was that the gcc specs path
was pointed to the host's one. It took me me a while to figure out that
he ignored the creation of user lfs and thus the ~/.bashrc is not
created.
The PATH enviourment does not even includes /tools/bin.
Most of us follows the book's recommendation and never had this problem.
But I believe the creation of LFS should be stated to be mandatory, or at
least make this clear.
I agree with your point about setting up the environment (it is
essential) but on the specific point about creating the user lfs, I
disagree. For a while now (six months or so) I've been doing my builds
creating the temporary tools as myself, the user andy. However, I always
go through the steps of creating ~/.bashrc and ~/.bash_profile and
sourcing them, just like the book says. That creates the correct
environment, not the username.
Andy
If I can just give you my opinion based on my short
experience, creating the user LFS is a recommandation
and not an obligation, because all the book can be
done exactly without this single command. Everything
can be done as root without any change (even if, of
course, it's not *recommanded* due to the risks of
mistake), and the final system would be as good as if
built with lfs user.
Regards
G. Moko
As someone somewhat past the novice stage, around 2 years with Linux, a
little less trying LFS, I thought I might add my two cents. I too have
deviated from the book, but I have heard over and over on this these
lists, and its probably in the book too, that you deviate from the book
at your own risk. I have done so after going "by the book" several
times and got a little adventuresome. If the book does not flat out say
this, I know its somewhere, there are no guarantees once you deviate. I
understood that from day one of finding the LFS site. Yes LFS is "Your
distro, your rules" but the book gives you a stable platform that is
know to work if you want to modify it, again, at your own risk. So in
my opinion, *all* of the instructions in the book are obligatory. My
two cents.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page