Changeset e6423a01 for final-system/common/zlib.xml
- Timestamp:
- Feb 21, 2006, 1:23:04 AM (19 years ago)
- Children:
- 193b7dd
- Parents:
- b8fddc7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
final-system/common/zlib.xml
rb8fddc7 re6423a01 45 45 <para os="b">Prepare Zlib for compilation:</para> 46 46 47 <screen ><userinput>./configure --prefix=/usr --shared --libdir=/lib</userinput></screen>47 <screen os="c"><userinput>./configure --prefix=/usr --shared --libdir=/lib</userinput></screen> 48 48 49 <para os=" c">Compile the package:</para>49 <para os="d">Compile the package:</para> 50 50 51 <screen os=" d"><userinput>make</userinput></screen>51 <screen os="e"><userinput>make</userinput></screen> 52 52 53 <para os=" e">To test the results, issue:53 <para os="f">To test the results, issue: 54 54 <userinput>make check</userinput>.</para> 55 55 56 <para os=" f">Install the shared library:</para>56 <para os="g">Install the shared library:</para> 57 57 58 <screen os=" g"><userinput>make install</userinput></screen>58 <screen os="h"><userinput>make install</userinput></screen> 59 59 60 <para os=" h">The previous command installed a <filename60 <para os="i">The previous command installed a <filename 61 61 class="extension">.so</filename> file in <filename 62 62 class="directory">/lib</filename>. We will remove it and relink it into 63 63 <filename class="directory">/usr/lib</filename>:</para> 64 64 65 <screen os=" i"><userinput>rm /lib/libz.so65 <screen os="j"><userinput>rm /lib/libz.so 66 66 ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen> 67 67 68 <para os=" j">Build the static library:</para>68 <para os="k">Build the static library:</para> 69 69 70 <screen ><userinput>make clean70 <screen os="l"><userinput>make clean 71 71 ./configure --prefix=/usr 72 72 make</userinput></screen> 73 73 74 <para os=" k">To test the results again, issue:74 <para os="m">To test the results again, issue: 75 75 <userinput>make check</userinput>.</para> 76 76 77 <para os=" l">Install the static library:</para>77 <para os="n">Install the static library:</para> 78 78 79 <screen os=" m"><userinput>make install</userinput></screen>79 <screen os="o"><userinput>make install</userinput></screen> 80 80 81 <para os=" n">Fix the permissions on the static library:</para>81 <para os="p">Fix the permissions on the static library:</para> 82 82 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> 84 84 85 85 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.