ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

ros-indigo-rviz fails to buil

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

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/sip_configure.py", line 50, in <module>
    config = Configuration()
  File "/opt/ros/indigo/share/python_qt_binding/cmake/sip_configure.py", line 19, in __init__
    ['qmake', '-query'], env=env, universal_newlines=True)
  File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", 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().
    Aborting...
==> 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

Comments

2

Is qmake on your path?

William gravatar imageWilliam ( 2015-09-13 17:50:24 -0500 )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 imagecptlsk ( 2015-09-14 22:19:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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: http://www.linfo.org/path_env_var.html

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

1 follower

Stats

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

Seen: 379 times

Last updated: Sep 12 '15