[lfs-dev] LFS SVN and Systemd Report

Bruce Dubbs bruce.dubbs at gmail.com
Thu May 31 15:08:29 PDT 2012

Armin K. wrote:
> On 05/31/2012 11:38 PM, Jeremy Huntwork wrote:
>> On 5/31/12 5:32 PM, Andrew Benton wrote:
>>>> pkk-config
>>>>      glib (required)
>> Since when does glib require Python? Are you using glib2? IIRC,
>> pkg-config up until recently shipped with glib1 sources and built that
>> in its own build system. In fact pkg-config's page says it uses
>> glib-1.2.10 - that's lightweight and has no external deps.
>> Two possibilities
>> 1. Add in glib1 (preferably to pkg-config's internal build like it was
>> previously)
>> 2. Provide a workaround for missing pkg-config in the script - it is
>> possible since pkg-config is pretty basic stuff - it's just looking for
>> link and include options.
>> JH
> pkg-config 0.26 uses glib2 and does not ship glib1 anymore. And since 
> LFS/BLFS tends to use latest stuff, glib 2.32 requires python for gdbus 
> stuff and libffi for some other stuff ... Do note that pkg-config 0.25 
> can be still built flawlessly. It can be installed in temporary system, 
> then just symlink pkg.m4 from /tools/share/aclocal into 
> /usr/share/aclocal and you should be good.

The change was made 11/04/11.  See

The idea of adding pkg-config 0.25 to LFS is a good suggestion.  What do 
others think?  We might want to add it to Chapter 6 so we don't have to 
do a workaround for glib in BLFS.

   -- Bruce

More information about the lfs-dev mailing list