Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/kmod.xml

    rb9178d32 r8377317  
    8181        </term>
    8282        <listitem>
    83           <para>This option disables generating the manpages which
     83          <para>This option disables generating the man pages which
    8484          requires an external program.</para>
    8585        </listitem>
     
    111111
    112112  </sect2>
    113 
    114   <!-- - - - - - - - - - -->
    115   <!-- Multilib - 32bit  -->
    116   <!-- - - - - - - - - - -->
    117  
    118   <sect2 arch="ml_32,ml_all" role="installation">
    119     <title>Installation of Kmod - 32bit</title>
    120 
    121     <para>Clean previous build but keep man pages as they cannot
    122     be recreated since xsltproc isn't installed yet:</para>
    123 
    124 <screen><userinput remap="pre">sed -e "s/^CLEANFILES =.*/CLEANFILES =/" -i man/Makefile
    125 make clean</userinput></screen>
    126 
    127     <para>Prepare Kmod for compilation:</para>
    128 
    129 <screen><userinput remap="configure">CC="gcc -m32" ./configure \
    130     --host=i686-pc-linux-gnu      \
    131     --prefix=/usr                 \
    132     --libdir=/usr/lib32           \
    133     --sysconfdir=/etc             \
    134     --with-openssl                \
    135     --with-xz                     \
    136     --with-zstd                   \
    137     --with-zlib                   \
    138     --disable-manpages            \
    139     --with-rootlibdir=/usr/lib32</userinput></screen>
    140 
    141     <para>Compile the package:</para>
    142 
    143 <screen><userinput remap="make">make</userinput></screen>
    144 
    145     <para>Install the package:</para>
    146 
    147 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    148 cp -Rv DESTDIR/usr/lib32/* /usr/lib32
    149 rm -rf DESTDIR</userinput></screen>
    150 
    151   </sect2><!-- m32 -->
    152 
    153   <!-- - - - - - - - - - -->
    154   <!-- Multilib - x32bit -->
    155   <!-- - - - - - - - - - -->
    156  
    157   <sect2 arch="ml_x32,ml_all" role="installation">
    158     <title>Installation of Kmod - x32bit</title>
    159 
    160     <para>Clean previous build but keep man pages as they cannot
    161     be recreated since xsltproc isn't installed yet:</para>
    162 
    163 <screen><userinput remap="pre">sed -e "s/^CLEANFILES =.*/CLEANFILES =/" -i man/Makefile
    164 make clean</userinput></screen>
    165 
    166     <para>Prepare Kmod for compilation:</para>
    167 
    168 <screen><userinput remap="configure">CC="gcc -mx32" ./configure \
    169     --host=x86_64-pc-linux-gnux32 \
    170     --prefix=/usr                 \
    171     --libdir=/usr/libx32          \
    172     --sysconfdir=/etc             \
    173     --with-openssl                \
    174     --with-xz                     \
    175     --with-zstd                   \
    176     --with-zlib                   \
    177     --disable-manpages            \
    178     --with-rootlibdir=/usr/libx32</userinput></screen>
    179 
    180     <para>Compile the package:</para>
    181 
    182 <screen><userinput remap="make">make</userinput></screen>
    183 
    184     <para>Install the package:</para>
    185 
    186 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    187 cp -Rv DESTDIR/usr/libx32/* /usr/libx32
    188 rm -rf DESTDIR</userinput></screen>
    189 
    190   </sect2><!-- mx32 -->
    191113
    192114  <sect2 id="contents-kmod" role="content">
Note: See TracChangeset for help on using the changeset viewer.