2004-03-21 00:10:15 +00:00
|
|
|
<?
|
2003-08-28 06:32:50 +00:00
|
|
|
require_once("docutil.php");
|
2003-10-13 19:23:40 +00:00
|
|
|
page_head("Software prerequisites");
|
2003-08-28 06:32:50 +00:00
|
|
|
?>
|
|
|
|
|
|
|
|
BOINC depends on various software to build, test, and run.
|
|
|
|
|
2004-02-15 19:22:01 +00:00
|
|
|
<h2>Operating systems</h2>
|
2003-08-28 07:43:57 +00:00
|
|
|
|
2003-10-13 19:23:40 +00:00
|
|
|
The server components run on flavors of Unix.
|
|
|
|
We develop on Solaris 2.6-2.9, Red Hat 8,
|
2003-08-28 07:43:57 +00:00
|
|
|
and Debian Linux stable and unstable, so those currently work out-of-the-box.
|
|
|
|
Other Unix-like systems should work without too much configuration.
|
|
|
|
|
2004-02-15 19:22:01 +00:00
|
|
|
<h2>Other software</h2>
|
2003-08-28 06:32:50 +00:00
|
|
|
|
2003-08-28 06:50:38 +00:00
|
|
|
Required for <b>compiling</b>:
|
2003-08-28 06:32:50 +00:00
|
|
|
<ul>
|
2003-11-25 15:51:19 +00:00
|
|
|
<li><b>GNU C++</b> 2.95 or 3.0-3.3
|
|
|
|
<li>Other GNU development tools: gmake, gzip, etc.
|
2003-08-28 06:32:50 +00:00
|
|
|
</ul>
|
2003-08-28 06:50:38 +00:00
|
|
|
|
2003-09-04 05:54:55 +00:00
|
|
|
Required on the <b>database</b> server:
|
2003-08-28 06:32:50 +00:00
|
|
|
<ul>
|
2003-11-25 15:51:19 +00:00
|
|
|
<li><b>MySQL server</b> 3.23+ or 4.0+
|
|
|
|
(package <code>mysql-server</code>).
|
2003-08-28 06:50:38 +00:00
|
|
|
</ul>
|
2004-03-17 01:26:44 +00:00
|
|
|
After installing and running the server,
|
|
|
|
grant permissions for your own account and for
|
2004-04-13 23:55:05 +00:00
|
|
|
the account under which Apache runs
|
|
|
|
('nobody' in the following; may be different on your machine):
|
2004-03-17 01:26:44 +00:00
|
|
|
<pre>
|
|
|
|
mysql -u root
|
|
|
|
grant all on *.* to yourname@localhost;
|
|
|
|
grant all on *.* to yourname;
|
|
|
|
grant all on *.* to nobody@localhost;
|
|
|
|
grant all on *.* to nobody;
|
|
|
|
</pre>
|
2003-08-28 06:50:38 +00:00
|
|
|
|
2003-09-04 05:54:55 +00:00
|
|
|
Required on the <b>master/scheduler</b> server(s):
|
2003-08-28 06:50:38 +00:00
|
|
|
<ul>
|
2003-09-04 05:54:55 +00:00
|
|
|
<li><b>Apache</b> or other webserver (package <code>apache2</code> or <code>apache</code>)
|
|
|
|
<li><b>PHP</b> 4.0 (package <code>php4</code>)
|
|
|
|
<li><b>MySQL client</b> (package <code>mysql-client</code>)
|
|
|
|
<li><b>Python</b> 2.2+ (package <code>python2.3</code> or <code>python2.2</code>)
|
|
|
|
<ul>
|
|
|
|
<li><a href=http://sourceforge.net/projects/mysql-python><b>Python module MySQLdb</b></a>
|
|
|
|
0.9.2 (0.9.1 currently won't work; see <a
|
|
|
|
href=install_python_mysqldb.txt>installation instructions</a>)
|
|
|
|
(package <code>python-mysqldb</code>)
|
|
|
|
<li><a href=http://pyxml.sourceforge.net/><b>Python module xml</b></a>
|
|
|
|
(part of most Python distributions; package <code>python-xml</code>)
|
|
|
|
</ul>
|
2003-08-28 06:50:38 +00:00
|
|
|
</ul>
|
|
|
|
|
2003-09-04 09:22:09 +00:00
|
|
|
The <a href=test.php>test suite</a> simulates all servers and client on a
|
|
|
|
single machine, so to run <code>make check</code> you need most of the usual
|
|
|
|
server and client software:
|
2003-08-28 06:50:38 +00:00
|
|
|
<ul>
|
2003-09-04 05:54:55 +00:00
|
|
|
<li><b>MySQL server</b> with permissions to create databases
|
2003-08-28 06:56:53 +00:00
|
|
|
<li><b>MySQL client</b>
|
2003-09-04 05:54:55 +00:00
|
|
|
<li><b>Python</b> with modules as above
|
|
|
|
<li>Apache and PHP: can be used but not required
|
2003-08-28 06:32:50 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
Optional, required only if you change <code>*/Makefile.am</code>:
|
|
|
|
<ul>
|
|
|
|
<li><b>automake</b> 1.7+
|
|
|
|
<li><b>autoconf</b> 2.5+
|
|
|
|
</ul>
|
|
|
|
|
2004-03-17 01:26:44 +00:00
|
|
|
<p>
|
|
|
|
On Debian Linux you can install all of the above software using
|
|
|
|
<blockquote>
|
|
|
|
<code>apt-get install g++ python python-mysqldb python-xml mysql-server mysql-client apache php4 automake autoconf</code>
|
|
|
|
</blockquote>
|
2003-08-28 06:50:38 +00:00
|
|
|
|
|
|
|
|
2004-02-15 19:22:01 +00:00
|
|
|
<h2>Windows client software</h2>
|
2003-08-28 06:32:50 +00:00
|
|
|
Required for compiling:
|
|
|
|
<ul>
|
2004-02-09 05:11:05 +00:00
|
|
|
<li><b>Microsoft Visual C++</b> 7.0
|
2003-08-28 06:32:50 +00:00
|
|
|
</ul>
|
2003-08-28 06:50:38 +00:00
|
|
|
Required for creating install packages:
|
|
|
|
<ul>
|
2003-08-28 07:43:57 +00:00
|
|
|
<li><b>InstallShield</b> 5.5
|
2003-08-28 06:50:38 +00:00
|
|
|
</ul>
|
|
|
|
|
2003-08-28 06:32:50 +00:00
|
|
|
|
2004-02-15 19:22:01 +00:00
|
|
|
<h2>Macintosh client software</h2>
|
|
|
|
Required for compiling and creating install packages:
|
2003-08-28 06:32:50 +00:00
|
|
|
<ul>
|
2003-08-28 07:43:57 +00:00
|
|
|
<li>Development Level PPC Macintosh running OS X 10.1 or later.
|
|
|
|
<li>July 2002 Mac OS X Developer Tools.
|
|
|
|
<li>Installer Vise Lite 3.6 SDK(?)
|
2003-08-28 06:32:50 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<? page_tail(); ?>
|