Changes between Version 17 and Version 18 of BaseInstall
- Timestamp:
- Apr 28, 2009, 3:16:23 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BaseInstall
v17 v18 8 8 {{{ 9 9 > tar xfz ./ariba-x.x.x.tar.gz 10 > cd ariba-x.x.x .tar.gz10 > cd ariba-x.x.x 11 11 }}} 12 12 … … 50 50 Once 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. 51 51 52 == Pre quisites ==52 == Prerequisites == 53 53 54 54 Ariba depends on libraries that may not be installed on your system: 55 55 56 * [http://www.boost.org Boost (version >=1.3 5)]56 * [http://www.boost.org Boost (version >=1.38)] 57 57 * [http://logging.apache.org/log4cxx Log4cxx (version >= 0.10.0)] 58 58 * [http://gmplib.org GMP (no specific version)] … … 60 60 Furthermore, you need default development tools - that are most likely already installed on your system - such as gcc, autoconf, automake, aclocal, libtool, liblt-dev ... 61 61 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 64 We 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). 63 65 64 66 {{{ 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 78 If 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 80 There 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 82 If 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 65 86 > mkdir build 66 87 > ./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' 74 92 > make 75 93 > make install