On 10/22/2010 09:24 AM, Andrew Benton wrote:
On Fri, 22 Oct 2010 08:59:55 -0700
Nolan<[email protected]>  wrote:

IIRC ubuntu will not allow me to create anything in the native
environment without a 'sudo'.

Sure, so use sudo to create the user lfs, format and mount the
partition, create the folders /mnt/lfs/sources and /mnt/lfs/tools,
chown then so they are owned by lfs and create the /tools
=>  /mnt/lfs/tools symlink

> From then on _everything_ should be done as the user lfs until you get
to the end of chapter 5

Can I change the directory and file ownership to "lfs" with a chown, or
is the fact that the programs were compiled as
"root" have a detrimental effect?
chown -R lfs /mnt/lfs/{sources,tools} may work, I don't know.
The detrimental effect of compiling as root is that root can install
files anywhere and so may damage your host system.

Andy
   Code:     chown -R
worked. I only had to do this for the /tools directory, I checked a number of
directories  3 and 4 levels deep, and all were owned by lfs.
The /mnt/lfs was all setup per instructions in the book.

I am now to 5.10.1 and have applied the gcc-startfiles patch, and it was successful. I am now at unpacking, configuring && make && make installing the three files
gmp, mpfr, and mpc.
My question is, where are these installed? My first guess would be in /mnt/lfs/tools/{bin,lib}, would be be correct? As this is for pass2, they cannot be in the /tools directory, as it would not be available in the chrooted environment.
Some info on this would be a great help for me.

Thanks
Nolan

PING: Mike
I might(should) have make it clearer, IIRC="[I]f [I] [R]emember [C]orrectly). :)
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to