ok thank you everyone that clears it up.  i had this on digest mode so i
didn't see the responses until now, so i just changed it.

i didn't realize that big red exclamation point box was a step itself.  i
thought it was a kind of important concept overview or summary of what is
to be laid out ahead in the proceeding steps (pages).

however after what firerat mentioned...now i'm wondering, will having the
owner of $LFS being root:root cause problems later on?

i dont remember anywhere before chapter 5.4 and after mounting the lfs
partition to change the owner:group of $LFS to lfs:lfs.



thanks for your time,

dave


On Thu, Dec 29, 2011 at 2:00 AM,
<[email protected]>wrote:

> Send lfs-support mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://linuxfromscratch.org/mailman/listinfo/lfs-support
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lfs-support digest..."
>
>
> Today's Topics:
>
>   1.  confusion setting up binutils-build directory (Dave H)
>   2. Re:  confusion setting up binutils-build directory (John Fanjoy)
>   3. Re:  confusion setting up binutils-build directory (Andrew Benton)
>   4. Re:  confusion setting up binutils-build directory (Firerat)
>   5. Re:  confusion setting up binutils-build directory (Simon Geard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 28 Dec 2011 05:53:04 -0500
> From: Dave H <[email protected]>
> Subject: [lfs-support] confusion setting up binutils-build directory
> To: [email protected]
> Message-ID:
>        <caod6e4eehuwj5jzkbru3yruyzgwqaolugd4t95vxajwbnm7...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> hi, i am at Chapter 5.4 of the lfs manual v7.0 and i'm confused where it
> says to make the binutils-build directory.
>
>
>
> i am assuming at this step, i should be user lfs and currently in the
> $LFS/sources directory.
>
> however the command mkdir -v ../binutils-build cannot successfully issued
> by user lfs, because the $LFS is owned by root (partition that was mounted
> as root).
>
>
> SO question would be...
> *A:  Should the owner:group of $LFS be root:root or lfs:lfs ?*
> **or**
> *B:  Should the commands listed in Chapter 5.4 be issued as user
> rootinstead of user
> lfs?*
>
>
> (the page i am currently viewing)
>
> http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass1.html
>
>
>
> thank you for your time and i appreciate your generous work on
> linuxfromscratch.
>
> best regards,
> dave
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://linuxfromscratch.org/pipermail/lfs-support/attachments/20111228/baea7d43/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 28 Dec 2011 05:56:33 -0500
> From: John Fanjoy <[email protected]>
> Subject: Re: [lfs-support] confusion setting up binutils-build
>        directory
> To: LFS Support List <[email protected]>
> Message-ID:
>        <CAAS0BT1da0uWQFLY_h80ye3JC=sor+tyooyip2v3m1jgpjm...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Dec 28, 2011 5:53 AM, "Dave H" <[email protected]> wrote:
> >
> > hi, i am at Chapter 5.4 of the lfs manual v7.0 and i'm confused where it
> says to make the binutils-build directory.
> >
> >
> >
> > i am assuming at this step, i should be user lfs and currently in the
> $LFS/sources directory.
> >
> > however the command mkdir -v ../binutils-build cannot successfully issued
> by user lfs, because the $LFS is owned by root (partition that was mounted
> as root).
> >
> >
> > SO question would be...
> > A:  Should the owner:group of $LFS be root:root or lfs:lfs ?
> > **or**
> > B:  Should the commands listed in Chapter 5.4 be issued as user root
> instead of user lfs?
> >
> >
> > (the page i am currently viewing)
> >
>
> http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass1.html
> >
> >
> >
> > thank you for your time and i appreciate your generous work on
> linuxfromscratch.
> >
> > best regards,
> > dave
> >
> > --
> > http://linuxfromscratch.org/mailman/listinfo/lfs-support
> > FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> > Unsubscribe: See the above information page
> >
> The build directory is created inside of LFS, but outside of the binutils
> directory. The command is executed from within the binutils directory
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://linuxfromscratch.org/pipermail/lfs-support/attachments/20111228/c762a040/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 28 Dec 2011 13:22:35 +0000
> From: Andrew Benton <[email protected]>
> Subject: Re: [lfs-support] confusion setting up binutils-build
>        directory
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=US-ASCII
>
> On Wed, 28 Dec 2011 05:53:04 -0500
> Dave H <[email protected]> wrote:
>
> > hi, i am at Chapter 5.4 of the lfs manual v7.0 and i'm confused where it
> > says to make the binutils-build directory.
> >
> >
> >
> > i am assuming at this step, i should be user lfs and currently in the
> > $LFS/sources directory.
> >
> > however the command mkdir -v ../binutils-build cannot successfully issued
> > by user lfs, because the $LFS is owned by root (partition that was
> mounted
> > as root).
>
> Read the book, particularly the box marked important on this page:
>
> http://www.linuxfromscratch.org/lfs/view/stable/chapter05/generalinstructions.html
> So, on each page you should untar the source, cd into the
> directory created and then start executing the commands on the page.
> So, for binutils you should start in /mnt/lfs/sources/binutils-2.21.1
> and mkdir -v ../binutils-build will make
> /mnt/lfs/sources/binutils-build. If you're following the book
> /mnt/lfs/sources is owned and writable for user lfs so there is no
> problem.
>
> Andy
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 28 Dec 2011 16:21:41 +0000
> From: Firerat <[email protected]>
> Subject: Re: [lfs-support] confusion setting up binutils-build
>        directory
> To: LFS Support List <[email protected]>
> Message-ID:
>        <cakhqvjzr8kphpcffzpewbudzcypv_lxtzkycfpmbs_dgzcp...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> $LFS shouldn't be owned by root, instead it should be owned by your lfs
> build user, as root
>   chown lfs:lfs $LFS -R
>
> tbh off the top of my head I can't recall if this is detailed in chapter4
>
> Personally I create a build dir on the root of LFS
>   mkdir $LFS/build
> I then symlink the sources/patch files into it
>   ln -s $LFS/sources/* $LFS/build/
>
> This way if I decide I want to start over I can just delete everthing
> except sources
> which is easier than cleaning up dirs in source
>
> to make the untar and cd a little quicker ( and much easier for scripts )
> I create this 'function'
>
> untar () { cd $( tar -vxf $1 | awk -F\/ 'END{print $1}' ) }
>
> it is very basic, it could be expanded to do checks ( like file exists etc.
> )
>
> untar sometarball.tar.bz2
>
> very useful if you are scripting a build, as you don't need to guess where
> stuff was untared to, you automatically end up in the desired dir.
> On Dec 28, 2011 10:53 AM, "Dave H" <[email protected]> wrote:
>
> > hi, i am at Chapter 5.4 of the lfs manual v7.0 and i'm confused where it
> > says to make the binutils-build directory.
> >
> >
> >
> > i am assuming at this step, i should be user lfs and currently in the
> > $LFS/sources directory.
> >
> > however the command mkdir -v ../binutils-build cannot successfully issued
> > by user lfs, because the $LFS is owned by root (partition that was
> > mounted as root).
> >
> >
> > SO question would be...
> > *A:  Should the owner:group of $LFS be root:root or lfs:lfs ?*
> > **or**
> > *B:  Should the commands listed in Chapter 5.4 be issued as user
> rootinstead of user
> > lfs?*
> >
> >
> > (the page i am currently viewing)
> >
> >
> http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass1.html
> >
> >
> >
> > thank you for your time and i appreciate your generous work on
> > linuxfromscratch.
> >
> > best regards,
> > dave
> >
> > --
> > http://linuxfromscratch.org/mailman/listinfo/lfs-support
> > FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> > Unsubscribe: See the above information page
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://linuxfromscratch.org/pipermail/lfs-support/attachments/20111228/ccaa5587/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Thu, 29 Dec 2011 15:28:51 +1300
> From: Simon Geard <[email protected]>
> Subject: Re: [lfs-support] confusion setting up binutils-build
>        directory
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> On Wed, 2011-12-28 at 05:53 -0500, Dave H wrote:
> > hi, i am at Chapter 5.4 of the lfs manual v7.0 and i'm confused where
> > it says to make the binutils-build directory.
> >
> >
> >
> > i am assuming at this step, i should be user lfs and currently in the
> > $LFS/sources directory.
>
> No. Remember, *every* package in LFS assumes that you've first extracted
> the appropriate sources, and gone into the resulting directory. Then,
> and only then, do you run the instructions on the individual page.
>
> If you're not doing this, go back and reread the section titled "General
> Compilation Instructions". Particularly the bit at the bottom marked
> "Important!", with a big heavy "pay attention" border around it. We're
> not joking when we say it's important.
>
> Simon.
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 198 bytes
> Desc: This is a digitally signed message part
> Url :
> http://linuxfromscratch.org/pipermail/lfs-support/attachments/20111229/99b07b97/attachment-0001.bin
>
> ------------------------------
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>
> End of lfs-support Digest, Vol 2477, Issue 1
> ********************************************
>
-- 
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