[systemd-bugs] [Bug 58167] Makefile tries to install libudev.so.1.2.0 to /lib - and then fails with an error
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Dec 12 05:46:23 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=58167
--- Comment #1 from Michael Biebl <mbiebl at gmail.com> ---
(In reply to comment #0)
> version: systemd-196
> system: debian unstable, i686
>
> Debian currently installs systemd, udev, and pam libraries in /lib, despite
> the /usr merge. But still, configuring with "--libdir=/lib" or with
> "--libexecdir=/lib" or with "--exec-prefix=/" or with
> "--with-rootlibdir=/lib" makes no distinction between /lib/ and /usr/lib/.
> Thus then, installation either fails to install with the error
Could you post the full configure line you used.
>
> 1) If "libgudev-1.0.la" has to go into "/usr/lib", then install it to
> /usr/lib/, not into "libdir" or kin, and similarly, with "pam_systemd.la".
> Yes, there is "configure --with-pamlibdir=/usr/lib/security" - but - does
> that not seem silly, instead of just installing to "/usr/lib/security/"?
>
> 2) Please play nicely with others - though you might still try to persuade
> the Debian Maintainer, Tollef Fog Heen, to stop using /lib/ for systemd.
> Does there need to be an additional "configure" option for a /lib/ install?
systemd/udev is actually one of those few packages which does support the usr
split nicely.
In the Debian we can't for the time being rely on /usr being available during
early boot, so we use the following configure flags:
./configure --prefix=/usr --includedir=${prefix}/include
--mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc
--localstatedir=/var --libdir=${prefix}/lib/x86_64-linux-gnu
--libexecdir=${prefix}/lib/x86_64-linux-gnu --with-rootprefix=
--with-rootlibdir=/lib/x86_64-linux-gnu --enable-libcryptsetup --enable-tcpwrap
--enable-selinux --enable-gtk-doc --disable-coredump --with-distro=debian
(taken from config.log)
This works nicely, no problems with make install or anything.
> 3) "configure --sysconfdir=DIR" defaults to "/usr/etc". Again - this would
> be easier if the default were simply "/etc" instead.
That is how every autotools using package works. Unless you specify
--sysconfdir, it's based on $prefix. So it works as expected.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20121212/5d59c5ad/attachment.html>
More information about the systemd-bugs
mailing list