[Documentation] [TitleIndex] [WordIndex

Installation Instructions for Groovy in OSX

This page describes how to install Groovy in OSX. OSX is not officially supported by ROS and the installation might fail for several reasons. This page documents how to install using a new experimental packaging of ROS into Portfiles. For the old (outdated) manual install instructions, see here. Please post any issues found with these instructions to the repository issue tracker.

Setup

  1. Install Apple's Developer Tools (Xcode 4). After starting Xcode select "Preferences" (⌘,) >> "Downloads". In "Components" you will find Command Line Tools.

  2. Install MacPorts

Clone ROS Repository Locally and Update MacPorts Configuration

First clone the repository to somewhere local (Warning: Use small paths if possible, as long paths have caused issues with catkin and environment chaining):

cd ~
git clone https://github.com/kyonifer/ros-macports.git ros-macports

Now we need to tell MacPorts where the local repository clone is. Do this by adding a file:///path/to/clone/location line to /opt/local/etc/macports/sources.conf:

sudo sh -c 'echo file://$HOME/ros-macports >> /opt/local/etc/macports/sources.conf'

Install the ROS Port

Install the ros-groovy port, which will auto build and install ros-desktop-full along with all dependencies:

sudo port install ros-groovy

This will install everything in /opt/local. To use our freshly built ROS installation, we need to source its setup file:

source /opt/local/setup.bash

Now a quick check to make sure all is working

which roscore
/opt/local/bin/roscore

Caveats


2024-04-13 12:39