Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 4209

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created by texi2html 1.76 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Many creative people <dev@texi2html.cvshome.org>
Send bugs and suggestions to <users@texi2html.cvshome.org>

-->
<head>
<title>Crystal Space 1.2.1: 2.4.5.1 Library Prerequisites</title>

<meta name="description" content="Crystal Space 1.2.1: 2.4.5.1 Library Prerequisites">
<meta name="keywords" content="Crystal Space 1.2.1: 2.4.5.1 Library Prerequisites">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.76">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>


</head>

<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">

<a name="MacOS_002fX-Libraries"></a>
<a name="0"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="MacOS_002fX.html#0" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="MacOS_002fX-Resources.html#0" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="Building.html#0" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="MacOS_002fX.html#0" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="Running-The-Demos.html#0" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="index.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="cs_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="cs_Index.html#0" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="cs_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<hr size="1">
<h4 class="subsubsection"> 2.4.5.1 Library Prerequisites </h4>

<p>In addition to obtaining the project source code (see section <a href="Where-to-Get.html#0">Where to Get Crystal Space</a>), you
may also want to download and compile several support libraries used for image
manipulation (see section <a href="External-Libraries.html#0">External Libraries</a>).  The libraries <samp>&lsquo;libpng&rsquo;</samp> and
<samp>&lsquo;libjpeg&rsquo;</samp>, which are present on many Unix installations, are absent from
MacOS/X.  The optional <samp>&lsquo;libmng&rsquo;</samp> is less common.
</p>
<p>One way to procure these libraries is to install them with Fink, which is a
tool for installing pre-built Unix and Unix-like tools and resources on
MacOS/X.
</p>

<p><a href="http://fink.sourceforge.net/">http://fink.sourceforge.net/</a>
</p>
<p>Alternately, the libraries can be built manually.  You can download the
required external library source code packages from their canonical download
sites (see section <a href="External-Libraries.html#0">External Libraries</a>).
</p>
<p>If you have permission to do so, it is best to install the <small>JPEG</small>, <small>PNG</small>,
and <small>MNG</small> libraries in standard locations by following the installation
instructions for each package (for example <samp>&lsquo;make install&rsquo;</samp>).  In some
cases, these libraries may already be present on your computer if you installed
them separately (via Fink, for instance) or if they were installed by default.
(For example, <small>ZLIB</small>, which is also required by Crystal Space, is already
pre-installed on MacOS/X.)
</p>
<p>If you do not have permission to install these libraries, you can still build
Crystal Space by unpacking each external library into the <tt>&lsquo;CS/libs&rsquo;</tt>
directory and building them there.  For example:
</p>
<table><tr><td>&nbsp;</td><td><pre class="example">cd CS/libs
gnutar xfz libpng*.tar.gz
gnutar xfz jpegsrc*.tar.gz
gnutar xfz libmng*.tar.gz
</pre></td></tr></table>

<p>The libraries can be built as follows:
</p>
<table><tr><td>&nbsp;</td><td><pre class="example">cd CS/libs/libpng*
make -f scripts/makefile.macosx libpng.a

cd ../*jpeg*
sh ./configure
make libjpeg.a

cd ../libmng*
sh ./configure
make libmng.a
</pre></td></tr></table>
<hr size="1">
<p>
 <font size="-1">
  This document was generated using <a href="http://texi2html.cvshome.org/"><em>texi2html 1.76</em></a>.
 </font>
 <br>

</p>
</body>
</html>