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

ros-indigo-rviz fails to buil

asked 2015-09-12 23:52:35 -0600

cptlsk gravatar image

I'm try to install rviz in archlinux by using yaourt. I run yaourt -S ros-indigo-rviz and everything seems to be all right until the very end of the compile, and error occured:

[100%] Linking CXX executable ../../devel/lib/rviz/two_render_widgets
[100%] Built target two_render_widgets
Scanning dependencies of target librviz_sip
[100%] Running SIP generator for rviz_sip Python bindings...
Traceback (most recent call last):
  File "/opt/ros/indigo/share/python_qt_binding/cmake/", line 50, in <module>
    config = Configuration()
  File "/opt/ros/indigo/share/python_qt_binding/cmake/", line 19, in __init__
    ['qmake', '-query'], env=env, universal_newlines=True)
  File "/usr/lib/python2.7/", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
src/python_bindings/sip/CMakeFiles/librviz_sip.dir/build.make:94: recipe for target 'devel/bin/sip/rviz_sip/Makefile' failed
make[2]: *** [devel/bin/sip/rviz_sip/Makefile] Error 1
CMakeFiles/Makefile2:3152: recipe for target 'src/python_bindings/sip/CMakeFiles/librviz_sip.dir/all' failed
make[1]: *** [src/python_bindings/sip/CMakeFiles/librviz_sip.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build ros-indigo-rviz.

It may be because of the python version, I have installed python3.4.3, python2.7 in the system.

Could someone help me?

edit retag flag offensive close merge delete



Is qmake on your path?

William gravatar image William  ( 2015-09-13 17:50:24 -0600 )edit

Hi William, thanks for your reply! I'm new to ROS so I don't know how to check the path. Could you please explain more details of your answer?

cptlsk gravatar image cptlsk  ( 2015-09-14 22:19:50 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-15 12:55:13 -0600

William gravatar image

qmake is the executable that it is trying to run, based on ['qmake', '-query'], ... being passed to subprocess, and if it is not on the PATH then you could get the error you're getting: OSError: [Errno 2] No such file or directory , see:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-09-12 23:52:35 -0600

Seen: 732 times

Last updated: Sep 12 '15