Ask Your Question

Error Installing ROS on Debian Stretch

asked 2015-12-14 05:28:19 -0500

simat gravatar image

updated 2015-12-14 15:02:55 -0500

gvdhoorn gravatar image

I am trying to install ROS on Debian Stretch running on a Beaglebone Black using the instructions here the script file gives the following error while executing

./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

==> cmake /home/debian/ros_catkin_ws/src/catkin -DCATKIN_DEVEL_PREFIX=/home/debian/ros_catkin_ws/devel_isolated/catkin -DCMAKE_INSTALL_PREFIX=/home/debian/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/home/debian/ros_catkin_ws/build_isolated/catkin'
Unhandled exception of type 'OSError':
Traceback (most recent call last):
  File "./src/catkin/bin/../python/catkin/", line 965, in build_workspace_isolated
    number=index + 1, of=len(ordered_packages)
  File "./src/catkin/bin/../python/catkin/", line 665, in build_package
    destdir=destdir, use_ninja=use_ninja
  File "./src/catkin/bin/../python/catkin/", line 397, in build_catkin_package
    run_command_colorized(cmake_cmd, build_dir, quiet, add_env=add_env)
  File "./src/catkin/bin/../python/catkin/", line 187, in run_command_colorized
    run_command(cmd, cwd, quiet=quiet, colorize=True, add_env=add_env)
  File "./src/catkin/bin/../python/catkin/", line 205, in run_command
    raise OSError("Failed command '%s': %s" % (cmd, e))
OSError: Failed command '['cmake', '/home/debian/ros_catkin_ws/src/catkin', '-DCATKIN_DEVEL_PREFIX=/home/debian/ros_catkin_ws/devel_isolated/catkin', '-DCMAKE_INSTALL_PREFIX=/home/debian/ros_catkin_ws/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']': [Errno 2] No such file or directory
<== Failed to process package 'catkin': 
  Failed command '['cmake', '/home/debian/ros_catkin_ws/src/catkin', '-DCATKIN_DEVEL_PREFIX=/home/debian/ros_catkin_ws/devel_isolated/catkin', '-DCMAKE_INSTALL_PREFIX=/home/debian/ros_catkin_ws/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']': [Errno 2] No such file or directory
Command failed, exiting.

Any help would be appreciated

Thanks Simon

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-14 22:21:12 -0500

simat gravatar image

After a bit of detective work I have worked out what the problem is. 'cmake' is not part of the standard Debian installation on the Beaglebone Black. Installing cmake with 'sudo apt-get install cmake' fixed this problem.

If I can edit the ROS wiki I will add the command to the script file.

My beaglebone is currently compiling ROS, has been coming up with some warnings which require the package 'python-nose'. Are these warnings important?


edit flag offensive delete link more


If I can edit the ROS wiki I will add the command to the script file.

Well you can, it's a wiki. Just register for an account, and you should be able to edit anything.

gvdhoorn gravatar image gvdhoorn  ( 2015-12-15 03:08:53 -0500 )edit

Edited wiki, added 'sudo apt-get install cmake python-nose' to install script

simat gravatar image simat  ( 2015-12-15 08:54:08 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2015-12-14 05:28:19 -0500

Seen: 464 times

Last updated: Dec 14 '15