Matthew Burgess wrote:
> 1. Build pkg-config in chapter 5 (required for point 3)
> 2. Build util-linux-ng with --with-fsprobe=builtin and
>    'make -C libs/blkid install' to have it provide libblkid for e2fsprogs to 
> use
> 3. Build e2fsprogs with --disable-libblkid so that it uses Util-Linux-NG's
>    version of libblkid, detected via pkg-config during ./configure.

Seems sane.  :-)

> It looks like -lblkid doesn't exist in $(LIBS)
> 
> Tracing this back, I believe this would be the cause (run by configure):
> 
> l...@kyoto:/mnt/lfs/sources/e2fsprogs-1.41.6/build$ pkg-config --libs libblkid
> Package libblkid was not found in the pkg-config search path.

Yep.  pkg-config's search path is (I *believe*) only /usr/lib/pkgconfig
by default, plus whatever's in $PKG_CONFIG_PATH.

How did you configure pkg-config in chapter 5?

Does libblkid.pc actually exist in /tools/lib/pkgconfig (or anywhere
else)?  (I.e. did the chapter-5 util-linux-ng "make -C libs/blkid
install" actually install it?)

Does it work to set PKG_CONFIG_PATH=/tools/lib/pkgconfig before running
the e2fsprogs configure?  If so, we might want to set --with-pc-path
when configuring pkg-config, to make that the default in the chapter 5
build.

> So, with this in mind, do we simply forget about Util-Linux-NG-2.15.1 and
> wait for 2.16 instead, which includes a copy of libuuid?

That works too.  :-)

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to