Manjaro (Arch): Cmake error when installing ros-melodic-desktop-full

asked 2019-01-18 08:35:01 -0600

drapostolski gravatar image

updated 2019-01-18 09:19:03 -0600

Hi guys.

I am running Manjaro Linux, and I am trying to install ros-melodic-desktop-full from the AUR, via the Manjaro software manager app, and via pikaur from the command line.

The error I get (trying both ways) is:

ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
CMake Error at cmake/safe_execute_process.cmake:11 (message):
  execute_process(/usr/bin/python3
  "/var/tmp/pamac-build-drapostolski/ros-melodic-catkin/src/catkin-release-release-melodic-catkin-0.7.14-0/cmake/parse_package_xml.py"
  "/var/tmp/pamac-build-drapostolski/ros-melodic-catkin/src/catkin-release-release-melodic-catkin-0.7.14-0/cmake/../package.xml"
  "/var/tmp/pamac-build-drapostolski/ros-melodic-catkin/src/build/catkin/catkin_generated/version/package.cmake")
  returned error code 1
Call Stack (most recent call first):
  cmake/catkin_package_xml.cmake:74 (safe_execute_process)
  cmake/all.cmake:163 (_catkin_package_xml)
  CMakeLists.txt:8 (include)

I have the catkin_pkg library installed (the latest version) on python2 and python3, via pip and pikaur, but it doesn't make any difference, still, the same problem occurs.

Can anyone help me with this problem?

Thank you.

P.S. I am a total newbie in the ros, this is the first time I am trying to install it.

edit retag flag offensive close merge delete

Comments

1

I am a total newbie in the ros, this is the first time I am trying to install it.

some expectation management: most visitors of these forums are using Ubuntu for their daily work/development/hobby. Building pkgs from source on OS like Arch/Manjaro is not something a beginner typically does. ..

gvdhoorn gravatar imagegvdhoorn ( 2019-01-18 08:40:31 -0600 )edit
1

.. I don't claim that you won't get any answers, but I just wanted to let you know it could take a while.

Or not, if you're lucky.

gvdhoorn gravatar imagegvdhoorn ( 2019-01-18 08:40:54 -0600 )edit

@gvdhoorn sorry, I forgot to mention that I was installing the ros-melodic-desktop-full from the Manjaro software manager, and via pikaur from the command line. I was getting the same error in both ways.

drapostolski gravatar imagedrapostolski ( 2019-01-18 09:17:47 -0600 )edit