On 6/25/19 7:44 AM, Pierre Labastie via blfs-dev 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.

What I have is libsystemd.pc -> libelogind.pc

Doing some testing, an easier changes is:

sed -i 's/-lsystemd/-lelogind/' configure

No autoreconf is needed.

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. Those
files do not make harm, though...

We will need to address these, but they do not need to hold up the switch to the elogind version of the book.

  -- Bruce

--
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