Ignore:
Timestamp:
Feb 21, 2006, 1:23:04 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
69caf2f
Parents:
82fedc4
Message:

r781@server (orig r779): jim | 2005-11-30 22:14:06 -0800

r836@server: jim | 2005-11-30 22:13:02 -0800
Text updates to final-system


File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/zlib.xml

    r82fedc4 re0e40d3  
    4545    <para os="b">Prepare Zlib for compilation:</para>
    4646
    47 <screen><userinput>./configure --prefix=/usr --shared --libdir=/lib</userinput></screen>
     47<screen os="c"><userinput>./configure --prefix=/usr --shared --libdir=/lib</userinput></screen>
    4848
    49     <para os="c">Compile the package:</para>
     49    <para os="d">Compile the package:</para>
    5050
    51 <screen os="d"><userinput>make</userinput></screen>
     51<screen os="e"><userinput>make</userinput></screen>
    5252
    53     <para os="e">To test the results, issue:
     53    <para os="f">To test the results, issue:
    5454    <userinput>make check</userinput>.</para>
    5555
    56     <para os="f">Install the shared library:</para>
     56    <para os="g">Install the shared library:</para>
    5757
    58 <screen os="g"><userinput>make install</userinput></screen>
     58<screen os="h"><userinput>make install</userinput></screen>
    5959
    60     <para os="h">The previous command installed a <filename
     60    <para os="i">The previous command installed a <filename
    6161    class="extension">.so</filename> file in <filename
    6262    class="directory">/lib</filename>. We will remove it and relink it into
    6363    <filename class="directory">/usr/lib</filename>:</para>
    6464
    65 <screen os="i"><userinput>rm /lib/libz.so
     65<screen os="j"><userinput>rm /lib/libz.so
    6666ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
    6767
    68     <para os="j">Build the static library:</para>
     68    <para os="k">Build the static library:</para>
    6969
    70 <screen><userinput>make clean
     70<screen os="l"><userinput>make clean
    7171./configure --prefix=/usr
    7272make</userinput></screen>
    7373
    74     <para os="k">To test the results again, issue:
     74    <para os="m">To test the results again, issue:
    7575    <userinput>make check</userinput>.</para>
    7676
    77     <para os="l">Install the static library:</para>
     77    <para os="n">Install the static library:</para>
    7878
    79 <screen os="m"><userinput>make install</userinput></screen>
     79<screen os="o"><userinput>make install</userinput></screen>
    8080
    81     <para os="n">Fix the permissions on the static library:</para>
     81    <para os="p">Fix the permissions on the static library:</para>
    8282
    83 <screen os="o"><userinput>chmod 644 /usr/lib/libz.a</userinput></screen>
     83<screen os="q"><userinput>chmod 644 /usr/lib/libz.a</userinput></screen>
    8484
    8585  </sect2>
Note: See TracChangeset for help on using the changeset viewer.