Changes between Version 17 and Version 18 of BaseInstall


Ignore:
Timestamp:
Apr 28, 2009, 3:16:23 PM (15 years ago)
Author:
Christoph Mayer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BaseInstall

    v17 v18  
    88{{{
    99> tar xfz ./ariba-x.x.x.tar.gz
    10 > cd ariba-x.x.x.tar.gz
     10> cd ariba-x.x.x
    1111}}}
    1212
     
    5050Once the !PingPong sample is running and the nodes have connected, the initiator will send ping messages to the joined nodes every 2 seconds. You can now e.g. test mobility of Ariba and change the IP address of a node, or swith from LAN connection to WLAN. The Links established by the !PingPong sample through Ariba are mobility invariant and automatically repaired.
    5151
    52 == Prequisites ==
     52== Prerequisites ==
    5353
    5454Ariba depends on libraries that may not be installed on your system:
    5555
    56  * [http://www.boost.org Boost (version >=1.35)]
     56 * [http://www.boost.org Boost (version >=1.38)]
    5757 * [http://logging.apache.org/log4cxx Log4cxx (version >= 0.10.0)]
    5858 * [http://gmplib.org GMP (no specific version)]
     
    6060Furthermore, you need default development tools - that are most likely already installed on your system - such as gcc, autoconf, automake, aclocal, libtool, liblt-dev ...
    6161
    62 If you installed some of the libraries locally and not system wide (e.g. using {{{./configure --prefix=MYPATH}}}, you have to tell Ariba where the libraries are installed. In this example we assume that (1) all libraries are installed locally, and not system wide, and (2) that you want to install Ariba locally. The installation process would then look as follow:
     62=== Installing libraries locally ===
     63
     64We will shortly explain how to install the Boost and Log4cxx libraries locally on your system. Download Boost ({{{boost_1_38_0.tar.gz}}}) and Log4cxx (apache-log4cxx-0.10.0.tar.gz). Be aware, that Log4cxx requires the Apache Portable Runtime (libapr and libapr-util).
    6365
    6466{{{
     67> cd ~/
     68> mkdir local
     69> cd boost_1_38_0
     70> ./configure --prefix=/home/user/local
     71> make install
     72> cd ..
     73> cd log4cxx-0.10.0
     74> ./configure --prefix=/home/user/local
     75> make install
     76}}}
     77
     78If Boost makes itself a subdirectory (e.g. {{{/home/user/local/include/boost_1-38/boost}}}), move the {{{boost}}} directory one hierarchy up, resulting in {{{/home/user/local/include/boost}}}.
     79
     80There is a compiler optimization bug in gcc-4.3 that results in problems with Boost 1.38.0 (see https://svn.boost.org/trac/boost/ticket/2655). There is a workaround available, see https://svn.boost.org/trac/boost/changeset/51863/trunk/boost/xpressive/detail/core/adaptor.hpp.
     81
     82If you installed some of the libraries locally and not system wide (e.g. using {{{./configure --prefix=MYPATH}}} as described above), you have to tell Ariba where the libraries are installed. In this example we assume that (1) all libraries are installed locally, and not system wide, and (2) that you want to install Ariba locally. The installation process would then look as follow:
     83
     84{{{
     85> cd ~/ariba-x.x.x
    6586> mkdir build
    6687> ./configure
    67   --prefix=$PWD/build
    68   --with-boost=/home/user/libraries/boost_1_35_0/build   
    69   CPPFLAGS='-I/home/user/libraries/gmp_4_2_2/build/include
    70   -I/home/user/libraries/log4cxx_0_10_0/build/include'
    71   LDFLAGS='-L/home/user/libraries/gmp_4_2_2/build/lib
    72   -L/home/user/libraries/log4cxx_0_10_0/build/lib
    73   -L/home/user/libraries/boost_1_35_0/build/lib'
     88  --prefix=/home/user/ariba-x.x.x/build
     89  --with-boost=/home/user/local/include/boost   
     90  CPPFLAGS='-I/home/user/local/include'
     91  LDFLAGS='-L/home/user/local/lib'
    7492> make
    7593> make install