You'll need to install the following software before building BOINC:
Server | Core client |
BOINC Manager |
Applications (non-graphical) |
Applications (graphical) |
|
---|---|---|---|---|---|
GNU tools (find them here):
make 3.79+ m4 1.4+ libtool 1.4+ pkg-config 0.15+ autoconf 2.58+ automake 1.8+ GCC 3.0.4+ |
X | X | X | X | X |
Python 2.2+
MySQLdb module 0.9.2+ (see installation instructions) xml module |
X | ||||
MySQL 4.0+ or 4.1+
MySQL client |
X | ||||
Apache with mod_ssl and PHP 4.0.6+ | X | ||||
OpenSSL version 0.9.8+ (included with the BOINC source distribution for Windows) | X | X | |||
libcurl version 7.14.0+ (included with the BOINC source distribution for Windows) | X | ||||
WxWidgets 2.6.1 | X | ||||
GL, GLU, GLUT libraries | X | ||||
X11 libraries and include files | X | X | |||
configure option |
--enable-server | --enable-client | --enable-client (if WxWidgets and X11 found) | --enable-client | --enable-client (if GL/GLU/GLUT found) |
Configure with the --with-gtk --disable-shared
options
(BOINC needs a static library).
If you have an older WxWidgets install, uninstall it (make uninstall), then install 2.6.
mysql -u root grant all on *.* to yourname@localhost identified by 'password'; grant all on *.* to yourname identified by 'password'; grant all on *.* to nobody@localhost identified by 'password'; grant all on *.* to nobody identified by 'password';
mysql_config
which comes with your MySQL distribution.
This sometimes references libraries that are not part of your base system
installation, such as -lnsl
or -lnss_files
.
You may need to install additional packages
(often you can use something called 'mysql-dev' or 'mysql-devel')
or fiddle with Makefiles.
magic_quotes_gpc = On
mail
function to send
email to participants.
This uses sendmail.
If this doesn't work, you can use
PHPMailer instead,
which is a very flexible mail-sending mechanism.
To do this:
$USE_PHPMAILER = true; $PHPMAILER_HOST = "xxx.xxx.xxx"; $PHPMAILER_MAILER = "smtp";
If you have old versions of libraries (curl, openssl etc.) in /usr/lib, and newer versions somewhere else (like /usr/local/lib) you must tell the linker where to find the newer versions:
./configure LDFLAGS=-L/usr/local/lib
To get the X11 support, select the relevant options when you're installing Linux, or (Redhat) go to System Settings/Add Software.
In httpd.conf, set the default MIME type as follows (otherwise you'll get file upload signature verification errors):
DefaultType application/octet-streamSuppose Apache runs as user 'apache' and BOINC daemons runs as user 'boincadm'. Directories created by apache need to be writeable to boincadm. This can be done in any of several ways:
apache:x:48:becomes:
apache:x:48:boincadmAdd these two lines to the beginning of the apache start script (called apachectl, usually in /usr/sbin on linux):
umask 2 export umaskApache will need to be stopped/restarted for this to take effect. Now any file apache creates should have group writeable permissions (thanks to the umask) and user boincadm, who now belongs to group apache, should be able to update/delete these files.
Core client |
BOINC Manager |
Installer | Applications | |
---|---|---|---|---|
Visual Studio .NET (Visual C++ 7.0) | X | X | X | |
WxWidgets 2.4.2 | X | |||
Installshield X | X |