On 08/02/2014 01:11 PM, Wayne Blaszczyk wrote: > Not sure if I'm doing something wrong but I initially installed systemd > without the compat patch. sometime after that I built polkit successfully. > I then decide to build systemd with the compat patch (I think it was > because I had an issue with NetworkManager). Now polkit fails to build > with the following error. > > checking for clearenv... yes > checking for LIBSYSTEMD_LOGIN... yes > configure: error: libsystemd-login autoconfigured, but system does not > appear to use systemd > > The first polkit build had: > checking for LIBSYSTEMD_LOGIN... no > > Any ideas? > Previous full builds, I used to use the --enable-compat-libs parameter > when building systemd, but this time around I though I would align more > towards the current blfs-systemd book. > > Wayne. >
This is an issue when building in chroot. I have no idea why, but maintainers thought it's a wise idea to check if systemd is *running* before enabling logind support. sed "s:/sys/fs/cgroup/systemd/:/bin:g" -i configure Ugly hack, but works for me. -- Note: My last name is not Krejzi.
signature.asc
Description: OpenPGP digital signature
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
