Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/bzip2.xml

    rd7a9421 r0ebda11  
    9999
    100100  </sect2>
     101
     102  <!-- - - - - - - - - - -->
     103  <!-- Multilib - 32bit  -->
     104  <!-- - - - - - - - - - -->
     105 
     106  <sect2 arch="ml_32,ml_all" role="installation">
     107    <title>Installation of Bzip2 - 32bit</title>
     108
     109    <para>Clean previous build:</para>
     110
     111<screen><userinput remap="pre">make clean</userinput></screen>
     112
     113    <para>Compile the package:</para>
     114
     115<screen><userinput remap="make">sed -e "s/^CC=.*/CC=gcc -m32/" -i Makefile{,-libbz2_so}
     116make -f Makefile-libbz2_so
     117make libbz2.a</userinput></screen>
     118
     119    <para>Install the package:</para>
     120
     121<screen><userinput remap="install">install -Dm755 libbz2.so.1.0.8 /usr/lib32/libbz2.so.1.0.8
     122ln -sf libbz2.so.1.0.8 /usr/lib32/libbz2.so
     123ln -sf libbz2.so.1.0.8 /usr/lib32/libbz2.so.1
     124ln -sf libbz2.so.1.0.8 /usr/lib32/libbz2.so.1.0
     125install -Dm644 libbz2.a /usr/lib32/libbz2.a</userinput></screen>
     126
     127  </sect2><!-- m32 -->
     128
     129  <!-- - - - - - - - - - -->
     130  <!-- Multilib - x32bit -->
     131  <!-- - - - - - - - - - -->
     132 
     133  <sect2 arch="ml_x32,ml_all" role="installation">
     134    <title>Installation of Bzip2 - x32bit</title>
     135
     136    <para>Clean previous build:</para>
     137
     138<screen><userinput remap="pre">make clean</userinput></screen>
     139
     140    <para>Compile the package:</para>
     141
     142<screen><userinput remap="make">sed -e "s/^CC=.*/CC=gcc -mx32/" -i Makefile{,-libbz2_so}
     143make -f Makefile-libbz2_so
     144make libbz2.a</userinput></screen>
     145
     146    <para>Install the package:</para>
     147
     148<screen><userinput remap="install">install -Dm755 libbz2.so.1.0.8 /usr/libx32/libbz2.so.1.0.8
     149ln -sf libbz2.so.1.0.8 /usr/libx32/libbz2.so
     150ln -sf libbz2.so.1.0.8 /usr/libx32/libbz2.so.1
     151ln -sf libbz2.so.1.0.8 /usr/libx32/libbz2.so.1.0
     152install -Dm644 libbz2.a /usr/libx32/libbz2.a</userinput></screen>
     153
     154  </sect2><!-- mx32 -->
    101155
    102156  <sect2 id="contents-bzip2" role="content">
Note: See TracChangeset for help on using the changeset viewer.