- Simple scenarios
- Complex scenarios
- Bridging scenarios
This document describes the steps necessary to compile the 3G Bridge from source on a Debian 6.0 host.
Please note, that installing the Bridge from packages is the preferred way unless you're going to contribute to the 3G Bridge sources.
Installing the Bridge from source (
make install) will
If the Bridge is installed from source, most of the instructions given in the 3G Bridge manual will not work without modifications. Also, the master.xml file will have to be modified by hand to work properly.
The configuration instructions given in 3G Bridge configuration manual are still applicable.
To compile the 3G Bridge from source, you will need to install the following packages.
apt-get install build-essential libtool autoconf automake \ pkg-config libdcapi-boinc-dev libglib2.0-dev \ libmysql++-dev libcurl4-openssl-dev xsltproc \ libuuid1 libxslt1.1 docbook-xsl gsoap subversion
Important: Make sure that the gSOAP version is not 2.8.3 nor 2.8.41). Version 2.7.9 and 2.8.8 are verified and will work as expected.
After the required packages have been installed successfully, you can check out the 3G Bridge source from the SourceForge repository. You can check out specific branches or the whole repository by modifying the URL accordingly.
BRIDGE_DIR='<target directory for bridge sources>' URL='https://edges-3g-bridge.svn.sourceforge.net/svnroot/edges-3g-bridge/3g-bridge/trunk' svn co "$URL" "$BRIDGE_DIR"
The 3G Bridge source code can be compiled with the standard GNU tools. Make
sure, that you specify
--with-dcapi for the
configure script, or else
the Bridge will not support BOINC as the backend. You can install the Bridge as
a user (without sudo) if you specify
configure. In this case the Bridge will be installed in the specified
directory instead of the file system root.
cd "$BRIDGE_DIR" autoreconf -fiv ./configure --help # check this for extra information ./configure --with-dcapi make sudo make install
On some systems (on SL6 or on some versions of Ubuntu for example), the gSOAP
will be installed in a different directory. To solve this issue, specify
Usually, the correct command will be: