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

(Groovy @ 12.04) Error on: $ ./src/catkin/bin/catkin_make_isolated --install

asked 2013-01-08 14:50:00 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

When I run the following command:

$ ./src/catkin/bin/catkin_make_isolated --install

I get the following error:

Traceback (most recent call last):
File "./src/catkin/bin/catkin_make_isolated", line 74, in <module> main()
File "./src/catkin/bin/catkin_make_isolated", line 70, in main quiet=mot args.verbose
File "./src/catkin/bin/.../python/catkin/builder.py", line 494, in build_workspace_isolated number=index + 1, of=len(packages)
File "./src/catkin/bin/.../python/catkin/builder.py", line 315, in build_package build_catkin_package(path, package, spaces, options)
File "./src/catkin/bin/.../python/catkin/builder.py", line 219, in build_catkin_package run_command_colorized(cmake_cmd, build_dir, options['quiet'])
File "./src/catkin/bin/.../python/catkin/builder.py", line 121, in run_command_colorized stdout=subprocess.PIPE, stderr=subprocess.STDOUT
File "/usr/lib/python2.7/subprocess.py", line 679, in ___init___ errread, errwrite) 
File "/usr/lib/python2.7/subprocess.py", line 1249, in _executed_child raise child_exception)
OSError: [Errno 2] No such file or directory

Any suggestions? Kernel is armv7l

edit retag flag offensive close merge delete

Comments

does ./src/catkin/bin/catkin_make --install work? This will only work if you remove all non-catkin packages from the src folder

kalectro gravatar image kalectro  ( 2013-01-08 16:26:53 -0500 )edit

UPDATE: It was an error linked to my other issue described in http://answers.ros.org/question/51742/groovy-1204-e-package-libtbb-dev-has-no-installation-candidate/ ((Groovy @ 12.04) E: Package 'libtbb-dev' has no installation candidate)

amrivera gravatar image amrivera  ( 2013-01-09 04:42:37 -0500 )edit

HOWEVER: Now that it is working, I am getting an error after installing Package 10 of 153, right after: ==> make -j2 in '/home/ubuntu/ros_catkin_ws/build_isolated/flann' error: My Terminal Emulator is killing my ubuntu.img image connection, causing my androidVNC to shut down.

amrivera gravatar image amrivera  ( 2013-01-09 04:48:18 -0500 )edit

(Please note that the CPU Usage Monitor is way high during this part.) Any suggestions to work around this?

amrivera gravatar image amrivera  ( 2013-01-09 04:49:03 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-01-08 21:52:18 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

catkin_make_isolated is still somewhat in beta status.

File "./src/catkin/bin/.../python/catkin/builder.py"

attempts to run a shell command like

cmake /path/to/somepackage -D...

This raises "No such file or directory". This could mean you do not have cmake installed, or the path given to cmake does not exist. To debug further change File

./src/catkin/bin/python/catkin/builder.py

in build_catkin_package, make the following change:

-    run_command_colorized(cmake_cmd, build_dir, options['quiet'])
+    try:
+        run_command_colorized(cmake_cmd, build_dir, options['quiet'])
+    except OSError:
+        sys.stderr.write('Command failed: %s" % cmake_cmd)
+        raise

Run this again, this should give you the command that failed. Run this manually on the shell and find out what goes wrong. If you find this is a bug in catkin, create a ticket at https://github.com/ros/catkin and post what the command was in your case.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-08 14:50:00 -0500

Seen: 1,101 times

Last updated: Jan 08 '13