Lunar failing to complie on raspberry pi

asked 2017-08-22 23:36:42 -0500

MarkyMark2012 gravatar image

Hi

Has anyone yet got Lunar to compile on the pi. I've not really had and source related issues with previous releases however this one is reporting the error below from roslib:

Traceback (most recent call last):
  File "/home/pi/ros_catkin_ws_lunar/build_isolated/roslib/catkin_generated/generate_cached_setup.py", line 22, in <module>
    code = generate_environment_script('/home/pi/ros_catkin_ws_lunar/devel_isolated/roslib/env.sh')
  File "/home/pi/ros_catkin_ws_lunar/install_isolated/lib/python2.7/dist-packages/catkin/environment_cache.py", line 62, in generate_environment_script
    env_after = ast.literal_eval(output.decode('utf8'))
  File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "/usr/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1
    ROS_DISTRO was set to 'kinetic' before. Please make sure that the environment does not mix paths from different distributions.
                 ^
SyntaxError: invalid syntax
CMake Error at /home/pi/ros_catkin_ws_lunar/install_isolated/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  execute_process(/usr/bin/python
  "/home/pi/ros_catkin_ws_lunar/build_isolated/roslib/catkin_generated/generate_cached_setup.py")
  returned error code 1
Call Stack (most recent call first):
  /home/pi/ros_catkin_ws_lunar/install_isolated/share/catkin/cmake/catkin_add_env_hooks.cmake:138 (safe_execute_process)
  CMakeLists.txt:29 (catkin_add_env_hooks)

Any suggestions?

Many Thanks

Mark

edit retag flag offensive close merge delete