On June 25, 2019 7:44:54 AM CDT, Pierre Labastie via blfs-dev 
<[email protected]> wrote:
>I've been building a full BLFS using the elogind branch for the last
>few days.
>Almost everything built OK. The first issue came with the ~840th
>package:
>smartmontools-7.0. During configure:
>----
>[...]
>checking for cap-ng.h... no
>checking systemd/sd-daemon.h usability... yes
>checking systemd/sd-daemon.h presence... yes
>checking for systemd/sd-daemon.h... yes
>checking for sd_notify in -lsystemd... no
>configure: error: libsystemd headers found but library is missing
>----
>Indeed, there is no libsystemd in either /lib or /usr/lib. But there is
>a
>/usr/lib/pkgconfig/libsystemd.pc, pointing to "-lelogind". the
>configure
>script does not use libsystemd.pc, but I have been able to build the
>package with:
>sed -e 's/\[systemd\]/[elogind]/' \
>    -e 's/-lsystemd/-lelogind/'   \
>    -i configure.ac               &&
>autoreconf -fiv &&
>./configure ...
>
>I'm new to elogind, so there is maybe a better alternative.

Bruce covered the easier way, but optionally, we could create a symlink for 
libsystemd. A couple of distros do exactly that, but I was really trying to 
avoid it (of course, I'd have preferred to avoid the PC symlink as well, but 
that brought too many patches). Really the test should be fixed, I'll look into 
upstreaming a test case for elogind at some point, but not sure about timeframe 
for it to get into a release, same for Xorg (though the PC symlink works for 
it).

>
>Otherwise, there is a bunch of files installed in
>/usr/lib/systemd/user:
>-------
>at-spi-dbus-bus.service
>emacs.service
>evolution-addressbook-factory.service
>evolution-calendar-factory.service
>evolution-source-registry.service
>evolution-user-prompter.service
>gnome-shell.service
>gnome-shell-wayland.target
>gnome-shell-x11.target
>thunar.service
>xfce4-notifyd.service
>-------
>I guess those are missing some --with-systemduserunitdir switch or so.

Yes, that is the correct fix (with =no).

--DJ



-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to