Hello Tor. Hello all.
Well, I couldn't resist the temptation of jhalfs, and gave it a try this
afternoon.
I patched it with the latest jhalfs-X-paco patch (2405).
All worked like a charm until linux-libc-headers installation in chapter 6:
--------------------------------------------------------------------------------
Building target 066-linux-libc-headers
--------------------------------------------------------------------------------
/bin/sh: @ROOT=linux-libc-headers-2.6.12.0: command not found
make: *** [066-linux-libc-headers] Error 127
make: Leaving directory `/mnt/lfs/jhalfs'
And the place in lfs-Makefile where the error occurs is:
@if [ -e $(MOUNT_PT)/tmp/paco.tmp ]; then \
$(CHROOT1) 'paco -lp linux-libc-headers-2.6.12.0 <
/tmp/paco.tmp' && \
rm -f $(MOUNT_PT)/tmp/paco.tmp; \
fi && \
@ROOT=`head -n1 /tmp/unpacked | sed '[EMAIL PROTECTED]/@@;s@/.*@@'` && \
The problem is caused by the paco patch IMHO. Here's the relevant part:
+cat << EOF
+ @if [ -e \$(MOUNT_PT)$PACO_TMPFILE ]; then \\
+ \$(CHROOT1) 'paco -lp $PACKAGE < $PACO_TMPFILE' && \\
+ rm -f \$(MOUNT_PT)$PACO_TMPFILE; \\
+ fi && \\ # <-- yep!
+EOF
I've tried again, changing that "fi && \" with "fi" and all seems ok now.
Cheers.
*david
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page