[lfs-dev] LFS SVN and Systemd Report

Andrew Benton andy at benton.eu.com
Thu May 31 14:32:25 PDT 2012

On Thu, 31 May 2012 22:20:25 +0100
Bruce Dubbs <bruce.dubbs at gmail.com> wrote:

> Well Dan, I've run into a problem with autoconf that I can't figure out 
> how to solve.  configure.ac has several lines like:
> PKG_CHECK_MODULES(KMOD, [libkmod >= 5])
> Now that's a reasonable check, but requires cfg.m4 which is installed by 
> pkg_config.  We don't have that in LFS.  I don't know how to get around it.
> To answer a question you may not be up to speed on, we don't install 
> pkg-config in lfs because the pkg-config developers inconveniently made 
> it depend on glib.  The dependencies are:
> pkk-config
>    glib (required)
>      libffi (required)
>      Python (required)
>        pkg-config (recursive, but can work around)
>      pcre  (recommended)
>      several optional dependencies
> We are in the position of needing to install four packages (one 
> incomplete) just to satisfy the systemd build methodology that requires 
> things we don't need for udev.
> Perhaps the way to go is to create a custom Makefile.udev and then
> make -f  Makefile.udev
> make -f  Makefile.udev install
> bypassing autotools.

We can bypass autotools with your make script. The advantage of the
autotools route is that it might get applied upstream.


More information about the lfs-dev mailing list