Ignore:
Timestamp:
04/21/2015 10:21:54 PM (9 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
74ebf51
Parents:
d0da965a
Message:

Prevent /tools from being hard coded into eudev binaries.
Update to man-pages-3.8.3.
Suppress duplicate installation of attr man pages.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10895 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/eudev.xml

    rd0da965a r99dd957  
    4545<screen><userinput remap="pre">sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl</userinput></screen>
    4646
     47    <para>Next, add a workaround to prevent the /tools directory from being
     48    hard coded into Eudev binary files library locations:</para>
     49
     50<screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF"
     51HAVE_BLKID=1
     52BLKID_LIBS="-lblkid"
     53BLKID_CFLAGS="-I/tools/include"
     54EOF</userinput></screen>
     55
    4756<para>Prepare Eudev for compilation:</para>
    4857
    49 <screen><userinput remap="configure">BLKID_CFLAGS=-I/tools/include       \
    50 BLKID_LIBS='-L/tools/lib -lblkid'   \
    51 ./configure --prefix=/usr           \
     58<screen><userinput remap="configure">./configure --prefix=/usr           \
    5259            --bindir=/sbin          \
    5360            --sbindir=/sbin         \
     
    5865            --with-rootlibdir=/lib  \
    5966            --enable-split-usr      \
    60             --enable-libkmod        \
    61             --enable-rule_generator \
    62             --enable-keymap         \
    6367            --disable-introspection \
    6468            --disable-gudev         \
    6569            --disable-static        \
     70            --config-cache          \
    6671            --disable-gtk-doc-html</userinput></screen>
    6772
    6873<para>Compile the package:</para>
    6974
    70 <screen><userinput remap="make">make</userinput></screen>
     75<screen><userinput remap="make">LIBRARY_PATH=/tools/lib make</userinput></screen>
    7176
    7277<para>Create some directories now that are needed for tests, but
     
    7883<para>To test the results, issue:</para>
    7984
    80 <screen><userinput remap="test">make check</userinput></screen>
     85<screen><userinput remap="test">make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>
    8186
    8287    <para>Install the package:</para>
    8388
    84 <screen><userinput remap="install">make install</userinput></screen>
     89<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
    8590
    8691    <para>Now, install the man pages:</para>
     
    9095popd</userinput></screen>
    9196
    92     <para>Finally, install some custom rules and support files useful in an LFS
     97    <para>Install some custom rules and support files useful in an LFS
    9398    environment:</para>
    9499
     
    117122    initial database:</para>
    118123
    119 <screen><userinput>udevadm hwdb --update</userinput></screen>
     124<screen><userinput>LD_LIBRARY_PATH=/tools/lib udevadm hwdb --update</userinput></screen>
    120125
    121126    <para>This command needs to be run each time the hardware information is
Note: See TracChangeset for help on using the changeset viewer.