User Tools

Site Tools


ros:install_deb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ros:install_deb [2013/12/22 16:17] redoxros:install_deb [2014/01/27 21:21] – [From source] redox
Line 1: Line 1:
 #Installing ROS  #Installing ROS 
-__From source ('cause there ain't any deb buildable package...)__ 
  
 Extracted from the official Wiki: http://wiki.ros.org/hydro/Installation/Debian Extracted from the official Wiki: http://wiki.ros.org/hydro/Installation/Debian
Line 12: Line 11:
  
 Deps: Deps:
-    sudo apt-get install python-rosdep python-rosinstall-generator python-wstool build-essential checkinstall python-kitchen libflann-dev libxml2-dev+    sudo apt-get install python-rosdep python-rosinstall-generator python-wstool build-essential checkinstall python-kitchen libflann-dev libxml2-dev python-nose python-empy libpoco-dev libgtest-dev python-sip-dev python-qt4-dev libbz2-dev  libfltk1.3-dev  libxft-dev libfontconfig1-dev libxinerama-dev 
 +    sudo apt-get install libtinyxml-dev libtbb-dev libxml2-dev libqt4-dev pkg-config  libprotoc-dev libfreeimage-dev libprotobuf-dev protobuf-compiler libboost-all-dev freeglut3-dev libogre-dev libtar-dev libcurl4-openssl-dev libcegui-mk2-dev libopenal-dev
  
 Let's go Let's go
Line 55: Line 55:
     make     make
     sudo checkinstall make install     sudo checkinstall make install
-    cd ../ 
-Rename to **collada-dom-dev** in the checkinstall step 
  
-#### Install Player (Gazebo dep) 
-Download: http://sourceforge.net/projects/playerstage 
-Implement this fix: http://sourceforge.net/mailarchive/forum.php?thread_name=From_noreply%40sourceforge.net_Sat_Jul_07_17%3A37%3A11_2012&forum_name=playerstage-developers 
  
-    This may be related to the API change in zlib from 1.2.5 to 1.2.6, which is now installed on my system. According to another archlinux user, there has been a change in zlib.h in 1.2.6: 
-    -   typedef voidp gzFile;       /* opaque gzip file descriptor */ 
-    + typedef struct gzFile_s *gzFile;    /* semi-opaque gzip file descriptor */  
  
-    Fix: +## Build ROS
-    668c668 +
-    <         ret = gzseek(this->file,0,SEEK_SET); +
-    --- +
-    >         ret = gzseek((gzFile)this->file,0,SEEK_SET); +
-    714c714 +
-    <         ret = (gzgets(this->file, this->line, this->line_size) == NULL); +
-    --- +
-    >         ret = (gzgets((gzFile)this->file, this->line, this->line_size) == NULL); +
-This is in file: ./server/drivers/shell/readlog.cc +
-Then proceed to the compilation ;) +
-    tar -xzf player-3.0.2.tar.gz +
-    #fix players libz bug +
-    cd player-3.0.2/ +
-    cmake . +
-    make +
-    sudo checkinstall make install +
-    cd ../+
  
-#### Install sdformat (Gazebo dep) 
-    hg clone https://bitbucket.org/osrf/sdformat sdformat 
-    cd sdformat 
-    cmake . 
-    make 
-    sudo checkinstall make install 
-    cd .. 
- 
-#### Install Gazebo 
-Need some dependencies 
-    sudo apt-get install libtinyxml-dev libtbb-dev libxml2-dev libqt4-dev pkg-config  libprotoc-dev libfreeimage-dev libprotobuf-dev protobuf-compiler libboost-all-dev freeglut3-dev libogre-dev libtar-dev libcurl4-openssl-dev libcegui-mk2-dev libopenal-dev 
- 
-Go! 
-    hg clone https://bitbucket.org/osrf/gazebo gazebo 
-    cd gazebo 
-    hg up gazebo_1.9 
-    cmake . 
-    make 
-    sudo checkinstall make install 
-    cd .. 
- 
- 
-## Build ROS 
 Finally run the build and install command. To install somewhere other than your home directory use the --install-space option.  Finally run the build and install command. To install somewhere other than your home directory use the --install-space option. 
-    ./src/catkin/bin/catkin_make_isolated --install --instal-space /opt/ros/hydro+    ./src/catkin/bin/catkin_make_isolated --install --install-space /opt/ros/hydro
     echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc     echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc
  
Line 115: Line 67:
 Make sure you source the ROS environment file in your __.bashrc__: `source /opt/ros/groovy/setup.bash` Make sure you source the ROS environment file in your __.bashrc__: `source /opt/ros/groovy/setup.bash`
  
-After installing rqt\_graph or any other rqt\_plugin, `run rqt --force-discover`+After installing rqt\_graph or any other rqt\_plugin, run `rqt --force-discover`