Skip to content

SoftwarePrereqsUnix

Rom Walton edited this page Feb 5, 2015 · 6 revisions

The various parts of BOINC have dependencies on other software. You'll need to install the ones you don't have, and possibly update some of the others. The list depends on which parts of BOINC you need.

If you are creating a BOINC project, you do not need to build the client or Manager.

|| || Server || Client || Manager || Applications || Graphic apps || git BR is needed to obtain the BOINC source code || X || X || X || X || X || || tools(http://directory.fsf.org/GNU/): BR make 3.79+, m4 1.4+, libtool 1.5+, BR autoconf 2.58+, automake 1.8+, GCC 3.0.4+ || X || X || X || X || X || || pkg-config 0.15+ || X || X || X || X || X || || Python 2.2+ with module 0.9.2+(http://sourceforge.net/projects/mysql-python) BR (see installation instructions) and xml module || X || || || || || || MySQL 4.0.9 or higher (with mysql-dev(el), and mysql-client) || X || || || || || || sqlite 3.1 or higher (packages sqlite-dev(el) and sqlite) || || || X || || || || Apache with mod_ssl and PHP5+ || X || || || || || || PHP5 with support(http://www.php.net/features.commandline) and the GD and MySQL modules BR(packages php5-cli and php5-gd) || X || || || || || || OpenSSL version 0.9.8+ || X || X || || || || || libcurl-dev(el) || X || || || || || || libcurl version 7.17.1+ || || X || || || || || wxWidgets 2.8.3 BR (Configure with the --with-gtk --disable-shared options); BR BOINC needs a static library. BR If you have an older wxWidgets installed, BRuninstall it (make uninstall), then install 2.8. BRMake sure you have the 'development' version installed. || || || X || || || || since 7.4.0: wxWidgets 3.0.0 BR (Configure with the --with-gtk --disable-shared options); BR BOINC needs a static library. BR If you have an older wxWidgets installed, BRuninstall it (make uninstall), then install 3.0. BRMake sure you have the 'development' version installed. BROn Debian you need the packages: libwxgtk3.0-dev, libwxgtk-webview3.0-dev || || || X || || || || Graphics libraries: GL, GLU, GLUT (or freeglut). BRYou'll need a static (.a) version of GLUT or freeglut BR(some Linux distributions come with only a dynamic version). BRUse the 'development' version of GLUT or freeglut. || || || || || X || || jpeglib, X11 libraries and include files || || || X || || X || || libstdc++.a (needed for portable executables; on Fedora, the yum package is libstdc++-static-4.5.1-4.fc14.i686) || || || || X || X ||

Examples for setups in various distributions:

To build the server software on FC14, I had to use yum to install the following modules:

  • libtool-2.2.10-3.fc14.i686 (for libtoolize)
  • gcc-c++-4.5.1-4.fc14.i686 (for g++)
  • libstdc++-static-4.5.1-4.fc14.i686 (for libstdc++.a, needed by sample apps)
  • MySQL-python-1.2.3-0.5.c1.fc14.i686 (for MySQLdb)
  • php-mysql
  • php-gd

Packages needed for server and non-graphic library for Fedora Core 17 (Beefy Miracle) are:

  • git
  • libtool
  • gcc-c++
  • libstdc++-static
  • MySQL-python
  • php-mysql
  • php-gd
  • php-cli
  • openssl-devel
  • mysql-devel
  • mysql-server
  • httpd
  • php

To build on Ubuntu, I had to install the following (with apt-get):

  • git
  • python
  • make
  • m4
  • pkg-config
  • dh-autoreconf
  • libssl-dev
  • python-mysqldb
  • php5-mysql
  • libapache2-mod-php5
  • php5-gd

For Debian and Ubuntu one may inspect the build dependencies for the .deb packages, which comprise both the client and the server:

  • [wiki.debian.org/BOINC] Instructions to build Debian or Ubuntu packages for BOINC
  • [from repository(http://git.debian.org/?p=pkg-boinc/boinc.git;a=blob;f=debian/control;hb=HEAD)] Direct link to "debian/control" file with the "Build-Depends:" line.
  • [on Versions of BOINC in Debian(http://packages.qa.debian.org/b/boinc.html)] The Debian Package Tracking System on BOINC
Clone this wiki locally