groovy fails install on OSX
I am trying to install Groovy on OSX using homebrew. I follow the instructions on the installation page. When I get to the cmake step, I get the following error:
$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy -DSETUPTOOLS_DEV_LAYOUT=OFF
-- Using CATKIN_DEVEL_PREFIX: /Users/jkp/groovy_underlay/build/devel
-- Found gtest: gtests will be built
-- catkin 0.5.58
Traceback (most recent call last):
File "/Users/jkp/groovy_underlay/build/catkin_generated/generate_cached_env.py", line 12, in <module>
from catkin.environment_cache import generate_environment_script, generate_static_environment_script
ImportError: No module named environment_cache
CMake Error at catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/usr/local/bin/python
/Users/jkp/groovy_underlay/build/catkin_generated/generate_cached_env.py)
returned error code 1
Call Stack (most recent call first):
catkin/cmake/all.cmake:187 (safe_execute_process)
CMakeLists.txt:15 (include)
-- Configuring incomplete, errors occurred!
Is there something I have missed?
It looks like the Python modules from catkin are not found. Can you please post line 11 (the one before the failing import) of the mentioned generate_cached_env.py file?
You can also try updating your version of catkin_pkg with
sudo pip install -U catkin_pkg
Also I am going to be updating the instructions soon to reflect the new method of building ROS from source show here: http://www.ros.org/wiki/groovy/Installation/Source
Thanks for your comments. The update of catkin did not help.