Firerat wrote:
>
>
> On Jul 6, 2012 4:29 PM, "Wayne Sallee" 
> <[email protected] 
> <mailto:[email protected]>> wrote:
> >
> > In a previous chapter the following was given:
> > chown -v lfs $LFS/tools
> > chown -v lfs $LFS/sources
> >
> > But root still owns $LFS
> >
> > So now when I enter:
> > mkdir -v ../binutils-build
> >
> > I get Permission Denied.
> >
> > Should lfs also own $LFS?
>
> Your mkdir command should be done when you are in 
> the binutils src dir, in effect you are creating 
> $LFS/sources/binutils-build
> So $LFS need not be owned by lfs
>
> Hope the makes sense,
> To clarify that a little more, each chapter 
> assumes you have done
>
>     untar xyz.tar.bz2
>     cd xyz
>
> the ../ is the parent dir of the current
>

Yes, that makes sence, and what I expected, except 
the book says "The Binutils documentation recommends 
building Binutils outside of the source directory in 
a dedicated build directory".
Now I see what it means. It's referring to the 
Binutils source directory not the $LFS/source 
directory. :-)
So yes, it would be created then in 
$LFS/sources/binutils-build
I understand now. Thanks.


Wayne Sallee
[email protected]
-- 
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