MARIE SVN Trunk Installation Guide
From MARIEWiki
This installation guide is a work in progress. Information will be added or modified continually to help users and developpers get through the installation process. It covers installation of all the required and optional packages for MARIE. Required packages are marked with (*). Version requirements are not exhaustive and final. Other version might worked but have not been tested yet.
Contents |
Linux Distribution
Ubuntu "Dapper" with the following package repositories :
- Officially supported
- Restricted copyright
- Community maintained (Universe)
- Non-free (Multiverse)
Those repositories can be selected using Synaptic.
IMPORTANT NOTE : To simplify installation procedure, all required packages already installed with that distribution won't be mentionned in the procedure. If you use another distribution, some required packages could be missing or not updated to the correct version.
Known dependencies
Other dependencies are needed to install MARIE or other libraries that MARIE uses. Here's a list of these dependencies :
- openssl;
- libssl;
- libssl-dev.
gcc *, g++ *, cpp *
version : 4.0.3
Install the following packages :
- gcc
- g++
- cpp
make *
version : 3.81beta4
Install the following package :
- make
libltdl3 *
version : 1.5.22-2
Install the following package :
- libltdl3-dev
Scons *
version : 0.96.92.D002
This version is not available as a package, so it needs to be downloaded from Scons website : http://www.scons.org/
To install in /usr :
# sudo python setup.py install
Subversion *
version : 1.3.1
Install the following package :
- subversion
- esvn (optional Qt front-end)
MARIE *
Version SVN Trunk
This version is not available as a package, so it needs to be downloaded from MARIE subversion repository : http://sourceforge.net/svn/?group_id=85891
No installation is required at this point. Sources are mandatory to get patch files used in the next steps.
ACE *
version : 5.5.1
This version is not available as a package, so it needs to be downloaded from ACE website : http://www.cs.wustl.edu/~schmidt/ACE.html
Then compile and install ACE. To install in local directory :
# mkdir build # cd build # ../configure --prefix=<local install directory>
To avoid environement variable name clashes with other packages, config.h in build/ace, which is generated after the configure, needs to be modified. These lines must be commented :
- PACKAGE_VERSION;
- PACKAGE_NAME;
- PACKAGE_BUGREPORT;
- PACKAGE_TARNAME;
- PACKAGE_STRING.
Then proceed to the compilation :
# make # make install
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
mpich2 *
version 1.0.4p1
This version is not available as a package. Sources are available on mpich2 website : http://www-unix.mcs.anl.gov/mpi/mpich2/.
First install the following package :
- python-xml
(or in older distribution : python2.3-xml)
Then patch mpich2 using diffMPICH2-1.0.4.p1.patch found in util/patches of marie sources :
# cp <marie_sources_path>/util/patches/diffMPICH2-1.0.4.p1.patch <mpich2_sources_path> # cd <mpich2_sources_path> # patch -p1 < diffMPICH2-1.0.4.p1.patch
Compile and install MPICH2. To install in local directory :
# ./maint/updatefiles # ./configure --prefix=<local install directory> # make # make install
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/bin in environment variable PATH.
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
Post-installation intructions
Create and edit file .mpd.conf in your home directory to have the following line :
secretword = <your_favorite_secret_word>
Make sure this file have the proper rights by doing :
# chmod 600 ~/.mpd.conf
Player
version 1.6.5
This version is not available as a package, so it needs to be downloaded from Player/Stage website : http://playerstage.sourceforge.net/
Compile and install Player. To install in local directory :
# ./configure --prefix=<local install directory> # make # make install
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/bin in environment variable PATH.
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
Stage
version 2.0.0a
This version is not available as a package, so it needs to be downloaded from Player/Stage website : http://playerstage.sourceforge.net/
First install the following package :
- libgtk2-dev
Then patch stage using diffStage2.0.0.a.patch found in util/patches of marie sources :
# cp <marie_sources_path>/util/patches/diffStage2.0.0.a.patch <stage_sources_path> # cd <stage_sources_path> # patch -p1 < diffStage2.0.0.a.patch
Another command need to be execute to copy X11's rgb.txt file where Stage wants it:
# sudo cp /etc/X11/rgb.txt /usr/X11R6/lib/X11
Then compile and install Stage. To install in local directory :
# ./configure --prefix=<local install directory> # make # make install
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/bin in environment variable PATH.
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
CARMEN
version 0.4.6.ii
This version is not available as a package, so it needs to be downloaded from CARMEN website : http://www.cs.cmu.edu/~carmen/getting_carmen.html
First install the following packages :
- libgnome-dev
- libgtk1.2-dev
- libreadline5-dev
- gdk-imlib11-dev
Then patch CARMEN using diffCarmen0.4.6.ii.patch found in util/patches of marie sources :
# cp <marie_sources_path>/util/patches/diffCarmen0.4.6.ii.patch <carmen_sources_path> # cd <carmen_sources_path> # patch -p1 < diffCarmen0.4.6.ii.patch
To install CARMEN in a local directory, it is recommended to copy all the sources in the desire installation directory and then compile from there. This is related to an issue with CARMEN installation scripts that doesn't behave as expected.
Then compile Carmen :
# cd src # ./configure (select default options when requested) # make # make install (only if install in default path, otherwise it is not recommanded)
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/bin in environment variable PATH.
FlowDesigner
version CVS (0.9.1)
This version is not available as a package, so it needs to be downloaded from FlowDesigner CVS repository. Follow instructions on FlowDesigner website to get latest CVS sources : http://sourceforge.net/cvs/?group_id=99346
First install the following package :
- fftw-dev (optional)
Then compile and install FlowDesigner. To install in local directory :
# ./autogen.sh --prefix=<local install directory> # make # make install
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/bin in environment variable PATH.
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
RobotFlow
version CVS (0.2.7)
This version is not available as a package, so it needs to be downloaded from RobotFlow CVS repository. Follow instructions on RobotFlow website to get latest CVS sources : http://sourceforge.net/cvs/?group_id=51402
First install the following package :
- libcv-dev (optional)
- libsdl1.2-dev (optional)
Then compile and install RobotFlow :
# ./autogen.sh # make # make install
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
NOTE : if no prefix is specified, RobotFlow is install in <flowdesigner_prefix>/lib/flowdesigner/toolbox/RobotFlow
libstatgrab
version : 0.12
Install the following package :
- libstatgrab-dev
WxWidgets
Version 2.6.2
Altough there's a package for WxWidgets, for some dependencies to string representation format, the package cannot be used directly. WxWidgets then needs to be downloaded from WxWidgets website : http://www.wxwidgets.org/.
Compile and install WxWidgets. To install in local directory :
# ./configure --prefix = <local installation path> # make # make install
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/bin in environment variable PATH.
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
CPPUnit
version 1.12.0
This version is not available as a package, so it needs to be downloaded from CPPUnit website : https://sourceforge.net/project/showfiles.php?group_id=11795
First install the following package :
- doxygen (optional)
- graphviz (optional)
Then patch CPPUnit using diffCPPUnit1.12.0.patch found in util/patches of marie sources :
# cp <marie_sources_path>/util/patches/diffCPPUnit1.12.0.patch <cppunit_sources_path> # cd <cppunit_sources_path> # patch -p1 < diffCPPUnit1.12.0.patch
Then compile and install CPPUnit. To install in local directory :
# ./configure --prefix=<local install directory> # make # make install
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
Mockpp
version >=1.14
This version is not available as a package, so it needs to be downloaded from Mockpp subversion website : http://sourceforge.net/project/showfiles.php?group_id=69135
Then compile and install Mockpp. To install in local directory :
# ./configure --prefix=<local install directory> # make # make install
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/bin in environment variable PATH.
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
Doxygen
version : 1.4.6
Install the following package :
- doxygen
Graphviz
version : 2.2.1
Install the following package :
- graphviz
Log4cxx
version : 0.9.7
Install the following package and the required dependency :
- liblog4cxx9-dev
In case of conflict with PACKAGE_XXX defines, config_auto.h in the log4cxx include directory can be modified to comment the corresponding lines :
- PACKAGE_VERSION;
- PACKAGE_NAME;
- PACKAGE_BUGREPORT;
- PACKAGE_TARNAME;
- PACKAGE_STRING.
MARIE
Version SVN Trunk
First install the following package :
- libqt4-dev (optional)
Then compile and install MARIE. To install in local directory :
# scons prefix=<local install directory> # scons install
If you want to install MARIE in a shared directory (e.g. /usr/local or /usr/local/MARIE) and some previous softwares are in non-default directories (e.g. Player in /usr/local/player instead of /usr/local) :
# scons prefix=<shared install directory> # sudo sh -c "PATH=$PATH scons install"
Post-installation intructions
Add <prefix>/lib in environment variable LD_LIBRARY_PATH.
Add <prefix>/bin in environment variable PATH.
Add <prefix>/lib/pkgconfig in environment variable PKG_CONFIG_PATH.
You can also compile unit tests and install MARIE's unit testing tools library by doing :
# scons check install
If you're using FlowDesigner, this post-installation command is required :
# export FLOWDESIGNER_PATH=<MARIE install directory>/lib

