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 libgudev. 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”.
This package is known to build and work properly using an LFS-7.7 platform.
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.42.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.21 (to rebuild the documentation)
pciutils-3.3.0 and usbutils-008
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/udev-extras
First, re-build eudev:
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 \ --disable-static && make
To test the results, issue: make check.
Now re-install as the root
user:
make install
--disable-introspection
:
This prevents the gir-data instructions from running. Remove this
option if the optional gobject-introspection-1.42.0
package is installed.
--disable-gtk-doc-html
:
This prevents the building of the html data. Remove this option if
the optional GTK-Doc-1.21 package is installed.
--disable-static
: This
switch prevents installation of static versions of the libraries.
Last updated on 2015-03-07 12:58:12 -0500