The binutils build as the lfs user fails:

lfs:/mnt/lfs/sources/binutils-build$ time { ../binutils-2.16.1/configure 
--prefix=/tools --disable-nls && make && make install; }

...

make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
/bin/sh ../binutils-2.16.1/mkinstalldirs /tools /tools
mkdir -p -- /tools /tools
mkdir: cannot create directory `/tools': Permission denied
mkdir: cannot create directory `/tools': Permission denied
make: *** [installdirs] Error 1

real    2m44.850s
user    1m53.950s
sys     0m25.420s


The $LFS directory listing and the permissions:

lfs:/mnt/lfs$ ls -la
total 36
drwxr-xr-x 5 root root  4096 Jul 22 22:18 .
drwxr-xr-x 3 root root  4096 Jul 22 10:22 ..
drwx------ 2 root root 16384 Jun 23 17:05 lost+found
drwxrwxrwt 4 lfs  root  4096 Jul 22 22:19 sources
drwxr-xr-x 2 lfs  root  4096 Jul 22 17:04 tools


Does one need to be the root to do the build?

-- 
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