ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Installing an older version of a ros package by source

asked 2013-08-29 16:22:15 -0500

Andrew.A gravatar image

updated 2014-04-20 14:09:41 -0500

ngrennan gravatar image

I used to run version 1.8.9 of openni_camera, and I'd like to revert back to an older version of it. The source is found here.

This is actually a commit between versions 1.8.8 and 1.8.9. Does anyone know how I can go about installing this package through source?

I've previously installed openni_camera as a deb package, and have uninstalled it using sudo apt-get --purge remove ros-groovy-openni-camera. What I've tried so far is putting the source folder into my catkin workspace (~/catkin_ws/src), and using catkin_make in ~/catkin_ws, but I'm faced with an error:

$ catkin_make
Base path: /home/andrew/catkin_ws
Source space: /home/andrew/catkin_ws/src
Build space: /home/andrew/catkin_ws/build
Devel space: /home/andrew/catkin_ws/devel
Install space: /home/andrew/catkin_ws/install
#### Running command: "cmake /home/andrew/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/andrew/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/andrew/catkin_ws/install" in "/home/andrew/catkin_ws/build"
-- Using CATKIN_DEVEL_PREFIX: /home/andrew/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/andrew/catkin_ws/devel;/opt/ros/groovy
-- This workspace overlays: /home/andrew/catkin_ws/devel;/opt/ros/groovy
-- Using Debian Python package layout
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/andrew/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.71
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 2 packages in topological order:
-- ~~  - openni_camera
-- ~~  - servo
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'openni_camera'
-- ==> add_subdirectory(openni_camera)
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
CMake Error at /opt/ros/groovy/share/dynamic_reconfigure/cmake/extras.cmake:47 (message):
  Could not run dynamic reconfigure file 'cfg/OpenNI.cfg':
  /home/andrew/catkin_ws/build/catkin_generated/ 10: exec:
  /home/andrew/catkin_ws/src/openni_camera/cfg/OpenNI.cfg: Permission denied
Call Stack (most recent call first):
  openni_camera/CMakeLists.txt:11 (generate_dynamic_reconfigure_options)

-- Configuring incomplete, errors occurred!
Invoking "cmake" failed

I'm running Ubuntu 12.10 on ROS Groovy, and using an Asus Xtion Pro Live. Please help!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-29 18:44:42 -0500

dynamic_reconfigure requires cfg file to be executable. So doing:

$ chmod a+x cfg/OpenNI.cfg

should be enough to make it compile.

It might be not very good idea to use commits between releases though, since there can be unfixed bugs. So I hope you know what you are doing.

edit flag offensive delete link more


I took up your advice and just checked out the previous version. Thanks!

Andrew.A gravatar image Andrew.A  ( 2013-08-29 20:58:02 -0500 )edit

Question Tools

1 follower


Asked: 2013-08-29 16:22:15 -0500

Seen: 1,933 times

Last updated: Aug 29 '13