python_orocos_kdl does not compile on Ubuntu 19.04 from source

asked 2019-10-01 14:16:14 -0600

RayROS gravatar image

updated 2019-10-01 14:17:20 -0600

Hello, I am trying to compile from source ROS Melodic. I am following the instructions on the following official source. I created my own ros_catkin_ws and installing by hand all the necessary packages using $ catkin_make_isolated.

Although long, the installation process was going well until I stopped at the installation of the package python_orocos_kdl for which no matter what I do I am receiving the following error:

=> cmake /home/emanuele/ros_catkin_ws/src/orocos_kinematics_dynamics/python_orocos_kdl -DCMAKE_INSTALL_PREFIX=/home/emanuele/ros_catkin_ws/devel_isolated/python_orocos_kdl
-G Unix Makefiles in '/home/emanuele/ros_catkin_ws/build_isolated/python_orocos_kdl/devel' Traceback (most recent call last):   File "/home/emanuele/ros_catkin_ws/src/orocos_kinematics_dynamics/python_orocos_kdl/cmake/", line 8, in <module>
    import sipconfig ImportError: No module named sipconfig CMake Error at cmake/FindSIP.cmake:63 (MESSAGE):   Could not find SIP Call Stack (most recent call first):   CMakeLists.txt:14 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/emanuele/ros_catkin_ws/build_isolated/python_orocos_kdl/devel/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'python_orocos_kdl': 
  Command '['/home/emanuele/ros_catkin_ws/devel_isolated/perception_pcl/', 'cmake', '/home/emanuele/ros_catkin_ws/src/orocos_kinematics_dynamics/python_orocos_kdl', '-DCMAKE_INSTALL_PREFIX=/home/emanuele/ros_catkin_ws/devel_isolated/python_orocos_kdl', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/emanuele/ros_catkin_ws/build_isolated/python_orocos_kdl && /home/emanuele/ros_catkin_ws/devel_isolated/perception_pcl/ cmake /home/emanuele/ros_catkin_ws/src/orocos_kinematics_dynamics/python_orocos_kdl -DCMAKE_INSTALL_PREFIX=/home/emanuele/ros_catkin_ws/devel_isolated/python_orocos_kdl -G 'Unix Makefiles'

I have been researching a lot how to solve this problem and it seems that someone already had to solve it. In fact I came across the following post and installed brew and edited my gedit .bashrc file as advised here as you can see in the following image


Unfortunately it still does not work and can not able to continue my catkin_make_isolated. Please if anyone has an idea on how to correctly install and compile python_orocos_kdl point in the right direction.

edit retag flag offensive close merge delete