Changeset b1e9fd41 for chapter05/bzip2.xml
- Timestamp:
- 12/25/2019 02:21:00 PM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- 3a41eec
- Parents:
- f0b6f13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/bzip2.xml
rf0b6f13 rb1e9fd41 45 45 46 46 <para>The Bzip2 package does not contain a <command>configure</command> 47 script. Compile and test it with:</para> 47 script. There are two <filename>Makefile</filename>, one for the shared 48 library, and the other for the static library. Since we need both, We 49 do the compilation in two stages. First the shared library:</para> 50 51 <screen><userinput remap="make">make -f Makefile-libbz2_so 52 make clean</userinput></screen> 53 54 <variablelist> 55 <title>The meaning of the make parameter:</title> 56 57 <varlistentry> 58 <term><parameter>-f Makefile-libbz2_so</parameter></term> 59 <listitem> 60 <para>This will cause Bzip2 to be built using a different 61 <filename>Makefile</filename> file, in this case the 62 <filename>Makefile-libbz2_so</filename> file, which creates a dynamic 63 <filename class="libraryfile">libbz2.so</filename> library and links 64 the Bzip2 utilities against it.</para> 65 </listitem> 66 </varlistentry> 67 68 </variablelist> 69 70 <para>Compile and test the package with:</para> 48 71 49 72 <screen><userinput remap="make">make</userinput></screen> … … 51 74 <para>Install the package:</para> 52 75 53 <screen><userinput remap="install">make PREFIX=/tools install</userinput></screen> 76 <screen><userinput remap="install">make PREFIX=/tools install 77 cp -v bzip2-shared /tools/bin/bzip2 78 cp -av libbz2.so* /tools/lib 79 ln -sv libbz2.so.1.0 /tools/lib/libbz2.so</userinput></screen> 54 80 55 81 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.