Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/util-linux.xml

    r9b01d1b rce45f8d  
    128128  </sect2>
    129129
     130  <!-- - - - - - - - - - -->
     131  <!-- Multilib - 32bit  -->
     132  <!-- - - - - - - - - - -->
     133 
     134  <sect2 arch="ml_32,ml_all" role="installation">
     135    <title>Installation of Util-linux - 32-bit</title>
     136
     137    <para>Clean previous build:</para>
     138
     139<screen><userinput remap="pre">make distclean</userinput></screen>
     140
     141    <para>Prepare Util-linux for compilation:</para>
     142
     143<screen><userinput remap="configure">CC="gcc -m32" \
     144./configure --host=i686-pc-linux-gnu \
     145            --libdir=/usr/lib32      \
     146            --runstatedir=/run       \
     147            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     148            --disable-chfn-chsh   \
     149            --disable-login       \
     150            --disable-nologin     \
     151            --disable-su          \
     152            --disable-setpriv     \
     153            --disable-runuser     \
     154            --disable-pylibmount  \
     155            --disable-static      \
     156            --disable-liblastlog2 \
     157            --without-python      \
     158            ADJTIME_PATH=/var/lib/hwclock/adjtime</userinput></screen>
     159
     160    <para>Compile the package:</para>
     161
     162<screen><userinput remap="make">make</userinput></screen>
     163
     164    <para>Install the package:</para>
     165
     166<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     167cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     168rm -rf DESTDIR</userinput></screen>
     169
     170  </sect2><!-- m32 -->
     171
     172  <!-- - - - - - - - - - -->
     173  <!-- Multilib - x32bit -->
     174  <!-- - - - - - - - - - -->
     175 
     176  <sect2 arch="ml_x32,ml_all" role="installation">
     177    <title>Installation of Util-linux - x32-bit</title>
     178
     179    <para>Clean previous build:</para>
     180
     181<screen><userinput remap="pre">make distclean</userinput></screen>
     182
     183    <para>Prepare Util-linux for compilation:</para>
     184
     185<screen><userinput remap="configure">CC="gcc -mx32" \
     186./configure --host=x86_64-pc-linux-gnux32 \
     187            --libdir=/usr/libx32     \
     188            --runstatedir=/run       \
     189            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     190            --disable-chfn-chsh   \
     191            --disable-login       \
     192            --disable-nologin     \
     193            --disable-su          \
     194            --disable-setpriv     \
     195            --disable-runuser     \
     196            --disable-pylibmount  \
     197            --disable-static      \
     198            --disable-liblastlog2 \
     199            --without-python      \
     200            ADJTIME_PATH=/var/lib/hwclock/adjtime</userinput></screen>
     201
     202    <para>Compile the package:</para>
     203
     204<screen><userinput remap="make">make</userinput></screen>
     205
     206    <para>Install the package:</para>
     207
     208<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     209cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     210rm -rf DESTDIR</userinput></screen>
     211
     212  </sect2><!-- mx32 -->
     213
    130214  <sect2 role="content">
    131215    <title/>
Note: See TracChangeset for help on using the changeset viewer.