Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/openssl.xml

    r3dc8226 r70aadfb  
    6060<screen><userinput remap="test">make test</userinput></screen>
    6161
    62     <para>One test, 30-test_afalg.t, is known to fail on some kernel
    63     configurations (depending on inconsistent values of
    64     CONFIG_CRYPTO_USER_API* settings.) If it fails, it can safely be
    65     ignored.</para>
     62    <para>One test 30-test_afalg.t is known to fail on some kernel
     63    configurations (it apparently assumes certain unspecified crypto
     64    options have been selected).</para>
    6665
    6766    <para>Install the package:</para>
     
    9998
    10099  </sect2>
     100
     101  <!-- - - - - - - - - - -->
     102  <!-- Multilib - 32bit  -->
     103  <!-- - - - - - - - - - -->
     104 
     105  <sect2 arch="ml_32,ml_all" role="installation">
     106    <title>Installation of OpenSSL - 32bit</title>
     107
     108    <para>Clean previous build:</para>
     109
     110<screen><userinput remap="pre">make distclean</userinput></screen>
     111
     112    <para>Prepare OpenSSL for compilation:</para>
     113
     114<screen><userinput remap="configure">MACHINE="i686"             \
     115CC="gcc -m32 -march=i686"  \
     116CXX="g++ -m32 -march=i686" \
     117    ./config               \
     118    --prefix=/usr          \
     119    --openssldir=/etc/ssl  \
     120    --libdir=lib32         \
     121    shared                 \
     122    zlib-dynamic</userinput></screen>
     123
     124    <para>Compile the package:</para>
     125
     126<screen><userinput remap="make">make</userinput></screen>
     127
     128    <para>Install the package:</para>
     129
     130<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     131cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     132rm -rf DESTDIR</userinput></screen>
     133
     134  </sect2><!-- m32 -->
     135
     136  <!-- - - - - - - - - - -->
     137  <!-- Multilib - x32bit -->
     138  <!-- - - - - - - - - - -->
     139 
     140  <sect2 arch="ml_x32,ml_all" role="installation">
     141    <title>Installation of OpenSSL - x32bit</title>
     142
     143    <para>Clean previous build:</para>
     144
     145<screen><userinput remap="pre">make distclean</userinput></screen>
     146
     147    <para>Prepare OpenSSL for compilation:</para>
     148
     149<screen><userinput remap="configure">MACHINE="x86_64"          \
     150CC="gcc -mx32"            \
     151CXX="g++ -mx32"           \
     152    ./config              \
     153    --prefix=/usr         \
     154    --openssldir=/etc/ssl \
     155    --libdir=libx32       \
     156    shared                \
     157    zlib-dynamic</userinput></screen>
     158
     159    <para>Compile the package:</para>
     160
     161<screen><userinput remap="make">make</userinput></screen>
     162
     163    <para>Install the package:</para>
     164
     165<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     166cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     167rm -rf DESTDIR</userinput></screen>
     168
     169  </sect2><!-- mx32 -->
    101170
    102171  <sect2 id="contents-openssl" role="content">
Note: See TracChangeset for help on using the changeset viewer.