On Monday 16 January 2006 18:45, kshama shepal wrote:
> Hi,
> (sorry...i forgot to write subject in my first mail)
>
>    I am building an LFS system as my Project
> assignment.But while building packages ,following
> errors encounterd.please help if anyone can solve this
> problem-
>
>     -while building 'Binutils pass 1' in chapter 5-
>
>    -when i run command 'make installÂ’, following
> errors occurred -
>
>      mkdir: cannot create directory `.am9270':
> Permission denied
>      ../../../binutils-2.15.91.0.2/gas/doc/as.info:
> Permission denied
>      make[3]: ***
> [../../../binutils-2.15.91.0.2/gas/doc/as.info] Error
> 1
>      make[3]: Leaving directory
> `/mnt/lfs/sources/binutils-build/gas/doc'
>      make[2]: *** [install-am] Error 2
>      make[2]: Leaving directory
> `/mnt/lfs/sources/binutils-build/gas/doc'
>      make[1]: *** [install-recursive] Error 1
>      make[1]: Leaving directory
> `/mnt/lfs/sources/binutils-build/gas'
>      make: *** [install-gas] Error 2
>
>
>    -Taking a hint from similar FAQ,i checked
> '/etc/fstab' file. but it was all right.
>    -Then i tried to build 'Binutils' as 'rootÂ’. The
> error were NOT there.
>    -where do you think i had made a mistake.
>    -Should i proceed installation as 'root'.
>
> please help.
Hi, You should never do a ./configure nor a make as root. The above error 
however means you have no permission to create directory .am9270. This should 
never come up during ./configure nor make, as a build should *never* try to 
write outside the directory the source is in.

Make install however tries to copy the made program onto your system. This 
should be done as root, or at least (like a do) by a user who has write 
permissions at those places.

This said, you should check the permissions of the directory where you want to 
write in. Try to create the directory manually as the user you build as.

Last, this is not the place to ask these questions, use lfs-support for that 
in the future.

Greets, and welcome aboard,
Cedric
--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to