ros:install_deb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
ros:install_deb [2013/12/22 16:10] – [Build ROS] redox | ros:install_deb [2014/01/27 21:21] – [From source] redox | ||
---|---|---|---|
Line 1: | Line 1: | ||
#Installing ROS | #Installing ROS | ||
- | __from source (' | ||
Extracted from the official Wiki: http:// | Extracted from the official Wiki: http:// | ||
Line 10: | Line 9: | ||
wget http:// | wget http:// | ||
sudo apt-get update | sudo apt-get update | ||
+ | |||
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 |
+ | sudo apt-get install libtinyxml-dev libtbb-dev libxml2-dev libqt4-dev pkg-config | ||
Let's go | Let's go | ||
Line 22: | Line 23: | ||
rosdep install --from-paths src --ignore-src --rosdistro hydro -y -r --os=debian: | rosdep install --from-paths src --ignore-src --rosdistro hydro -y -r --os=debian: | ||
- | ---- | ||
- | ## Dependencies | ||
- | ### Deb packages | + | ##Dependencies |
- | I have built theses packages for Debian Wheezy | + | ###Deb packages |
+ | I have built theses packages for Debian Wheezy | ||
- | ### From source | + | ###From source |
#### Bullet | #### Bullet | ||
cd src | cd src | ||
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:// | ||
- | Implement this fix: http:// | ||
- | 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 struct gzFile_s *gzFile; | ||
- | Fix: | ||
- | 668c668 | ||
- | < ret = gzseek(this-> | ||
- | --- | ||
- | > ret = gzseek((gzFile)this-> | ||
- | 714c714 | ||
- | < ret = (gzgets(this-> | ||
- | --- | ||
- | > ret = (gzgets((gzFile)this-> | ||
- | This is in file: ./ | ||
- | 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:// | ||
- | 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 | ||
- | |||
- | Go! | ||
- | hg clone https:// | ||
- | cd gazebo | ||
- | hg up gazebo_1.9 | ||
- | cmake . | ||
- | make | ||
- | sudo checkinstall make install | ||
- | cd .. | ||
- | |||
- | ---- | ||
## Build ROS | ## 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. | ||
- | ./ | + | ./ |
echo " | echo " | ||
- | - | + | |
## Troubleshooting | ## Troubleshooting | ||
- | On Arch: | + | Make sure you source the ROS environment file in your __.bashrc__: `source /opt/ros/ |
- | add to bashrc: {{source /opt/roc/ | + | |
- | After installing | + | After installing |