Table of Contents

Installing ROS Electric in debian Sid in your local home

This instructions are based on this.

This instructions details the steps necessary to install ros in your local home. You will not need to touch (or damage) your main system using this method.

Enjoy!

Installing dependencies and setting environment for compilation

sudo apt-get install build-essential python-yaml cmake subversion wget python-setuptools mercurial  build-essential python-yaml cmake subversion wget python-setuptools mercurial git-core  python-yaml libapr1-dev libaprutil1-dev  libbz2-dev python-dev libgtest-dev python-paramiko libboost-all-dev liblog4cxx10-dev pkg-config python-empy python-nose swig python-wxgtk2.8 python-gtk2 python-matplotlib libwxgtk2.8-dev python-imaging libqt4-dev graphviz qt4-qmake python-numpy bison++ autoconf libtinyxml-dev libxml2-dev nvidia-cg-dev libxt-dev libxaw7-dev  nvidia-cg-toolkit libfreetype6-dev libxrandr-dev libfreeimage-dev libcurl-ocaml-dev libeigen3-dev libyaml-cpp-dev python-sip-dev python-sip python-qt4-dev python-qt4
export ROS_OS_OVERRIDE=debian:squeeze
export ROS_PARALLEL_JOBS=-j10

Installing rosinstall

Rosinstall is a script that “helps” in the process of installing ROS. We will install rosinstall locally in our home directory.

sudo apt-get install python-pip libeigen3-dev libxml2-dev libcurl4-gnutls-dev libcurl-ocaml-dev libtinyxml-dev
export PYTHONUSERBASE=${HOME}/local/DIR/rosinstall_electric
pip install --user -U rosinstall vcstools
cd ~/local/DIR
xstow rosinstall_electric
mkdir ~/local/src/ros_electric
rosinstall ~/local/src/ros_electric "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=electric&variant=desktop-full&overlay=no"
squeeze: libboost1.42-all-dev

for

squeeze: libboost1.49-all-dev
rosinstall ~/local/src/ros_electric "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=electric&variant=desktop-full&overlay=no"
     -e /usr/lib/libCg.so -a \
     -e /usr/lib/libCgGL.so ]; then

with:

     -e /usr/lib/x86_64-linux-gnu/libCg.so -a \
     -e /usr/lib/x86_64-linux-gnu/libCgGL.so ]; then
  BOOST_FOREACH(const PublisherPlugin& pub, publishers_)                    
    count += pub.getNumSubscribers();           

with:

  for ( uint32_t i = 0 ; i < publishers_.size() ; i++ )
    count += publishers_[i].getNumSubscribers() ;
signalMessage(evt);

with:

this->signalMessage(evt);
debian:
  source:
    uri: 'https://kforge.ros.org/rosrelease/viewvc/sourcedeps/assimp/assimp-2.0.86-1.rdmanifest'
    md5sum: d5137302d8f00241ee10e623b97f9d22

with:

debian:
  apt:
    packages: [ libassimp-dev ]
rosmake rviz

ar_kinect

sudo apt-get install python-vtk tcl-vtk libhdf5-dev libhdf5-serial-dev
rosws set ar_kinect --svn http://albany-ros-pkg.googlecode.com/svn/trunk/albany_vision/ar_kinect
rosws update ar_kinect
rosws set artoolkit --git http://robotics.ccny.cuny.edu/git/ccny-ros-pkg/ccny_vision.git
rosws update artoolkit
env_ros_elec
<cpp cflags="`pkg-config opencv-2.3.1 --cflags`" lflags="`pkg-config opencv-2.3.1 --libs`"/>

with:

<cpp cflags="`pkg-config opencv --cflags`" lflags="`pkg-config opencv --libs`"/>
# The VTK targets file.
IF(NOT CMAKE_SCRIPT_MODE_FILE AND NOT VTK_INSTALL_EXPORT_NAME AND NOT TARGET vtkCommon
   AND EXISTS "${VTK_INSTALL_PREFIX}/lib/vtk-5.8/VTKTargets.cmake")
  INCLUDE("${VTK_INSTALL_PREFIX}/lib/vtk-5.8/VTKTargets.cmake")
ENDIF()
rosmake ar_kinect