Binutils compilation: mkdir: cannot create directory `/tools': Permission denied

Randy McMurchy lfs.user at mcmurchy.com
Thu Feb 12 12:02:37 PST 2009


jaredp wrote these words on 02/12/09 13:48 CST:
> Received a permission error while following the Binutils compilation from ch5:
> http://www.linuxfromscratch.org/lfs/view/6.4/chapter05/binutils-pass1.html
> 
> The problem seems similar to the thread
> http://www.linuxfromscratch.org/pipermail/lfs-support/2005-June/027472.html
> 
> What differed from the book was that the command time { ./configure
> ... && make && make install; }.
> wouldn't work because there was no ./configure script.  So I just did
> the following:
> time { make && make install; }

Well, that's not going to work. I'll disregard all the sudo/su stuff
you say later, as you've screwed up already without even having to
worry about the other stuff.

In binutils you should be in a binutils-build directory and then follow
the book where it says to

../binutils-(version)/configure

You've messed up the first package, hopefully this will be a lesson for
you else you're in for a long, long road.

Just follow the book for now, line by line without deviation. Once you
learn the basics, then go back and try to do SBU calcs and other
customizations.

-- 
Randy

rmlscsi: [bogomips 1003.24] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
13:59:00 up 5 days, 6:22, 1 user, load average: 0.22, 0.23, 0.14



More information about the lfs-support mailing list