2004-06-09 19:09:16 +00:00
|
|
|
<?php
|
2003-08-28 07:56:35 +00:00
|
|
|
require_once("docutil.php");
|
2003-10-13 19:23:40 +00:00
|
|
|
page_head("Building the BOINC core client");
|
2004-03-02 03:46:04 +00:00
|
|
|
echo "
|
|
|
|
<p>
|
|
|
|
It may not be necessary to build the core client;
|
|
|
|
you can get executables for many platforms at
|
|
|
|
<a href=http://boinc.berkeley.edu>http://boinc.berkeley.edu</a>.
|
|
|
|
<p>
|
2004-12-15 07:08:54 +00:00
|
|
|
See the <a href=build.php>Software Prerequisites</a>.
|
2003-08-28 07:56:35 +00:00
|
|
|
|
2004-03-02 03:46:04 +00:00
|
|
|
<h3>Unix, Mac OS/X</h3>
|
|
|
|
<p>
|
2004-06-29 04:34:55 +00:00
|
|
|
If you have MySQL installed, you can just do:
|
2004-03-02 03:46:04 +00:00
|
|
|
<pre>
|
2004-06-29 04:34:55 +00:00
|
|
|
cd boinc
|
|
|
|
configure
|
2004-03-02 03:46:04 +00:00
|
|
|
make
|
|
|
|
</pre>
|
2004-06-29 04:34:55 +00:00
|
|
|
This will build <code>boinc/client/boinc_VERSION_PLATFORM</code>.
|
|
|
|
|
|
|
|
<p>
|
|
|
|
If you don't have MySQL installed,
|
|
|
|
that configure step will fail.
|
|
|
|
You can use the following trick (thanks to Eric Myers for this):
|
|
|
|
|
|
|
|
<p>
|
|
|
|
The idea is to trick the configure script into running a fake
|
|
|
|
mysql_config script. An easy way to do that is:
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
$ export MYSQL_CONFIG=true
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
or the setenv equivalent for tcsh.
|
|
|
|
This runs /bin/true or similar to
|
|
|
|
configure mysql, but ./configure does not fail.
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Of course the server build fails when you say `make` when it tries to
|
|
|
|
build anything requiring mysql, but if you say `make -k` it will still
|
|
|
|
build the client and apps, lib and api.
|
|
|
|
You can also cd to client
|
|
|
|
or apps and say `make` there and that will work
|
|
|
|
(once lib and api are built).
|
2003-08-28 07:56:35 +00:00
|
|
|
|
2004-03-02 03:46:04 +00:00
|
|
|
<h3>Windows</h3>
|
2003-08-28 07:56:35 +00:00
|
|
|
|
2004-03-02 03:46:04 +00:00
|
|
|
<p>
|
|
|
|
Open boinc.dsw (MSVC6) or boinc.sln (MSVC7).
|
|
|
|
Build either the Release or Debug version.
|
|
|
|
This should also build libraries and screensaver.
|
2003-08-28 07:56:35 +00:00
|
|
|
|
2004-03-02 03:46:04 +00:00
|
|
|
";
|
2003-08-28 07:56:35 +00:00
|
|
|
page_tail();
|
|
|
|
?>
|