Eudev was indeed installed in LFS and there is no reason to reinstall it unless the user is going to install a package such as UPower that needs libdudev. These instructions enable building libgudev and also optionally create gir data for Eudev.
Unlike other packages in BLFS, there is no set version of Eudev in this page's title and no set version specified for download. Version updates to Eudev makes it possible that the user's system may have an Eudev version different from the one in the current LFS book. Therefore, users should use the version of Eudev their computer currently uses. With few exceptions, the BLFS team has no experience updating (or reverting to an older version) the Eudev package “on the fly”.
If you are using a version of BLFS different from your currently installed base LFS system, you should use the Eudev source from your LFS build. Newer versions of Eudev may occasionally be incompatible with former ones, either because they require some new options to be enabled in the kernel or because they change the way rules are parsed. For in-system updates to Eudev, you may want to consult the Gentoo page about upgrading Udev.
Download (HTTP): http://dev.gentoo.org/~blueness/eudev
gobject-introspection-1.40.0 (for gir-data, needed for Gnome), docbook-xsl-1.78.1 and libxslt-1.1.28 (to build man pages, which are not shipped with the package), and GTK-Doc-1.20 (to rebuild the documentation)
First, re-build eudev:
sed -i '/struct ucred/i struct ucred;' src/libudev/util.h && sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl && ./configure --prefix=/usr \ --bindir=/sbin \ --sbindir=/sbin \ --libdir=/usr/lib \ --sysconfdir=/etc \ --libexecdir=/lib \ --with-rootprefix= \ --with-rootlibdir=/lib \ --enable-split-usr \ --enable-libkmod \ --enable-rule_generator \ --enable-keymap \ --disable-introspection \ --disable-gtk-doc-html \ --with-firmware-path=/lib/firmware && make
To test the results, issue: make check.
Now re-install as the
This prevents the gir-data instructions from running. Remove this
option if the optional gobject-introspection-1.40.0
package is installed.
This prevents the building of the html data. Remove this option if
the optional GTK-Doc-1.20 package is installed.
Last updated on 2014-06-15 22:49:22 +0000