boinc/doc/build_server.php

50 lines
1.2 KiB
PHP
Raw Normal View History

<?php
require_once("docutil.php");
page_head("Building the server");
echo"
See the <a href=software.php>Software Prerequisites</a>.
<h2>Overview</h2>
Download:
<pre>
wget http://boinc.berkeley.edu/source/boinc-VERSION.tar.gz
tar xvzf boinc-VERSION.tar.gz
cd boinc-VERSION
</pre>
Configure:
<pre>
./configure
</pre>
Make:
<pre>
make
</pre>
Check:
<pre>
make check
</pre>
<h2>Troubleshooting</h2>
<h3>MySQL</h3>
BOINC gets MySQL compiler and linker flags from a program
called <code>mysql_config</code> which comes with your MySQL distribution.
This sometimes references libraries that are not part of your base system
installation, such as <code>-lnsl</code> or <code>-lnss_files</code>.
You may need to install additional packages
(often you can use something called 'mysql-dev' or 'mysql-devel')
or fiddle with Makefiles.
<h3>MySQL transactions </h3>
If you get messages such as this:
<pre>
Database error: You have an error in your SQL syntax near 'START TRANSACTION' at line 1 query=START TRANSACTION
</pre>
then your MySQL server does not support transactions. Either upgrade to MySQL
4.x, or remove <code>&lt;use_transactions/&gt;</code> from config.xml
";
page_tail();
?>