User Tools

Site Tools


Sidebar

Overview

Navigation

Scenarios

Components

Manuals

  • Basic components
  • Application support
  • Additional components
    • manual:bridge-source

      3G Bridge Installation from Source

      This document describes the steps necessary to compile the 3G Bridge from source on a Debian 6.0 host.

      Important

      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

      • not install master-ws.xml;
      • will install everything in non-standard places.

      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.

      Prerequisites

      To compile the 3G Bridge from source, you will need to install the following packages.

      Installing required 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.

      Compiling the Bridge

      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.

      Checking out the SVN repository
      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 --prefix=<install_dir> for configure. In this case the Bridge will be installed in the specified directory instead of the file system root.

      Compiling the Bridge
      cd "$BRIDGE_DIR"
      autoreconf -fiv
      ./configure --help # check this for extra information
      ./configure --with-dcapi
      make
      sudo make install

      Troubleshooting

      When compiling the Bridge, soapcpp2 complains about missing headers.

      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 --with-gsoap=<path_to_gsoap> for configure.

      Usually, the correct command will be:

      ./configure --with-gsoap=/usr
      1)
      See the troubleshooting section of the 3G Bridge manual.
      manual/bridge-source.txt · Last modified: 2013/01/22 10:32 by a.visegradi