Error in Installing Indigo from source at 2.1 "Building the catkin Workspace"

asked 2015-08-25 12:12:06 -0600

yusuf gravatar image

updated 2015-08-26 01:14:37 -0600

gvdhoorn gravatar image

Hi,

I'm following the instructions here http://wiki.ros.org/indigo/Installati... , to install ROS Indigo from source on Ubuntu 15.04 Vivid.

I'm stuck at this point: When I run

$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

I get this error:

File "<unknown>", line 1
    ROS_DISTRO was set to 'jade' before. Please make sure that the environment does not mix paths from different distributions.
                 ^
SyntaxError: invalid syntax
CMake Error at /home/satellite/catkin_ws/install_isolated/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  execute_process(/usr/bin/python
  "/home/satellite/catkin_ws/build_isolated/roslib/catkin_generated/generate_cached_setup.py")
  returned error code 1
Call Stack (most recent call first):
  /home/satellite/catkin_ws/install_isolated/share/catkin/cmake/all.cmake:186 (safe_execute_process)
  /home/satellite/catkin_ws/install_isolated/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/satellite/catkin_ws/build_isolated/roslib/CMakeFiles/CMakeOutput.log".
See also "/home/satellite/catkin_ws/build_isolated/roslib/CMakeFiles/CMakeError.log".
<== Failed to process package 'roslib': 
  Command '['/home/satellite/catkin_ws/install_isolated/env.sh', 'cmake', '/home/satellite/catkin_ws/src/ros/roslib', '-DCATKIN_DEVEL_PREFIX=/home/satellite/catkin_ws/devel_isolated/roslib', '-DCMAKE_INSTALL_PREFIX=/home/satellite/catkin_ws/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/satellite/catkin_ws/build_isolated/roslib && /home/satellite/catkin_ws/install_isolated/env.sh cmake /home/satellite/catkin_ws/src/ros/roslib -DCATKIN_DEVEL_PREFIX=/home/satellite/catkin_ws/devel_isolated/roslib -DCMAKE_INSTALL_PREFIX=/home/satellite/catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles'

Command failed, exiting.

How can I solve the problem?

Thanks

edit retag flag offensive close merge delete

Comments

Were you able to solve it?

TDTron gravatar imageTDTron ( 2016-04-24 14:17:27 -0600 )edit