Changeset efcb393 for chapter05/findutils.xml
- Timestamp:
- 05/03/2020 09:02:51 PM (4 years ago)
- 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, 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:
- a715dec
- Parents:
- 9d719e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/findutils.xml
r9d719e2 refcb393 43 43 <sect2 role="installation"> 44 44 <title>Installation of Findutils</title> 45 <!--46 <para>First, make some fixes required by glibc-2.28:</para>47 45 48 <screen><userinput remap="pre">sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' gl/lib/*.c49 sed -i '/unistd/a #include <sys/sysmacros.h>' gl/lib/mountlist.c50 echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h</userinput></screen>51 -->52 46 <para>Prepare Findutils for compilation:</para> 53 47 54 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(build-aux/config.guess)</userinput></screen> 55 51 56 52 <para>Compile the package:</para> … … 58 54 <screen><userinput remap="make">make</userinput></screen> 59 55 60 <para>Compilation is now complete. As discussed earlier, running the test61 suite is not mandatory for the temporary tools here in this chapter. To run62 the Findutils test suite anyway, issue the following command:</para>63 64 <screen><userinput remap="test">make check</userinput></screen>65 66 56 <para>Install the package:</para> 67 57 68 <screen><userinput remap="install">make install</userinput></screen> 58 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 59 60 <para>Move the excutable to its final expected location:</para> 61 62 <screen><userinput remap="install">mv -v $LFS/usr/bin/find $LFS/bin 63 sed -i 's|find:=${BINDIR}|find:=/bin|' $LFS/usr/bin/updatedb</userinput></screen> 69 64 70 65 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.