nick wrote:
> I get the following error from make install.
>
> Any tips?
>
> lfs:/mnt/lfs/sources/diffutils-2.8.1$ make install
> Making install in doc
> make[1]: Entering directory `/mnt/lfs/sources/diffutils-2.8.1/doc'
> make[2]: Entering directory `/mnt/lfs/sources/diffutils-2.8.1/doc'
> make[2]: Nothing to be done for `install-exec-am'.
> /bin/sh ../config/mkinstalldirs /usr/local/info
> mkdir -p -- /usr/local/info
> mkdir: cannot create directory `/usr/local/info': Permission denied
> make[2]: *** [install-info-am] Error 1
> make[2]: Leaving directory `/mnt/lfs/sources/diffutils-2.8.1/doc'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/diffutils-2.8.1/doc'
> make: *** [install-recursive] Error 1
>
>   

Afternoon,

The bit you're looking for is

mkdir: cannot create directory `/usr/local/info': Permission denied

If you are in chapter 5, something went wrong with your configure 
command because its trying to install into /usr, which in chapter 5 is 
still your host system, i'd guess this is where you are because you are 
logged in as user lfs.

If you are in chapter 6 however, you should be root to install diffutils 
into /usr.

Hope this helps.

Regards
Phill Upson
-- 
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