On 9/13/18 3:37 PM, Terence Waterhouse wrote:
Hello everyone,

This is my second attempt to build LFS and everything went more than smoothly. 
All the builds and test suites gave all the desired results.

Now while building e2fsprogs in section 6.55 I get a fatal error. Here's the 
relevant code :

///////////////////
...
making all in lib/support
make[2]: Entering directory '/sources/e2fsprogs-1.44.3/build/lib/support'
     SUBST ../../lib/dirpaths.h
     CC ../../../lib/support/cstring.c
     CC ../../../lib/support/mkquota.c
     CC ../../../lib/support/plausible.c
../../../lib/support/plausible.c:38:10: fatal error: blkid/blkid.h: No such 
file or directory
  #include "blkid/blkid.h"
           ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:386: plausible.o] Error 1
make[2]: Leaving directory '/sources/e2fsprogs-1.44.3/build/lib/support'
make[1]: *** [Makefile:419: all-libs-recursive] Error 1
make[1]: Leaving directory '/sources/e2fsprogs-1.44.3/build'
make: *** [Makefile:341: all] Error 2
Looks like something in 6.6 - Creating Essential files and Symlinks has been overlooked. Check that all the commands~:
------------

ln -svf /tools/include/blkid    /usr/include
ln -svf /tools/include/libmount /usr/include
ln -svf /tools/include/uuid     /usr/include
install -vdm755 /usr/lib/pkgconfig
for pc in blkid mount uuid
do
    sed 's@tools@usr@g' /tools/lib/pkgconfig/${pc}.pc \
        > /usr/lib/pkgconfig/${pc}.pc
done

----------
have been executed correctly. I think blkid, uuid, etc are not used before 
e2fsprogs, so that's why there was no failure before.
I'd say also that you do not need to start again chapter 6. Just run those commands now, 
specially the "ln -sfv" ones, and
try again to build e2fsprogs (don't forget to remove the whole build tree and 
to untar again e2fsprogs).

Regards
Pierre

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to