Util-Linux-NG-2.15.1 vs. e2fsprogs
Bryan Kadzban
bryan at kadzban.is-a-geek.net
Sat Jun 27 10:53:32 MDT 2009
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):
>
> lfs at 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. :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://linuxfromscratch.org/pipermail/lfs-dev/attachments/20090627/7c8a41f2/attachment.bin
More information about the lfs-dev
mailing list