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

Agathoklis D. Hatzimanikas a.hatzim at gmail.com
Thu Feb 12 13:18:03 PST 2009


On Thu, Feb 12, at 01:58 jaredp wrote:
> 
> make[1]: Entering directory `/mnt/lfs/sources/binutils-build'
> /bin/bash ../binutils-2.18/mkinstalldirs /tools /tools
> mkdir -p -- /tools /tools
> mkdir: cannot create directory `/tools': Permission denied
> mkdir: cannot create directory `/tools': Permission denied
> make[1]: *** [installdirs] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
> make: *** [install] Error 2
> 
> Is it trying to create a directory in /tools?
> I would think it was trying to make a directory in /mnt/lfs/tools ?
>

Have you created the symbolic link to /tools? See more in:
4.2. Creating the $LFS/tools Directory

And please, top posting is against the netiquette, read more in:
http://www.linuxfromscratch.org/faq/#netiquette
Also try to trim your replies.

Regards,
Ag.



More information about the lfs-support mailing list