hans kaper wrote:
>
> Building LFS 7.3 I get an install-error in ch.5.20: Findutils-4.4.2:
>
> ..............
> make[3]: Entering directory `/mnt/lfs/sources/findutils-4.4.2/find'
> test -z "/usr/bin" || /tools/bin/mkdir -p "/usr/bin"
>     /tools/bin/install -c 'find' '/usr/bin/find'
> /tools/bin/install: cannot remove '/usr/bin/find': Permission denied
> make[3]: *** [install-binPROGRAMS] Error 1
> make[3]: Leaving directory `/mnt/lfs/sources/findutils-4.4.2/find'
> ............
>
> The error as such is logical: user lfs cannot delete files in the host.
> But because the install stops there, I don't know what I miss after that.
> Looking into the install-log I do not see very much installed before the error
> and I am not clever enough to analyze the makefile.
>
> I checked the logs from the paragraphs before, but I found no errors there,
> neither did I miss a paragraph.
>
> Any suggestions are welcome (and don't tell me I missed an erratum,
> because I checked that:)).

It seems you did not configure with --prefix=/tools.  The log should say:

test -z "/tools/bin" || /tools/bin/mkdir -p "/tools/bin"
   /tools/bin/install -c 'find' '/tools/bin/find'

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