Ask Your Question
3

rosdep install -a fails on Debian Sqeeze

asked 2012-04-30 10:08:16 -0500

mjp gravatar image

updated 2014-01-28 17:12:09 -0500

ngrennan gravatar image

Hi all,

Following the guide at http://www.ros.org/wiki/fuerte/Installation/Debian , I get to step 1.5 without issue (as far as I can tell) but when I run rosdep install -a, I get the following:

magus:~/ros-underlay/build# rosdep install -a
Executing script below with cwd=/tmp                                                                                                                                                     
{{{                                                                                                                                                                                      
#!/bin/bash                                                                                                                                                                              
export PREFIX=/usr/                                                                                                                                                                      
[ f932cebad87302d8ea0ec1fd39b24d99 = `cat $PREFIX/include/eigen3/eigen-version.installed` ]                                                                                              

}}}                                                                                                                                                                                      

cat: /usr//include/eigen3/eigen-version.installed: No such file or directory                                                                                                             
/tmp/tmpsgnqWw: line 3: [: f932cebad87302d8ea0ec1fd39b24d99: unary operator expected                                                                                                     
Executing script below with cwd=/tmp                                                                                                                                                     
{{{                                                                                                                                                                                      
#!/bin/bash
set -o errexit
dpkg-query -W -f='${Package} ${Status}\n' yaml-cpp-sourcedep 2>&1 | awk '{\
if ($4 =="installed") 
  exit 0
else
  print "yaml-cpp-sourcedep not installed"
  exit 1}'

}}}

yaml-cpp-sourcedep not installed
Executing script below with cwd=/tmp
{{{
#!/bin/bash
export PREFIX=/usr/
if [ -f $PREFIX/include/assimp/assimp-version.installed ]; then
  [ 2ed0b9954bcb2572c0dade8f849b9260 = `cat $PREFIX/include/assimp/assimp-version.installed` ]
else
  false
fi

}}}

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rxtools: No definition of [swig-wx] for OS [debian]
image_geometry: No definition of [opencv2] for OS [debian]
image_proc: No definition of [opencv2] for OS [debian]
rviz: No definition of [qt4-qmake] for OS [debian]
image_view: No definition of [opencv2] for OS [debian]
cv_bridge: No definition of [opencv2] for OS [debian]
gazebo: No definition of [tbb] for OS [debian]
image_rotate: No definition of [opencv2] for OS [debian]
opencv2: No definition of [opencv2] for OS [debian]
python_qt_binding: No definition of [python-qt-bindings] for OS [debian]
cv_markers: No definition of [opencv2] for OS [debian]
stereo_image_proc: No definition of [opencv2] for OS [debian]
opencv_tests: No definition of [opencv2] for OS [debian]
turtlesim: No definition of [qt4-qmake] for OS [debian]
depth_image_proc: No definition of [opencv2] for OS [debian]
camera_calibration: No definition of [opencv2] for OS [debian]
pcl_ros: No definition of [pcl] for OS [debian]

I can see that yaml-cpp-sourcedep is not installed and it appears that eigen3 might not be either, but I am not sure where these are supposed to come from.

edit retag flag offensive close merge delete

Comments

This looks potentially similar to my issue on gentoo (but I don't get any output except the mass of "No definition" errors). http://answers.ros.org/question/32872/ros-fuerte-install-on-gentoo-fails-at-rosdep

Cody gravatar image Cody  ( 2012-04-30 10:14:21 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2012-05-02 11:41:53 -0500

jamuraa gravatar image

I simply went on with the install, installing packages as needed when compilation failed. rosdep doesn't have files in Fuerte yet for the debian squeeze packages. I had an Electric install before this one so I just assumed that I had some of these packages. In the short future, I'll probably file a bug which includes a reasonable rosdep.yaml file.

Some of the ones here are obvious, but pcl and flann I had to compile from the sources. They are available at https://github.com/wg-debs - you clone the repository you need and then you can install the build dependencies for the package.

For each of the two (I installed flann first, because it was needed for pcl):

  1. git clone https://github.com/wg-debs/flann.git
  2. Remove "unneeded" dependencies from debian/control Build-Dependencies (the ones that start with ros- are the only ones I removed)
  3. dpkg-source --commit (to commit the "extra files" that are there)
  4. git-buildpackage -us -uc --git-ignore-new
  5. dpkg -i ../*.deb

There were other small hurdles as well, but they are less of an issue than these two libraries which are custom installed.

edit flag offensive delete link more
1

answered 2012-05-11 15:41:59 -0500

tfoote gravatar image

Debian needs some rosdep rules contributed. See the howto for that

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2012-04-30 10:08:16 -0500

Seen: 1,719 times

Last updated: May 11 '12