- Timestamp:
- 07/27/2014 11:18:50 PM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 658b611
- Parents:
- e2fbdae
- Location:
- chapter06
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/e2fsprogs.xml
re2fbdae r49a9e0e9 44 44 <sect2 role="installation"> 45 45 <title>Installation of E2fsprogs</title> 46 47 <para>First fix a problem with running regression tests in the LFS chroot48 environment:</para>49 50 <screen><userinput remap="pre">sed -i -e 's|^LD_LIBRARY_PATH.*|&:/tools/lib|' tests/test_config</userinput></screen>51 46 52 47 <para>The E2fsprogs documentation recommends that the package be built in … … 122 117 <screen><userinput remap="make">make</userinput></screen> 123 118 124 <para>To set up the test suite we need to temporarily copy125 a library from /tools/lib so the test programs can find it.119 <para>To set up and run the test suite we need to first link some 120 libraries from /tools/lib to a location where the test programs look. 126 121 To run the tests, issue:</para> 127 122 128 <screen><userinput remap="test">cp -v /tools/lib/libblkid.so.1 /lib 129 make check 130 rm -v /lib/libblkid.so.1</userinput></screen> 123 <screen><userinput remap="test">ln -sfv /tools/lib/lib{blk,uu}id.so.1 lib 124 make LD_LIBRARY_PATH=/tools/lib check</userinput></screen> 131 125 132 126 <para>One of the E2fsprogs tests will attempt to allocate 256 MB of memory. -
chapter06/perl.xml
re2fbdae r49a9e0e9 48 48 <screen><userinput remap="pre">echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> 49 49 50 <para>This version of Perl now builds the Compress::Raw::Zlib module. By 51 default Perl will use an internal copy of the Zlib source for the build. 52 Issue the following command so that Perl will use the Zlib library 50 <para>This version of Perl now builds the Compress::Raw::Zlib ane 51 Compress::Raw::BZip2 modules. By 52 default Perl will use an internal copy of the sources for the build. 53 Issue the following command so that Perl will use the libraries 53 54 installed on the system:</para> 54 55 55 <screen><userinput remap="pre">sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \ 56 -e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \ 57 -e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \ 58 cpan/Compress-Raw-Zlib/config.in</userinput></screen> 56 <screen><userinput remap="pre">export BUILD_ZLIB=False 57 export BUILD_BZIP2=0</userinput></screen> 59 58 60 59 <para>To have full control over the way Perl is set up, you can remove the … … 116 115 <screen><userinput remap="test">make -k test</userinput></screen> 117 116 118 <para>Install the package:</para> 119 120 <screen><userinput remap="install">make install</userinput></screen> 117 <para>Install the package and clean up:</para> 118 119 <screen><userinput remap="install">make install 120 unset BUILD_ZLIB BUILD_BZIP2</userinput></screen> 121 121 122 122 </sect2> -
chapter06/tar.xml
re2fbdae r49a9e0e9 40 40 <sect2 role="installation"> 41 41 <title>Installation of Tar</title> 42 42 <!-- 43 43 <para>Add a program that generates a man page for tar from the source code:</para> 44 44 45 45 <screen><userinput remap="pre">patch -Np1 -i ../&tar-manpage-patch;</userinput></screen> 46 46 --> 47 47 <para>Prepare Tar for compilation:</para> 48 48 … … 77 77 <screen><userinput remap="install">make install 78 78 make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen> 79 79 <!-- 80 80 <para>Finally, generate the man page and place it in the proper location:</para> 81 81 82 82 <screen><userinput remap="install">perl tarman > /usr/share/man/man1/tar.1</userinput></screen> 83 83 --> 84 84 </sect2> 85 85
Note:
See TracChangeset
for help on using the changeset viewer.