2004-06-09 19:09:16 +00:00
|
|
|
<?php
|
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Building the server");
|
2003-08-22 21:54:47 +00:00
|
|
|
|
2004-06-09 19:09:16 +00:00
|
|
|
echo"
|
2004-12-15 07:08:54 +00:00
|
|
|
See the <a href=build.php>Software Prerequisites</a>.
|
2003-08-28 07:43:57 +00:00
|
|
|
|
2004-02-15 19:22:01 +00:00
|
|
|
<h2>Overview</h2>
|
2003-08-22 21:54:47 +00:00
|
|
|
Download:
|
|
|
|
<pre>
|
2003-08-22 22:24:12 +00:00
|
|
|
wget http://boinc.berkeley.edu/source/boinc-VERSION.tar.gz
|
|
|
|
tar xvzf boinc-VERSION.tar.gz
|
|
|
|
cd boinc-VERSION
|
2003-08-22 21:54:47 +00:00
|
|
|
</pre>
|
|
|
|
Configure:
|
|
|
|
<pre>
|
|
|
|
./configure
|
|
|
|
</pre>
|
|
|
|
Make:
|
|
|
|
<pre>
|
|
|
|
make
|
|
|
|
</pre>
|
2003-08-28 07:43:57 +00:00
|
|
|
Check:
|
|
|
|
<pre>
|
|
|
|
make check
|
|
|
|
</pre>
|
2003-08-22 21:54:47 +00:00
|
|
|
|
2004-02-15 19:22:01 +00:00
|
|
|
<h2>Troubleshooting</h2>
|
|
|
|
<h3>MySQL</h3>
|
|
|
|
BOINC gets MySQL compiler and linker flags from a program
|
2003-08-22 21:54:47 +00:00
|
|
|
called <code>mysql_config</code> which comes with your MySQL distribution.
|
|
|
|
This sometimes references libraries that are not part of your base system
|
2004-02-15 19:22:01 +00:00
|
|
|
installation, such as <code>-lnsl</code> or <code>-lnss_files</code>.
|
|
|
|
You may need to install additional packages
|
2004-06-12 19:14:40 +00:00
|
|
|
(often you can use something called 'mysql-dev' or 'mysql-devel')
|
2004-02-15 19:22:01 +00:00
|
|
|
or fiddle with Makefiles.
|
2003-08-22 21:54:47 +00:00
|
|
|
|
2004-08-14 21:16:19 +00:00
|
|
|
<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
|
2004-08-14 21:31:27 +00:00
|
|
|
4.x, or remove <code><use_transactions/></code> from config.xml
|
2004-08-14 21:16:19 +00:00
|
|
|
|
|
|
|
|
2004-06-09 19:09:16 +00:00
|
|
|
";
|
2003-08-22 21:54:47 +00:00
|
|
|
page_tail();
|
|
|
|
?>
|