61 lines
2.4 KiB
HTML
61 lines
2.4 KiB
HTML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
|
|
<title></title>
|
|
<meta name="author" content="Torsten Bergander" />
|
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div class="document">
|
|
|
|
<table class="docinfo" frame="void" rules="none">
|
|
<col class="docinfo-name" />
|
|
<col class="docinfo-content" />
|
|
<tbody valign="top">
|
|
<tr><th class="docinfo-name">Author:</th>
|
|
<td>Torsten Bergander</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<div class="section">
|
|
<h1><a id="building-libtorrent-on-suse-10-1-i586" name="building-libtorrent-on-suse-10-1-i586">building libtorrent on SuSE 10.1 (i586)</a></h1>
|
|
<ol class="arabic" start="0">
|
|
<li><dl class="first docutils">
|
|
<dt>Prerequisites</dt>
|
|
<dd><p class="first">Install packages <tt class="docutils literal"><span class="pre">boost</span></tt> and <tt class="docutils literal"><span class="pre">boost-devel</span></tt> from packman:
|
|
<a class="reference" href="http://packman.links2linux.org/package/boost/10887">http://packman.links2linux.org/package/boost/10887</a></p>
|
|
<p class="last">There are standard packages delivered with the distribution. They give
|
|
some headaches when building new stuff, so the above mentioned ones fix
|
|
these problems.
|
|
All other potential prerequisites are available via yast in the standard
|
|
distribution.</p>
|
|
</dd>
|
|
</dl>
|
|
</li>
|
|
<li><dl class="first docutils">
|
|
<dt>Building and installing the lib</dt>
|
|
<dd><p class="first">Get the libtorrent-011 release tarbal, unpack and change into its
|
|
directory. Then:</p>
|
|
<pre class="literal-block">
|
|
./configure --with-boost-date-time=boost_date_time
|
|
--with-boost-filesystem=boost_filesystem
|
|
--with-boost-thread=boost_thread-mt --with-boost-regex=boost_regex
|
|
--with-boost-program-options=boost_program_options --disable-debug
|
|
make
|
|
sudo make install
|
|
</pre>
|
|
<p class="last">If you don't give the --with-boost parameters configure does not find
|
|
the main in the libs and fails. Also, when later installing e.g. btg,
|
|
you have to make sure to use the same parameters there, otherwise it is
|
|
bound to fail.</p>
|
|
</dd>
|
|
</dl>
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|