ros-indigo-rviz fails to buil
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?
Is
qmake
on your path?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?