Giter Site home page Giter Site logo

ros-install-osx's Introduction

ros-install-osx Build Status

This repo aims to maintain a usable, scripted, up-to-date installation procedure for ROS, currently Lunar. The intent is that the install script may be executed on a El Capitan or newer machine and produce a working desktop_full installation, including RQT, rviz, and Gazebo.

This is the successor to my popular gist on the same topic.

Usage

git clone https://github.com/mikepurvis/ros-install-osx.git
cd ros-install-osx
./install

Note that if you do not yet have XQuartz installed, you will be forced to log out and in after that installation, and re-run this script.

You will be prompted for your sudo password at the following points in this process:

  • Homebrew installation.
  • Caskroom installation.
  • XQuartz installation.
  • Initializing rosdep.
  • Creating and chowning your /opt/ros/[distro] folder.

The installation can be done entirely without sudo if Homebrew and XQuartz are already installed, rosdep is already installed and initialized, and you set the ROS_INSTALL_DIR environment variable to a path which already exists and you have write access to.

Step by Step

The install script should just work for most users. However, if you run into trouble, it's a pretty big pain to rebuild everything. Note that in this scenario, it may make sense to treat the script as a list of instructions, and execute them one by one, manually.

If you have a build fail, for example with rviz, note that you can modify the catkin build line to start at a particular package. Inside your indigo_desktop_full_ws dir, run:

catkin build --start-with rviz

If you've resolved whatever issue stopped the build previously, this will pick up where it left off.

Troubleshooting

Python and pip packages

Already-installed homebrew and pip packages are the most significant source of errors, especially pip packages linked against the system Python rather than Homebrew's Python, and Homebrew packages (like Ogre) where multiple versions end up installed, and things which depend on them end up linked to the different versions. If you have MacPorts or Fink installed, and Python from either of those is in your path, that will definitely be trouble.

The script makes some attempt at detecting and warning about these situations, but some problems of this kind will only be visible as segfaults at runtime.

Unfortunately, it's pretty destructive to do so, but the most reliable way to give yourself a clean start is removing the current homebrew installation, and all currently-installed pip packages.

For pip: pip freeze | xargs sudo pip uninstall -y

For homebrew, see the following: https://gist.github.com/mxcl/1173223

If you take these steps, obviously also remove your ROS workspace and start the install process over from scratch as well. Finally, audit your $PATH variable to ensure that when you run python, you're getting Homebrew's python. Another way to check which Python you are running is to do:

which python # Should result in /usr/local/bin/python
ls -l $(which python) # Should show a symlink pointing to Homebrew's Cellar

If you are getting permission errors when you sudo uninstall pip packages, see Issue #11 and this StackOverflow Q&A.

El Capitan support

The install script may not work as smoothly in OS X El Capitan. Here are some pointers, tips, and hacks to help you complete the installation. This list was compiled based on the discussion in Issue #12.

library not found for -ltbb

See Issue #4. You need to compile using Xcode's Command Line Tools:

xcode-select --install # Install the Command Line Tools
sudo xcode-select -s /Library/Developer/CommandLineTools # Switch to using them
gcc --version # Verify that you are compiling using Command Line Tools

The last command should output something that includes the following:

Configured with: --prefix=/Library/Developer/CommandLineTools/usr

You'll then have to rerun the entire install script or do the following:

rm -rf /opt/ros/indigo/* # More generally, /opt/ros/${ROS_DISTRO}/*
rm -rf build/ devel/ # Assuming your working dir is the catkin workspace
catkin build \
  ... # See actual script for the 4-line-long command

dyld: Library not loaded

If you see this after installation, when trying to execute rosrun, then you have System Integrity Protection enabled. The installation script should have detected that and suggested a quick fix. Please refer to the very last section of install

ros-install-osx's People

Contributors

abencz avatar bhaskara avatar caramelle avatar hawesie avatar justinthomas avatar kubark42 avatar lucbettaieb avatar mikepurvis avatar mwatterson avatar spmaniato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ros-install-osx's Issues

rqt_plot issues on osx el-capitan

hello,

I have been following the installation instructions for el-cap. and I got ROS working nicely on my machine. thank you very much for putting this together.

one last piece I just cannot figure out is how to get rqt_plot to work on my machine.

running rqt_plot gives:

PluginManager._load_plugin() could not load plugin "rqt_plot/Plot":
Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/site-packages/qt_gui/plugin_handler.py", line 99, in load
self._load()
File "/opt/ros/indigo/lib/python2.7/site-packages/qt_gui/plugin_handler_direct.py", line 54, in _load
self._plugin = self._plugin_provider.load(self._instance_id.plugin_id, self._context)
File "/opt/ros/indigo/lib/python2.7/site-packages/qt_gui/composite_plugin_provider.py", line 71, in load
instance = plugin_provider.load(plugin_id, plugin_context)
File "/opt/ros/indigo/lib/python2.7/site-packages/qt_gui/composite_plugin_provider.py", line 71, in load
instance = plugin_provider.load(plugin_id, plugin_context)
File "/opt/ros/indigo/lib/python2.7/site-packages/rqt_gui_py/ros_py_plugin_provider.py", line 60, in load
return super(RosPyPluginProvider, self).load(plugin_id, plugin_context)
File "/opt/ros/indigo/lib/python2.7/site-packages/qt_gui/composite_plugin_provider.py", line 71, in load
instance = plugin_provider.load(plugin_id, plugin_context)
File "/opt/ros/indigo/lib/python2.7/site-packages/rqt_gui/ros_plugin_provider.py", line 94, in load
return class_ref(plugin_context)
File "/opt/ros/indigo/lib/python2.7/site-packages/rqt_plot/plot.py", line 55, in init
self._data_plot = DataPlot(self._widget)
File "/opt/ros/indigo/lib/python2.7/site-packages/rqt_plot/data_plot/init.py", line 141, in init
raise RuntimeError('No usable plot type found. Install at least one of: PyQtGraph, MatPlotLib (at least 1.1.0%s) or Python-Qwt5.' % version_info)
RuntimeError: No usable plot type found. Install at least one of: PyQtGraph, MatPlotLib (at least 1.1.0) or Python-Qwt5.

I tried installing / uninstalling several libraries and version (e.g. for MatPlotLib); but it seems not to work.

if someone has any ideas / hacks, thanks a lot!

`pip install wstool` needs sudo

$ pip install wstool
Collecting wstool
Requirement already satisfied (use --upgrade to upgrade): vcstools>=0.1.38 in /usr/local/lib/python2.7/site-packages (from wstool)
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/local/lib/python2.7/site-packages (from wstool)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/local/lib/python2.7/site-packages (from vcstools>=0.1.38->wstool)
Requirement already satisfied (use --upgrade to upgrade): six>=1.5 in /usr/local/lib/python2.7/site-packages (from python-dateutil->vcstools>=0.1.38->wstool)
Installing collected packages: wstool
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/pip/basecommand.py", line 211, in main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/site-packages/pip/commands/install.py", line 311, in run
    root=options.root_path,
  File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 646, in install
    **kwargs
  File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 803, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 998, in move_wheel_files
    isolated=self.isolated,
  File "/usr/local/lib/python2.7/site-packages/pip/wheel.py", line 371, in move_wheel_files
    clobber(source, dest, False, fixer=fixer, filter=filter)
  File "/usr/local/lib/python2.7/site-packages/pip/wheel.py", line 317, in clobber
    shutil.copyfile(srcfile, destfile)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/local/etc/bash_completion.d/wstool-completion.bash'

at least on OS X 10.9

Warn about PCL > 1.7.x

Prior instructions called for the installation of PCL HEAD, which now causes problems; PCL should be installed with the newest released version from homebrew-science (currently 1.7.2).

This can be easily detected for.

rosconsole error: no template named 'vector' in namespace 'std' [El Capitan, Indigo]

After a brew upgrade, I tried to reinstall ROS Indigo on my Macbook (OS X El Capitan 10.11.6)

Update: The latest Travis CI builds (71) are failing for the same reason โš ๏ธ

______________________________________________________________________________________________________________________________________________________________________________________________
Errors     << rosconsole:make /Users/smaniato/Projects/Robotics/indigo_desktop_full_ws/logs/rosconsole/build.make.000.log
In file included from /Users/smaniato/Projects/Robotics/indigo_desktop_full_ws/src_old/ros_comm/rosconsole/src/rosconsole/impl/rosconsole_log4cxx.cpp:36:
/Users/smaniato/Projects/Robotics/indigo_desktop_full_ws/src_old/ros_comm/rosconsole/include/ros/console.h:121:9: error: no template named 'vector' in namespace 'std'; did you mean 'boost::mpl::vector'?
typedef std::vector<TokenPtr> V_Token;
        ^~~~~~~~~~~
        boost::mpl::vector
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/vector.hpp:313:8: note: 'boost::mpl::vector' declared here
struct vector
       ^
1 error generated.
make[2]: *** [CMakeFiles/rosconsole_log4cxx.dir/src/rosconsole/impl/rosconsole_log4cxx.cpp.o] Error 1
make[1]: *** [CMakeFiles/rosconsole_log4cxx.dir/all] Error 2
make: *** [all] Error 2
cd /Users/smaniato/Projects/Robotics/indigo_desktop_full_ws/build/rosconsole; catkin build --get-env rosconsole | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
..............................................................................................................................................................................................
Failed     << rosconsole:make                                 [ Exited with code 2 ]
Failed    <<< rosconsole                                      [ 11.0 seconds ]

It seems related to this question from 2013: http://answers.ros.org/question/95056/building-rosconsole-osx-109 and the corresponding issue: ros/ros_comm#307

I tried appending -stdlib=libstdc++ to CMAKE_CXX_FLAGS and CMAKE_EXE_LINKER_FLAGS but that caused other errors.

In case these are relevant:

local-name: ros_comm/rosconsole
uri: https://github.com/ros-gbp/ros_comm-release/archive/release/indigo/rosconsole/1.11.20-0.tar.gz
version: ros_comm-release-release-indigo-rosconsole-1.11.20-0
$ brew info log4cxx
log4cxx: stable 0.10.0 (bottled)
Library of C++ classes for flexible logging
https://logging.apache.org/log4cxx/index.html
/usr/local/Cellar/log4cxx/0.10.0 (184 files, 6.6M) *
  Built from source on 2016-01-28 at 17:43:56
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/log4cxx.rb
==> Dependencies
Build: autoconf โœ”, automake โœ”, libtool โœ”
$ brew info boost
boost: stable 1.62.0 (bottled), HEAD
Collection of portable C++ source libraries
https://www.boost.org/
/usr/local/Cellar/boost/1.62.0 (12,405 files, 396.4M) *
  Poured from bottle on 2016-10-08 at 10:13:25
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb
==> Dependencies
Optional: icu4c โœ”
==> Requirements
Optional: mpi โœ˜

Having to brew reinstall python dependencies

I think this a homebrew issue entirely apart from ROS, but I found that despite packages like pyqt and numpy being installed, I was unable to import them in Python, leading to breakages all over the place, eg:

Starting  >>> cv_bridge
______________________________________________________________________
Errors     << cv_bridge:cmake /Users/mikepurvis/ros-install-osx/indigo_desktop_full_ws/logs/cv_bridge/build.cmake.000.log
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named numpy
CMake Error at /Users/mikepurvis/ros-install-osx/indigo_desktop_full_ws/src/vision_opencv/cv_bridge/src/CMakeLists.txt:25 (message):
  Could not determine the NumPy include directory, verify that NumPy was
  installed correctly.

The workaround was:

brew reinstall numpy pyqt

All this did was re-unpack the same cached bottle, so maybe there's some post-install step which links it up to the correct Python interpreter or something? If so, we could do a test import of these things, and then trigger any necessary reinstalls as part of the larger script.

@MikeMcQuaid Do you have any insight into what could happen in a homebrew installation to break python packages in the manner described?

pip uninstall on El Capitan

The command
pip freeze | xargs sudo pip uninstall -y
no longer works on El Capitan as the new security layer prevents some files being deleted which pip owns (or thinks it owns). It fails on the first system dependency, which is altgraph on my machine:

(output, for future googlers)

Uninstalling altgraph-0.10.2:
Exception:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 211, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip/commands/uninstall.py", line 76, in run
    requirement_set.uninstall(auto_confirm=options.yes)
  File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 305, in uninstall
    req.uninstall(auto_confirm=auto_confirm)
  File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 716, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 125, in remove
    renames(path, new_path)
  File "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line 315, in renames
    shutil.move(old, new)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 299, in move
    copytree(src, real_dst, symlinks=True)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 208, in copytree
    raise Error, errors

Compilation Error: ImportError: No module named sipconfig

I have been able to install all rosdeps successfully. However, I get stuck at this point:


Starting  >>> python_orocos_kdl                                                                                                                                             
____________________________________________________________________________________________________________________________________________________________________________
Errors     << python_orocos_kdl:cmake /Users/faisaldayani/indigo_desktop_full_ws/logs/python_orocos_kdl/build.cmake.000.log                                                 
Traceback (most recent call last):
  File "/Users/faisaldayani/indigo_desktop_full_ws/src/orocos_kinematics_dynamics/python_orocos_kdl/cmake/FindSIP.py", line 8, in <module>
    import sipconfig
ImportError: No module named sipconfig
CMake Error at /Users/faisaldayani/indigo_desktop_full_ws/src/orocos_kinematics_dynamics/python_orocos_kdl/cmake/FindSIP.cmake:63 (MESSAGE):
  Could not find SIP
Call Stack (most recent call first):
  CMakeLists.txt:13 (find_package)


cd /Users/faisaldayani/indigo_desktop_full_ws/build/python_orocos_kdl; catkin build --get-env python_orocos_kdl | catkin env -si  /usr/local/bin/cmake /Users/faisaldayani/indigo_desktop_full_ws/src/orocos_kinematics_dynamics/python_orocos_kdl --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCATKIN_ENABLE_TESTING=1 -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7; cd -
............................................................................................................................................................................
Failed     << python_orocos_kdl:cmake                         [ Exited with code 1 ]                                                                                        
Failed    <<< python_orocos_kdl                               [ 1.7 seconds ]                                                                                               
Abandoned <<< rosmaster                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< rosparam                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< roslib                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< message_generation                              [ Unrelated job failed ]                                                                                      
Abandoned <<< roscpp_traits                                   [ Unrelated job failed ]                                                                                      
Abandoned <<< message_runtime                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< mk                                              [ Unrelated job failed ]                                                                                      
Abandoned <<< pr2_description                                 [ Unrelated job failed ]                                                                                      
[build] Note: Workspace packages have changed, please re-source setup files to use them.
Abandoned <<< qt_dotgraph                                     [ Unrelated job failed ]                                                                                      
Abandoned <<< qt_gui                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< qt_gui_py_common                                [ Unrelated job failed ]                                                                                      
Abandoned <<< rosbuild                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< roslisp                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rosmsg                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< rospy                                           [ Unrelated job failed ]                                                                                      
Abandoned <<< rosservice                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< roscpp_serialization                            [ Unrelated job failed ]                                                                                      
Abandoned <<< python_qt_binding                               [ Unrelated job failed ]                                                                                      
Abandoned <<< roslaunch                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< rosunit                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rosconsole                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< pluginlib                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< qt_gui_cpp                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< resource_retriever                              [ Unrelated job failed ]                                                                                      
Abandoned <<< rosconsole_bridge                               [ Unrelated job failed ]                                                                                      
Abandoned <<< roslz4                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< rosbag_storage                                  [ Unrelated job failed ]                                                                                      
Abandoned <<< rostest                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_action                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_bag                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_bag_plugins                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_console                                     [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_dep                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_graph                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_gui                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_logger_level                                [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_moveit                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_msg                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_nav_view                                    [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_plot                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_pose_view                                   [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_publisher                                   [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_py_console                                  [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_reconfigure                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_robot_dashboard                             [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_robot_monitor                               [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_robot_steering                              [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_runtime_monitor                             [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_service_caller                              [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_shell                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_srv                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_tf_tree                                     [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_top                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_topic                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_web                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< std_msgs                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< actionlib_msgs                                  [ Unrelated job failed ]                                                                                      
Abandoned <<< bond                                            [ Unrelated job failed ]                                                                                      
Abandoned <<< diagnostic_msgs                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< geometry_msgs                                   [ Unrelated job failed ]                                                                                      
Abandoned <<< eigen_conversions                               [ Unrelated job failed ]                                                                                      
Abandoned <<< kdl_conversions                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< nav_msgs                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< rosgraph_msgs                                   [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_py_common                                   [ Unrelated job failed ]                                                                                      
Abandoned <<< sensor_msgs                                     [ Unrelated job failed ]                                                                                      
Abandoned <<< image_geometry                                  [ Unrelated job failed ]                                                                                      
Abandoned <<< map_msgs                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< pcl_msgs                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< shape_msgs                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< smach_msgs                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< std_srvs                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< stereo_msgs                                     [ Unrelated job failed ]                                                                                      
Abandoned <<< tf2_msgs                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< tf2                                             [ Unrelated job failed ]                                                                                      
Abandoned <<< trajectory_msgs                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< control_msgs                                    [ Unrelated job failed ]                                                                                      
Abandoned <<< gazebo_msgs                                     [ Unrelated job failed ]                                                                                      
Abandoned <<< visualization_msgs                              [ Unrelated job failed ]                                                                                      
Abandoned <<< geometric_shapes                                [ Unrelated job failed ]                                                                                      
Abandoned <<< roscpp                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< bondcpp                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< bondpy                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< camera_calibration_parsers                      [ Unrelated job failed ]                                                                                      
Abandoned <<< collada_parser                                  [ Unrelated job failed ]                                                                                      
Abandoned <<< joint_state_publisher                           [ Unrelated job failed ]                                                                                      
Abandoned <<< nodelet                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< nodelet_tutorial_math                           [ Unrelated job failed ]                                                                                      
Abandoned <<< pcl_conversions                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< pluginlib_tutorials                             [ Unrelated job failed ]                                                                                      
Abandoned <<< roscpp_tutorials                                [ Unrelated job failed ]                                                                                      
Abandoned <<< rosout                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< camera_calibration                              [ Unrelated job failed ]                                                                                      
Abandoned <<< cv_bridge                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< diagnostic_aggregator                           [ Unrelated job failed ]                                                                                      
Abandoned <<< diagnostic_updater                              [ Unrelated job failed ]                                                                                      
Abandoned <<< diagnostic_common_diagnostics                   [ Unrelated job failed ]                                                                                      
Abandoned <<< dynamic_reconfigure                             [ Unrelated job failed ]                                                                                      
Abandoned <<< filters                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< message_filters                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< image_transport                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< camera_info_manager                             [ Unrelated job failed ]                                                                                      
Abandoned <<< polled_camera                                   [ Unrelated job failed ]                                                                                      
Abandoned <<< rosnode                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< rospy_tutorials                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< rostopic                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< roswtf                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_gui_cpp                                     [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_gui_py                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_image_view                                  [ Unrelated job failed ]                                                                                      
Abandoned <<< self_test                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< smach_ros                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< tf2_py                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< topic_tools                                     [ Unrelated job failed ]                                                                                      
Abandoned <<< rosbag                                          [ Unrelated job failed ]                                                                                      
Abandoned <<< actionlib                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< actionlib_tutorials                             [ Unrelated job failed ]                                                                                      
Abandoned <<< compressed_depth_image_transport                [ Unrelated job failed ]                                                                                      
Abandoned <<< compressed_image_transport                      [ Unrelated job failed ]                                                                                      
Abandoned <<< diagnostic_analysis                             [ Unrelated job failed ]                                                                                      
Abandoned <<< driver_base                                     [ Unrelated job failed ]                                                                                      
Abandoned <<< image_proc                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< image_view                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< nodelet_topic_tools                             [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_launch                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< stereo_image_proc                               [ Unrelated job failed ]                                                                                      
Abandoned <<< tf2_ros                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< depth_image_proc                                [ Unrelated job failed ]                                                                                      
Abandoned <<< tf                                              [ Unrelated job failed ]                                                                                      
Abandoned <<< gazebo_ros                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< interactive_markers                             [ Unrelated job failed ]                                                                                      
Abandoned <<< interactive_marker_tutorials                    [ Unrelated job failed ]                                                                                      
Abandoned <<< laser_geometry                                  [ Unrelated job failed ]                                                                                      
Abandoned <<< laser_assembler                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< laser_filters                                   [ Unrelated job failed ]                                                                                      
Abandoned <<< pcl_ros                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< stage_ros                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< tf2_geometry_msgs                               [ Unrelated job failed ]                                                                                      
Abandoned <<< image_rotate                                    [ Unrelated job failed ]                                                                                      
Abandoned <<< tf2_kdl                                         [ Unrelated job failed ]                                                                                      
Abandoned <<< tf2_sensor_msgs                                 [ Unrelated job failed ]                                                                                      
Abandoned <<< pointcloud_to_laserscan                         [ Unrelated job failed ]                                                                                      
Abandoned <<< tf_conversions                                  [ Unrelated job failed ]                                                                                      
Abandoned <<< theora_image_transport                          [ Unrelated job failed ]                                                                                      
Abandoned <<< turtlesim                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< turtle_actionlib                                [ Unrelated job failed ]                                                                                      
Abandoned <<< turtle_tf                                       [ Unrelated job failed ]                                                                                      
Abandoned <<< turtle_tf2                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< urdf                                            [ Unrelated job failed ]                                                                                      
Abandoned <<< collada_urdf                                    [ Unrelated job failed ]                                                                                      
Abandoned <<< gazebo_plugins                                  [ Unrelated job failed ]                                                                                      
Abandoned <<< kdl_parser                                      [ Unrelated job failed ]                                                                                      
Abandoned <<< robot_state_publisher                           [ Unrelated job failed ]                                                                                      
Abandoned <<< rviz                                            [ Unrelated job failed ]                                                                                      
Abandoned <<< librviz_tutorial                                [ Unrelated job failed ]                                                                                      
Abandoned <<< rqt_rviz                                        [ Unrelated job failed ]                                                                                      
Abandoned <<< rviz_plugin_tutorials                           [ Unrelated job failed ]                                                                                      
Abandoned <<< rviz_python_tutorial                            [ Unrelated job failed ]                                                                                      
Abandoned <<< urdf_tutorial                                   [ Unrelated job failed ]                                                                                      
Abandoned <<< visualization_marker_tutorials                  [ Unrelated job failed ]                                                                                      
Abandoned <<< xacro                                           [ Unrelated job failed ]                                                                                      
[build] Summary: 32 of 194 packages succeeded.                                                                                                                              
[build]   Ignored:   31 packages were skipped or are blacklisted.                                                                                                           
[build]   Warnings:  5 packages succeeded with warnings.                                                                                                                    
[build]   Abandoned: 161 packages were abandoned.                                                                                                                           
[build]   Failed:    1 packages failed.                                                                                                                                     
[build] Runtime: 3 minutes and 43.0 seconds total. 

I am really new to ROS. Any help is appreciated. Also there is note requesting to re-source setup files. Could you tell me the steps involved for that?

Thanks.

who installs `/usr/local/opt/python/bin/python2.7`?

I notice that the ROS Python scripts (rosnode, rosmsg, etc.) have a shebang #!/usr/local/opt/python/bin/python2.7, which does exist and is symlinked to ../Frameworks/Python.framework/Versions/2.7/bin/python

However, I also have /usr/local/bin/python which is symlinked to ../Cellar/python/2.7.11/bin/python.

Did the script install the python distribution under /usr/local/opt? It was my understanding that this ROS installation script was supposed to use a brew python, because it advised to remove pip-installed modules in the brew python. However, I see that the /usr/local/opt/python python distribution has access to packages under /usr/local/lib/python2.7/site-packages/ (that's in sys.path. I don't know who puts it there).

Installed without pcl_ros

I've installed ros indigo with your script, but I had to remove the package pcl_ros because it was always crashing the installation.

I will try to launch something with gazebo and tell how it works.

Thanks!

protoc version for gazebo5

While running the script, on El Capitan, I ran into this issue:

...
[ 80%] Built target gazebo_ros_paths_plugin
In file included from /Users/alex/workspace/ros-install-osx/indigo_desktop_full_ws/src/gazebo_ros_pkgs/gazebo_ros/src/gazebo_ros_api_plugin.cpp:25:
In file included from /Users/alex/workspace/ros-install-osx/indigo_desktop_full_ws/src/gazebo_ros_pkgs/gazebo_ros/src/gazebo_ros_api_plugin.h:34:
In file included from /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/physics/physics.hh:2:
In file included from /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/physics/Actor.hh:24:
In file included from /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/physics/Model.hh:34:
In file included from /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/physics/Entity.hh:29:
In file included from /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/msgs/msgs.hh:24:
In file included from /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/msgs/MessageTypes.hh:7:
/usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/msgs/axis.pb.h:17:2: error: This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
 ^
/usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/msgs/axis.pb.h:18:2: error: incompatible with your Protocol Buffer headers.  Please
#error incompatible with your Protocol Buffer headers.  Please
 ^
/usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/msgs/axis.pb.h:19:2: error: regenerate this file with a newer version of protoc.
#error regenerate
...

This is because the gazebo message header files generated an included in the tar include:

#if GOOGLE_PROTOBUF_VERSION < 2006000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please update
#error your headers.
#endif
#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please
#error regenerate this file with a newer version of protoc.
#endif

I was able to get around it by doing what the error message told me to do, regenerating the protobuf headers and dylib:

  1. Clone gazebo and get version 5.2.1:
    hg clone https://bitbucket.org/osrf/gazebo && cd gazebo && hg up gazebo5_5.2.1
  2. Built it: mkdir build && cd build && cmake .. && make -j8
  3. Copy the dylib:
    cp ./gazebo/msgs/libgazebo_msgs.5.2.1.dylib /usr/local/Cellar/gazebo5/5.2.1/lib
  4. Copy the headers:
    cp ./gazebo/msgs/*.pb.h /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/msgs/
  5. Copy the hh file:
    cp ./gazebo/msgs/*.hh /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/msgs/

Now it builds until pcl_ros - I'll read over the latest comments in #12, because my notes from last time didn't help.

I just wanted to know if anyone else has experienced this.

I think this may actually be an issue for https://github.com/osrf/homebrew-simulation/ because the brew formula for gazebo5 depends on a specific version of protobuf

Policy CMP0042 from CMake

With CMake 3+, we get this in all the build logs:

Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

  [all packages compiling C++]

Info: https://cmake.org/cmake/help/v3.0/policy/CMP0042.html

Looks like this is something which will have to be added to the catkin CMake template.

rosdep keys cannot be resolved to system dependencies

I get the following error messages during installation. The system is a late 2013 MacBook Pro 15 running Yosemite. I removed all traces of homebrew and pip before starting. Do you have any solution for this?

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
collada_urdf: No definition of [pcre-dev] for OS [osx]
urdf: No definition of [pcre-dev] for OS [osx]
stage_ros: No definition of [fluid] for OS [osx]
stage: No definition of [libfltk-dev] for OS [osx]

Unclear on how to install packages for ros

Most likely a simple question here, I am confused as to how to best install packages on ROS on OSX when I don't have access to apt-get?

Does this mean that I need to download and build the sources from scratch?

Thank you. Again, apologies if this is an easy issue.

roslaunch image not found issue

When I am running the command "roslaunch" I get following issue.

ImportError: dlopen(/opt/ros/indigo/lib/python2.7/site-packages/tf2_py/_tf2.so, 2): Library not loaded: libtf2.dylib
Referenced from: /opt/ros/indigo/lib/python2.7/site-packages/tf2_py/_tf2.so
Reason: image not found

I get the feeling it's not importing it's dependencies properly. Is this really an issue?

Linker error on -ltbb when building with XCode toolchain (vs. CLT)

Using this to create a clean install of ROS on OS X Yosemite, however I always come across this error:

Starting ==> compressed_depth_image_transport                                                                                                                                                               
Starting ==> compressed_image_transport                                                                                                                                                                     
Starting ==> gazebo_ros                                                                                                                                                                                     
Starting ==> interactive_markers                                                                                                                                                                            

[compressed_depth_image_transport] ==> '/Users/Zoe/indigo_desktop_full_ws/build/compressed_depth_image_transport/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' in '/Users/Zoe/indigo_desktop_full_ws/build/compressed_depth_image_transport'
[ 20%] Built target compressed_depth_image_transport_gencfg
[ 40%] Linking CXX shared library /Users/Zoe/indigo_desktop_full_ws/devel/lib/libcompressed_depth_image_transport.dylib
ld: library not found for -ltbb
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/Zoe/indigo_desktop_full_ws/devel/lib/libcompressed_depth_image_transport.dylib] Error 1
make[1]: *** [CMakeFiles/compressed_depth_image_transport.dir/all] Error 2
make: *** [all] Error 2
[compressed_depth_image_transport] <== '/Users/Zoe/indigo_desktop_full_ws/build/compressed_depth_image_transport/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'

Failed   <== compressed_depth_image_transport [ 1.5 seconds ]                                                                                                                                               

[compressed_image_transport] ==> '/Users/Zoe/indigo_desktop_full_ws/build/compressed_image_transport/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' in '/Users/Zoe/indigo_desktop_full_ws/build/compressed_image_transport'
[ 20%] Built target compressed_image_transport_gencfg
[ 40%] Linking CXX shared library /Users/Zoe/indigo_desktop_full_ws/devel/lib/libcompressed_image_transport.dylib
ld: library not found for -ltbb
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/Zoe/indigo_desktop_full_ws/devel/lib/libcompressed_image_transport.dylib] Error 1
make[1]: *** [CMakeFiles/compressed_image_transport.dir/all] Error 2
make: *** [all] Error 2
[compressed_image_transport] <== '/Users/Zoe/indigo_desktop_full_ws/build/compressed_image_transport/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'

Failed   <== compressed_image_transport       [ 1.5 seconds ]                                                                                                                                               
Finished <== gazebo_ros                       [ 2.5 seconds ]                                                                                                                                               
Finished <== interactive_markers              [ 3.1 seconds ]                                                                                                                                               
[build] There were '2' errors:                                                                                                                                                                              

Failed to build package 'compressed_depth_image_transport' because the following command:

# Command to reproduce:
cd /Users/Zoe/indigo_desktop_full_ws/build/compressed_depth_image_transport && /Users/Zoe/indigo_desktop_full_ws/build/compressed_depth_image_transport/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j; cd -

# Path to log:
cat /Users/Zoe/indigo_desktop_full_ws/build/build_logs/compressed_depth_image_transport.log

Exited with return code: 2 

Failed to build package 'compressed_image_transport' because the following command:

# Command to reproduce:
cd /Users/Zoe/indigo_desktop_full_ws/build/compressed_image_transport && /Users/Zoe/indigo_desktop_full_ws/build/compressed_image_transport/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j; cd -

# Path to log:
cat /Users/Zoe/indigo_desktop_full_ws/build/build_logs/compressed_image_transport.log

Exited with return code: 2 

[build] Runtime: 8.5 seconds 

How can I resolve this?

Error building pcl_ros, glew not found

Whenever I try to run the script, it fails when trying to build pcl_ros.

CMake Error at /usr/local/share/pcl-1.8/PCLConfig.cmake:46 (message):
simulation is required but glew was not found
Call Stack (most recent call first):
/usr/local/share/pcl-1.8/PCLConfig.cmake:645 (pcl_report_not_found)
/usr/local/share/pcl-1.8/PCLConfig.cmake:808 (find_external_library)
CMakeLists.txt:8 (find_package)

Tried first on Yosemite, and now on El Capitan to no avail. According to brew, glew is installed.

Rosdep error during installation

The install script halts at some point, indicating a rosdep error.
OSX El Capitan 10.11.5
Output below

update complete.
~/Documents/Code/ros-install-osx/indigo_desktop_full_ws/src/rviz/ogre_media/models ~/Documents/Code/ros-install-osx/indigo_desktop_full_ws ~/Documents/Code/ros-install-osx
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5863 100 5863 0 0 8485 0 --:--:-- --:--:-- --:--:-- 21958
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2488 100 2488 0 0 10435 0 --:--:-- --:--:-- --:--:-- 10587
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11488 100 11488 0 0 46758 0 --:--:-- --:--:-- --:--:-- 48472
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 42238 100 42238 0 0 137k 0 --:--:-- --:--:-- --:--:-- 138k
~/Documents/Code/ros-install-osx/indigo_desktop_full_ws ~/Documents/Code/ros-install-osx

ERROR: Rosdep experienced an internal error.
Please go to the rosdep page [1] and file a bug report with the message below.
[1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.11.5

Bad installer [homebrew]: Error while parsing brew info for 'tango-icon-theme'

  • Output of brew info tango-icon-theme --json=v1:
  • Error while parsing:
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/site-packages/rosdep2/platforms/osx.py", line 184, in is_installed
    pkg_info = json.loads(std_out)
    File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 339, in loads
    return _default_decoder.decode(s)
    File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
    ValueError: No JSON object could be decoded

Repo not found while resolving dependencies

I'm getting this error while resolving dependencies on El Cap:

Error: No available formula with the name "ros/indigo/kobuki_msgs" 
Please tap it and then try again: brew tap ros/indigo
executing command [brew install ros/indigo/kobuki_msgs]
==> Tapping ros/indigo
Cloning into '/usr/local/Library/Taps/ros/homebrew-indigo'...
Username for 'https://github.com': ######
Password for 'https://######@github.com': 
remote: Repository not found.
fatal: repository 'https://github.com/ros/homebrew-indigo/' not found
Error: Failure while executing: git clone https://github.com/ros/homebrew-indigo /usr/local/Library/Taps/ros/homebrew-indigo --depth=1
ERROR: the following rosdeps failed to install
  homebrew: command [brew install ros/indigo/kobuki_msgs] failed

any idea why?

Problem Report pops up every time RViz quits

Is anybody else getting the rviz quit unexpectedly problem report every time they quit RViz? (see screenshot below) It happens both when I quit using the GUI and when I Ctrl-C from the terminal. It used to happen occasionally in the past. But after updating my ROS installation yesterday, it happens every single time. System details also in screenshot.

screen shot 2016-06-23 at 12 39 27 pm

Cannot install on macOS Sierra

It looks like qt might be a blocker for ROS Indigo on macOS Sierra.

executing command [brew install qt]
qt: This formula either does not compile or function as expected on macOS versions newer than El Capitan due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build.
ERROR: the following rosdeps failed to install
  homebrew: command [brew install qt] failed

Is there a workaround for not installing qt at all?

Pip uninstall command bug

The auto-generated recommended command:
for i in $( pip freeze ); do sudo pip uninstall -y ; done
should be:
for i in $( pip freeze ); do sudo -H pip uninstall -y $i ; done

I believe it needs the -H flag so it can uninstall cached stuff.

Detect GTK and GStreamer framework installations

Presence of /Library/Frameworks/GStreamer.framework or /Library/Frameworks/GTK.framework can cause the CMake find module for the these to find those versions, rather than homebrew's. An acceptable workaround is to simple rename the framework dirs for the duration of the build, so we should recommend that if these paths are observed.

pcl_ros build error on EI Capitan

Hello guys,

I got a problem when I try to build pcl_ros package.

[ 25%] Built target pcl_ros_gencfg
Scanning dependencies of target pointcloud_to_pcd
[ 26%] Building CXX object CMakeFiles/pointcloud_to_pcd.dir/tools/pointcloud_to_pcd.cpp.o
[ 28%] Linking CXX executable /Users/***/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/***/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud] Error 1
make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2

It seems that the linking process is wrong. And couldn't find lpcl_o library

Issue with Gazebo during compilation

Hi, I'm trying to install ROS on my OSX El Capitan 10.11.5 but without success.

I'm not able to compile perfectly Gazebo. I got this error :

,/usr/local/lib -Wl,-rpath,/usr/local/Cellar/bullet/2.83.7/lib 
ld: library not found for -ltinyxml
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [gazebo/msgs/libgazebo_msgs.7.2.0.dylib] Error 1
make[1]: *** [gazebo/msgs/CMakeFiles/gazebo_msgs.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/osrf/homebrew-simulation/issues

ERROR: the following rosdeps failed to install
  homebrew: command [brew install gazebo7] failed

It seems that it is not able to find tinyxml. However I checked and It well installed.
Coud you please help me ?

Thank in advance,
Regards

Better upgrade story

Right now, the story is to just re-run the script every few weeks, but this re-downloads all packages, even stuff where the version is the same. There should be an option (possibly the default) which instead uses wstool merge to pull in updates (eg), and then only downloads the changed packages.

rosmake won't find packages after install

I get

[ rosmake ] rosmake starting...                                                                                                                                                                             
[ rosmake ] Packages requested are: ['lsd_slam']                                                                                                                                                            
[ rosmake ] Logging to directory /Users/megablanc/.ros/rosmake/rosmake_output-20150813-205856                                                                                                               
[ rosmake ] Expanded args ['lsd_slam'] to:
[]                                                                                                                                                               
[ rosmake ] WARNING: The following args could not be parsed as stacks or packages: ['lsd_slam']                                                                                                             
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.   

After installing via the script.

Relevant info:

echo $ROS_PACKAGE_PATH
/opt/ros/indigo/share:/opt/ros/indigo/stacks

Not sure what the problem is here

ls /opt/ros/indigo/share | grep "lsd_slam"
lsd_slam

The stack.xml in lsd_slam:

<stack>
  <description brief="lsd_slam">

    Large-Scale Direct Monocular SLAM

  </description>
  <author>Maintained by Jakob Engel</author>
  <license>see http://vision.in.tum.de/lsdslam </license>
  <review status="unreviewed" notes="under active development"/>
  <url>http://vision.in.tum.de/lsdslam</url>
  <depend stack="ros" />

</stack>

However, if I do rosmake lsd_slam_core it does work. Lsd_slam_core is one of the two packages in lsd_slam, like so:

tree lsd_slam/ -L 2
lsd_slam/
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ lsd_slam_core
โ”‚ย ย  โ”œโ”€โ”€ CMakeLists.txt
โ”‚ย ย  โ”œโ”€โ”€ Makefile
โ”‚ย ย  โ”œโ”€โ”€ calib
โ”‚ย ย  โ”œโ”€โ”€ cfg
โ”‚ย ย  โ”œโ”€โ”€ cmake
โ”‚ย ย  โ”œโ”€โ”€ manifest.xml
โ”‚ย ย  โ”œโ”€โ”€ src
โ”‚ย ย  โ””โ”€โ”€ thirdparty
โ”œโ”€โ”€ lsd_slam_viewer
โ”‚ย ย  โ”œโ”€โ”€ CMakeLists.txt
โ”‚ย ย  โ”œโ”€โ”€ Makefile
โ”‚ย ย  โ”œโ”€โ”€ bin
โ”‚ย ย  โ”œโ”€โ”€ build
โ”‚ย ย  โ”œโ”€โ”€ cfg
โ”‚ย ย  โ”œโ”€โ”€ cmake
โ”‚ย ย  โ”œโ”€โ”€ manifest.xml
โ”‚ย ย  โ”œโ”€โ”€ msg
โ”‚ย ย  โ”œโ”€โ”€ src
โ”‚ย ย  โ””โ”€โ”€ thirdparty
โ””โ”€โ”€ stack.xml

numpy brew vs pip

I'm installing on El Capitan with a fresh pip and brew installs. There appears to be a problem where numpy is installed both by brew and pip. This results in an error when rosdep runs:

~/indigo_desktop_full_ws ~
executing command [pip install -U matplotlib]
Collecting matplotlib
  Using cached matplotlib-1.4.3-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting numpy>=1.6 (from matplotlib)
  Using cached numpy-1.10.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Requirement already up-to-date: pytz in /usr/local/lib/python2.7/site-packages (from matplotlib)
Collecting pyparsing!=2.0.0,>=1.5.6 (from matplotlib)
  Using cached pyparsing-2.0.3-py2.py3-none-any.whl
Requirement already up-to-date: python-dateutil in /usr/local/lib/python2.7/site-packages (from matplotlib)
Requirement already up-to-date: nose>=0.11.1 in /usr/local/Cellar/numpy/1.10.0/libexec/nose/lib/python2.7/site-packages (from matplotlib)
Requirement already up-to-date: six>=1.4 in /usr/local/lib/python2.7/site-packages (from matplotlib)
Collecting mock (from matplotlib)
  Using cached mock-1.3.0-py2.py3-none-any.whl
Collecting funcsigs (from mock->matplotlib)
  Using cached funcsigs-0.4-py2.py3-none-any.whl
Collecting pbr>=0.11 (from mock->matplotlib)
  Using cached pbr-1.8.1-py2.py3-none-any.whl
Installing collected packages: numpy, pyparsing, funcsigs, pbr, mock, matplotlib
  Found existing installation: numpy 1.10.0
    DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling numpy-1.10.0:
      Successfully uninstalled numpy-1.10.0
  Rolling back uninstall of numpy
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/pip/basecommand.py", line 211, in main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/site-packages/pip/commands/install.py", line 311, in run
    root=options.root_path,
  File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 646, in install
    **kwargs
  File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 803, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 998, in move_wheel_files
    isolated=self.isolated,
  File "/usr/local/lib/python2.7/site-packages/pip/wheel.py", line 339, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/usr/local/lib/python2.7/site-packages/pip/wheel.py", line 317, in clobber
    shutil.copyfile(srcfile, destfile)
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/numpy/__config__.py'
ERROR: the following rosdeps failed to install
  pip: command [pip install -U matplotlib] failed

Homebrew numpy is an opencv dependency for one of the selected options.

banks:~ nah$ brew info opencv
homebrew/science/opencv: stable 2.4.12, HEAD
Open source computer vision library
http://opencv.org/
/usr/local/Cellar/opencv/2.4.12 (225 files, 36M) *
  Built from source with: --with-qt --with-tbb
From: https://github.com/Homebrew/homebrew-science/blob/master/opencv.rb
==> Dependencies
Build: cmake โœ”, pkg-config โœ”
Required: jpeg โœ”, libpng โœ”, libtiff โœ”
Recommended: eigen โœ”, openexr โœ”, homebrew/python/numpy โœ”

The solution (assuming we need to opencv optional parts) appears to be changing

brew install opencv --with-qt --with-eigen --with-tbb

to

  pip install numpy
  brew install opencv --with-qt --with-eigen --with-tbb --without-numpy

I'll open a PR if I get through the install without related errors.

pcl_ros compilation error with vtk 7.0.0

It looks like Homebrew recently upgrade vtk to 7.0.0. When running the install script this caused the compilation of pcl_ros to fail with the error:

ld: library not found for -lvtkftgl

If I use a previous version of vtk from Homebrew:

cd /usr/local/Library/Taps/homebrew/homebrew-science/
git checkout 092849afd643314eda1699ab6e6f1a793df91521 vtk.rb

and then comment out brew update from the script to prevent this change being discarded during script execution, everything compiles fine.

dlopen issues with gazebo

Hello,

I am trying to solve that issue : http://stackoverflow.com/questions/36009356/dlopen-failing-on-osx (originally this one : http://answers.ros.org/question/228923/gazebo-ros-control-plugin-not-loading-on-osx/ ) and I think that my OSX install may be responsible of these errors.
Since I used this script at the begining, maybe anybody here encountered similiar issues ? my ros packages are similiar to what is done for the ridgeback, so @mikepurvis maybe did you already see these messages ?

EDIT : Looks like my issue may be related to #12 but the DYL... fix is already in my rosrun file, but it's not a perfect fix..

The only fix I see right now, is to change all the install names, that's what I started :

install_name_tool -change libroslib.dylib /opt/ros/indigo/lib/libroslib.dylib libgazebo_ros_paths_plugin.dylib
install_name_tool -change libtf2_ros.dylib /opt/ros/indigo/lib/libtf2_ros.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change libtf.dylib /opt/ros/indigo/lib/libtf.dylib libgazebo_ros_paths_plugin.dylib
install_name_tool -change libactionlib.dylib /opt/ros/indigo/lib/libactionlib.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change libmessage_filters.dylib /opt/ros/indigo/lib/libmessage_filters.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change libroscpp.dylib /opt/ros/indigo/lib/libroscpp.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change libtf2.dylib /opt/ros/indigo/lib/libtf2.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change libxmlrpcpp.dylib /opt/ros/indigo/lib/libxmlrpcpp.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change librosconsole.dylib /opt/ros/indigo/lib/librosconsole.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change librosconsole_log4cxx.dylib /opt/ros/indigo/lib/librosconsole_log4cxx.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change librosconsole_backend_interface.dylib /opt/ros/indigo/lib/librosconsole_backend_interface.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change libdynamic_reconfigure_config_init_mutex.dylib /opt/ros/indigo/lib/libdynamic_reconfigure_config_init_mutex.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change libroscpp_serialization.dylib /opt/ros/indigo/lib/libroscpp_serialization.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change librostime.dylib /opt/ros/indigo/lib/librostime.dylib libgazebo_ros_paths_plugin.dylib 
install_name_tool -change libcpp_common.dylib /opt/ros/indigo/lib/libcpp_common.dylib libgazebo_ros_paths_plugin.dylib

But once a library is ok, the referenced ones starts to fail, for instance :

Failed to load plugin //Users/.../catkin_ws/devel/lib/libgazebo_ros_paths_plugin.dylib: dlopen(//Users/.../catkin_ws/devel/lib/libgazebo_ros_paths_plugin.dylib, 9): Library not loaded: librosconsole_log4cxx.dylib
Referenced from: /opt/ros/indigo/lib/librosconsole.dylib
Reason: image not found) :

rqt_plot error

When I try to launch rosrun rqt_plot rqt_plot I've got the next error:

$ rosrun rqt_plot rqt_plot 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/rqt_plot/rqt_plot", line 6, in <module>
    from rqt_plot.plot import Plot
  File "/opt/ros/indigo/lib/python2.7/site-packages/rqt_plot/plot.py", line 43, in <module>
    from .data_plot import DataPlot
  File "/opt/ros/indigo/lib/python2.7/site-packages/rqt_plot/data_plot/__init__.py", line 47, in <module>
    from mat_data_plot import MatDataPlot
  File "/opt/ros/indigo/lib/python2.7/site-packages/rqt_plot/data_plot/mat_data_plot.py", line 49, in <module>
    import matplotlib
  File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 1131, in <module>
    rcParams = rc_params()
  File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 975, in rc_params
    return rc_params_from_file(fname, fail_on_error)
  File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 1100, in rc_params_from_file
    config_from_file = _rc_params_in_file(fname, fail_on_error)
  File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 1018, in _rc_params_in_file
    with _open_file_or_url(fname) as fd:
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 1000, in _open_file_or_url
    encoding = locale.getdefaultlocale()[1]
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 543, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 475, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8

Does anyone know how to solve it?

pcl_ros acting up in MacOS 10.12

So I've looked around and saw this problem pop up with El Capitan, but it seems to have been fixed with pcl 1.8. Now it's popping up again. When I try to build pcl_ros I get the error

Starting >>> pcl_ros


Warnings << pcl_ros:cmake /Users/eric1221bday/indigo_desktop_full_ws/logs/pcl_ros/build.cmake.000.log
** WARNING ** io features related to openni will be disabled
** WARNING ** io features related to openni2 will be disabled
** WARNING ** io features related to ensenso will be disabled
** WARNING ** io features related to davidSDK will be disabled
** WARNING ** io features related to dssdk will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
** WARNING ** visualization features related to openni will be disabled
** WARNING ** visualization features related to openni2 will be disabled
** WARNING ** visualization features related to ensenso will be disabled
** WARNING ** visualization features related to davidSDK will be disabled
** WARNING ** visualization features related to dssdk will be disabled
** WARNING ** visualization features related to rssdk will be disabled
** WARNING ** apps features related to openni will be disabled
CMake Warning at /opt/ros/indigo/share/catkin/cmake/test/nosetests.cmake:98 (message):
nosetests not found, Python tests can not be run (try installing package
'python-nose')
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/all.cmake:147 (include)
/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:51 (include)
CMakeLists.txt:11 (find_package)

CMake Warning (dev) at CMakeLists.txt:80 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "pcl_ros_generate_messages_cpp" of target
"pcl_ros_tf" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.

cd /Users/eric1221bday/indigo_desktop_full_ws/build/pcl_ros; catkin build --get-env pcl_ros | catkin env -si /usr/local/bin/cmake /Users/eric1221bday/indigo_desktop_full_ws/src/perception_pcl/pcl_ros --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/Users/eric1221bday/indigo_desktop_full_ws/devel/.private/pcl_ros -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCATKIN_ENABLE_TESTING=1 -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7; cd -
....................................................................................................................................................................................


Errors << pcl_ros:make /Users/eric1221bday/indigo_desktop_full_ws/logs/pcl_ros/build.make.000.log
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/eric1221bday/indigo_desktop_full_ws/devel/.private/pcl_ros/lib/pcl_ros/pointcloud_to_pcd] Error 1
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/eric1221bday/indigo_desktop_full_ws/devel/.private/pcl_ros/lib/pcl_ros/convert_pointcloud_to_image] Error 1
make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/eric1221bday/indigo_desktop_full_ws/devel/.private/pcl_ros/lib/pcl_ros/pcd_to_pointcloud] Error 1
make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2
make: *** [all] Error 2

Failure installing pyqwt

This formula has been moved to boneyard โ€” see Homebrew/homebrew-core#4850. This makes the install fail. After adding the boneyard tap I still got a build failure:

==> Installing pyqwt from homebrew/boneyard
==> Installing dependencies for homebrew/boneyard/pyqwt: qwt
==> Installing homebrew/boneyard/pyqwt dependency: qwt
==> Downloading https://homebrew.bintray.com/bottles/qwt-6.1.3.el_capitan.bottle.1.tar.gz
########################################################################################################### 100.0%
==> Pouring qwt-6.1.3.el_capitan.bottle.1.tar.gz
๐Ÿบ  /usr/local/Cellar/qwt/6.1.3: 1,668 files, 18.9M
==> Installing homebrew/boneyard/pyqwt
==> Downloading https://downloads.sourceforge.net/project/pyqwt/pyqwt5/PyQwt-5.2.0/PyQwt-5.2.0.tar.gz
==> Downloading from http://pilotfiber.dl.sourceforge.net/project/pyqwt/pyqwt5/PyQwt-5.2.0/PyQwt-5.2.0.tar.gz
########################################################################################################### 100.0%
==> Patching
patching file configure/configure.py
==> python configure.py --module-install-path=/usr/local/Cellar/pyqwt/5.2.0/lib/python2.7/site-packages/PyQt4/Qwt5
==> make install
Last 15 lines from /Users/bhaskara/Library/Logs/Homebrew/pyqwt/02.make:
2016-09-20 08:45:57 -0700

make
install

clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.7 -fPIC -O2 -Wall -W -DNDEBUG -DHAS_NUMPY -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/usr/local/Cellar/sip/4.18.1/include -I/usr/local/lib/python2.7/site-packages/numpy/c
ore/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/opt/qt/mkspecs/default -I/usr
/local/opt/qt/lib/QtCore.framework/Headers -I/usr/local/opt/qt/lib/QtGui.framework/Headers -I/usr/local/opt/qt/include -F/usr/local/opt/qt/lib -o sip_iqtcmodule.o sip_iqtcmodule.cpp                                                
In file included from sip_iqtcmodule.cpp:7:
In file included from ./sipAPI_iqt.h:11:
/usr/local/Cellar/sip/4.18.1/include/sip.h:32:10: fatal error: 'Python.h' file not found
#include <Python.h>
         ^
1 error generated.
make[1]: *** [sip_iqtcmodule.o] Error 1
make: *** [install] Error 2

READ THIS: https://git.io/brew-troubleshooting
pyqwt was moved to homebrew-boneyard because it has unfixable issues.
Please do not file any issues about this. Sorry!

Error: The `brew link` step did not complete successfully

I get the error below and can't seem to find ROS anywhere in dashboard.

Error: The brew link step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/man/man5/png.5
/usr/local/share/man/man5 is not writable.

You can try again using:
brew link libpng

Account for PYTHON_LIBRARY and PYTHON_INCLUDE_DIR changing over time

In #40, PYTHON_LIBRARY and PYTHON_INCLUDE_DIR became part of catkin config. However, if Homebrew Python is updated (and then brew cleanup is invoked), those directories are replaced with the ones corresponding to the newer version. In this case, catkin build fails because the compiler cannot find various Python-related files, e.g. fatal error: 'Python.h' file not found

For example, before fixing the issue, I had Python 2.7.12:

$ brew info python
python: stable 2.7.12 (bottled), HEAD

but catkin / CMake was looking for 2.7.11

-DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
-DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/include/python2.7

This won't show up for people using the install script even when they just want to update their installation, as the catkin config command will be re-run. However, I would argue that we should remove those two flags from the configuration. And only keep (i) -install --install-space ${ROS_INSTALL_DIR} and (ii) -DCMAKE_BUILD_TYPE=Release, as those won't ever change. If that makes sense, I can open a pull request.

Detect MacPorts-installed stuff

Especially Python, but by and large anything installed in /opt will get picked up by the standard CMake find modules and will cause trouble. This should be detectable.

pcl_ros fails to build on OSX 10.11 (solved)

I'm (manually) following the install script, up to the point:

 catkin build \
   -DCMAKE_BUILD_TYPE=Release \
   -DPYTHON_LIBRARY=$(python -c "import sys; print sys.prefix")/lib/libpython2.7.dylib \
   -DPYTHON_INCLUDE_DIR=$(python -c "import sys; print sys.prefix")/include/python2.7

where build fails when starting to build pcl_ros, with the error:

[...]
[  0%] Built target std_msgs_generate_messages_py
[ 20%] Built target pcl_ros_gencfg
make[2]: *** No rule to make target `/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework', needed by `/Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pcd_to_image'.  Stop.
make[1]: *** [CMakeFiles/convert_pcd_to_image.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** No rule to make target `/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework', needed by `/Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pointcloud_to_image'.  Stop.
make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2
make[2]: *** No rule to make target `/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework', needed by `/Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud'.  Stop.
make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2
make[2]: *** No rule to make target `/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework', needed by `/Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd'.  Stop.
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2
make: *** [all] Error 2
[pcl_ros] <== '/Users/federico/indigo_desktop_full_ws/build/pcl_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'

so I went to /usr/local/Cellar/qt to see what's there, and in fact I did not have 4.8.7_1, so I create a symlink 4.8.7_1 pointing to my 4.8.7_2 installed qt, and restarted build, but now the error changed to:

[  0%] Built target std_msgs_generate_messages_py
[ 20%] Built target pcl_ros_gencfg
[ 25%] Linking CXX executable /Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud
[ 25%] Linking CXX executable /Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pointcloud_to_image
[ 25%] Linking CXX executable /Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pcd_to_image
[ 26%] Linking CXX executable /Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd
ld: can't map file, errno=22 file '/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework' for architecture x86_64
ld: can't map file, errno=22 file '/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework' for architecture x86_64
ld: can't map file, errno=22 file '/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud] Error 1
make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pcd_to_image] Error 1
make[1]: *** [CMakeFiles/convert_pcd_to_image.dir/all] Error 2
ld: can't map file, errno=22 file '/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pointcloud_to_image] Error 1
make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/federico/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd] Error 1
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2
make: *** [all] Error 2
[pcl_ros] <== '/Users/federico/indigo_desktop_full_ws/build/pcl_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'

Build errors in indigo installation.

OS X Yosemite, ver 10.10.5
brew --version : 0.9.5 (git revision d430d; last commit 2015-10-05)
pip --version : pip 7.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7)

[ 25%] Built target pcl_ros_gencfg
Scanning dependencies of target pointcloud_to_pcd
[ 26%] Building CXX object CMakeFiles/pointcloud_to_pcd.dir/tools/pointcloud_to_pcd.cpp.o
[ 28%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pcd_to_image
ld: library not found for -lvtkRenderingFreeTypeOpenGL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pcd_to_image] Error 1
make[1]: *** [CMakeFiles/convert_pcd_to_image.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 30%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud
ld: library not found for -lvtkRenderingFreeTypeOpenGL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud] Error 1
make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2
[ 31%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pointcloud_to_image
ld: library not found for -lvtkRenderingFreeTypeOpenGL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pointcloud_to_image] Error 1
make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2
[ 33%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd
ld: library not found for -lvtkRenderingFreeTypeOpenGL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd] Error 1
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2
make: *** [all] Error 2
[pcl_ros] <== '/Users/anon/indigo_desktop_full_ws/build/pcl_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'

http://answers.ros.org/question/218682/mac-os-ros-build-errors-indigo/

rosdep wants to install from taps/indigo after this script

I'm trying to install the turtlebot_simulator using rosdep install but it wants to satisfy requirements by tapping ros/indigo. Is that correct? It seems like it should prefer a source install though I'm a ROS newbie and might not understand the situation.

script doesn't install pip

as far as I can tell, from running it, the install script doesn't install pip. Even if there is a system pip, presumably the script is making reference to a brew python pip, right?

==> Pouring jpeg-8d.mavericks.bottle.2.tar.gz
๐Ÿบ  /usr/local/Cellar/jpeg/8d: 18 files, 780K
==> Installing fltk
==> Downloading http://fltk.org/pub/fltk/snapshots/fltk-1.3.x-r10866.tar.gz
######################################################################## 100.0%
==> NOCONFIGURE=1 ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/fltk/1.3.3-r10866_1 --enable-threads 
==> make install
๐Ÿบ  /usr/local/Cellar/fltk/1.3.3-r10866_1: 322 files, 6.0M, built in 39 seconds
bash: line 106: pip: command not found

however I also see that

Error: No available formula with the name "pip" 
Homebrew provides pip via: `brew install python`. However you will then
have two Pythons installed on your Mac, so alternatively you can install
pip via the instructions at:

and that homerew did install python at /usr/local/bin, but pip, however is not there.

$ brew install python
Warning: python-2.7.11 already installed

EDIT:
Sorry, I had some lingering root-owned files that were getting in the way of the pip installation

Gazebo version

After running the script (with indigo_desktop_full), I saw that I had gazebo7 installed for some reason instead of gazebo2. Is this expected to happen?

pcl_ros compile issue OSX 10.11

I am using the statement to [curl https://raw.githubusercontent.com/mikepurvis/ros-install-osx/master/install | bash] to install ROS in OSX. The installation gets stuck with following error:

Scanning dependencies of target pointcloud_to_pcd
make[2]: *** No rule to make target /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework', needed by/Users/ad/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 26%] Building CXX object CMakeFiles/pointcloud_to_pcd.dir/tools/pointcloud_to_pcd.cpp.o
make[1]: *** [CMakeFiles/convert_pcd_to_image.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2
make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2
make: *** [all] Error 2
[pcl_ros] <== '/Users/ad/indigo_desktop_full_ws/build/pcl_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'

Failed <== pcl_ros [ 35.8 seconds ]
Finished <== gazebo_ros [ 38.5 seconds ]
[build] There were '1' errors:

Failed to build package 'pcl_ros' because the following command:

Command to reproduce:

cd /Users/ad/indigo_desktop_full_ws/build/pcl_ros && /Users/ad/indigo_desktop_full_ws/build/pcl_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j; cd -

Path to log:

cat /Users/ad/indigo_desktop_full_ws/build/build_logs/pcl_ros.log

Exited with return code: 2

Could somebody help?

Compilation failed - ImportError: No module named catkin.environment_cache

Hi,

I'm not able to compile successfully ROS on OS X El Capitan.
I get this error :

errors     << geometry_msgs:cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/logs/geometry_msgs/build.cmake.000.log                             
Traceback (most recent call last):
  File "/Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/geometry_msgs/catkin_generated/generate_cached_setup.py", line 20, in <module>
    from catkin.environment_cache import generate_environment_script
ImportError: No module named catkin.environment_cache
CMake Error at /opt/ros/indigo/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  execute_process(/usr/local/bin/python
  "/Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/geometry_msgs/catkin_generated/generate_cached_setup.py")
  returned error code 1
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/all.cmake:186 (safe_execute_process)
  /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:51 (include)
  CMakeLists.txt:4 (find_package)


cd /Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/geometry_msgs; catkin build --get-env geometry_msgs | catkin env -si  /usr/local/bin/cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/src/common_msgs/geometry_msgs --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/Users/libraries/ros-install-osx/indigo_desktop_full_ws/devel/.private/geometry_msgs -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCATKIN_ENABLE_TESTING=0 -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7; cd -
..........................................................................................................................................................................
Failed     << geometry_msgs:cmake                             [ Exited with code 1 ]                                                                                      
Failed    <<< geometry_msgs                                   [ 2.8 seconds ]                                                                                             
Abandoned <<< pr2_description                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< roslisp                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rosmsg                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< rospy                                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rosservice                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< roslaunch                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< pluginlib                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< qt_gui_cpp                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< resource_retriever                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rosconsole_bridge                               [ Unrelated job failed ]                                                                                    
Abandoned <<< rostest                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_action                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_bag                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_bag_plugins                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_console                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_dep                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_graph                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_logger_level                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_moveit                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_msg                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_nav_view                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_plot                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_pose_view                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_publisher                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_py_console                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_reconfigure                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_dashboard                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_monitor                               [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_steering                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_runtime_monitor                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_service_caller                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_shell                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_srv                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_tf_tree                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_top                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_topic                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_web                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< eigen_conversions                               [ Unrelated job failed ]                                                                                    
Abandoned <<< kdl_conversions                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< nav_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_py_common                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< sensor_msgs                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< image_geometry                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< map_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< shape_msgs                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< stereo_msgs                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2                                             [ Unrelated job failed ]                                                                                    
Abandoned <<< trajectory_msgs                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< control_msgs                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_msgs                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< visualization_msgs                              [ Unrelated job failed ]                                                                                    
Abandoned <<< geometric_shapes                                [ Unrelated job failed ]                                                                                    
Abandoned <<< roscpp                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< bondcpp                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< bondpy                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_calibration_parsers                      [ Unrelated job failed ]                                                                                    
Abandoned <<< collada_parser                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< joint_state_publisher                           [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet_tutorial_math                           [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_conversions                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< pluginlib_tutorials                             [ Unrelated job failed ]                                                                                    
Abandoned <<< roscpp_tutorials                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rosout                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_calibration                              [ Unrelated job failed ]                                                                                    
Abandoned <<< cv_bridge                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_aggregator                           [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_updater                              [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_common_diagnostics                   [ Unrelated job failed ]                                                                                    
Abandoned <<< dynamic_reconfigure                             [ Unrelated job failed ]                                                                                    
Abandoned <<< filters                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< message_filters                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< image_transport                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_info_manager                             [ Unrelated job failed ]                                                                                    
Abandoned <<< polled_camera                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rosnode                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rospy_tutorials                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rostopic                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< roswtf                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_gui_cpp                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_gui_py                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_image_view                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< self_test                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< smach_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_py                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< topic_tools                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rosbag                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib_tutorials                             [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_depth_image_transport                [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_image_transport                      [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_analysis                             [ Unrelated job failed ]                                                                                    
Abandoned <<< driver_base                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< image_proc                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< image_view                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet_topic_tools                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_launch                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< stereo_image_proc                               [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< depth_image_proc                                [ Unrelated job failed ]                                                                                    
Abandoned <<< tf                                              [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_ros                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_markers                             [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_marker_tutorials                    [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_geometry                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_assembler                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_filters                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< stage_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_geometry_msgs                               [ Unrelated job failed ]                                                                                    
Abandoned <<< image_rotate                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_kdl                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_sensor_msgs                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< pointcloud_to_laserscan                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf_conversions                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< theora_image_transport                          [ Unrelated job failed ]                                                                                    
Abandoned <<< turtlesim                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_actionlib                                [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf2                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< collada_urdf                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_plugins                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< kdl_parser                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< robot_state_publisher                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< librviz_tutorial                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_rviz                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_plugin_tutorials                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_python_tutorial                            [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf_tutorial                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< visualization_marker_tutorials                  [ Unrelated job failed ]                                                                                    
Abandoned <<< xacro                                           [ Unrelated job failed ]                                                                                    
Finished  <<< rosconsole                                      [ 19.2 seconds ]                                                                                            
Finished  <<< rqt_gui                                         [ 4.5 seconds ]                                                                                             
Finished  <<< bond                                            [ 6.8 seconds ]                                                                                             
Finished  <<< actionlib_msgs                                  [ 8.3 seconds ]                                                                                             
Finished  <<< diagnostic_msgs                                 [ 8.3 seconds ]                                                                                             
Finished  <<< rosgraph_msgs                                   [ 7.7 seconds ]                                                                                             
Finished  <<< smach_msgs                                      [ 7.4 seconds ]                                                                                             
[build] Summary: 58 of 194 packages succeeded.                                                                                                                            
[build]   Ignored:   31 packages were skipped or are blacklisted.                                                                                                         
[build]   Warnings:  6 packages succeeded with warnings.                                                                                                                  
[build]   Abandoned: 135 packages were abandoned.                                                                                                                         
[build]   Failed:    1 packages failed.                                                                                                                                   
[build] Runtime: 1 minute and 47.7 seconds total.                                                                                                                         
[build] Note: Workspace packages have changed, please re-source setup files to use them.

I tried to look on the internet but did not find any suitable solution.
Could you please take a look on that ? Thank

homebrew: command [brew install nose] failed

...
[xacro] Fetching https://github.com/ros-gbp/xacro-release/archive/release/indigo/xacro/1.9.5-0.tar.gz (version xacro-release-release-indigo-xacro-1.9.5-0) to /Users/luc/code/ros-install-osx/indigo_desktop_full_ws/src/xacro
[xacro] still active
[xacro] Done.

update complete.
~/code/ros-install-osx/indigo_desktop_full_ws/src/rviz/ogre_media/models ~/code/ros-install-osx/indigo_desktop_full_ws ~/code/ros-install-osx
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5863  100  5863    0     0   7280      0 --:--:-- --:--:-- --:--:--  7274
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2488  100  2488    0     0   6012      0 --:--:-- --:--:-- --:--:--  6024
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11488  100 11488    0     0  38312      0 --:--:-- --:--:-- --:--:-- 38293
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 42238  100 42238    0     0  97711      0 --:--:-- --:--:-- --:--:-- 97773
~/code/ros-install-osx/indigo_desktop_full_ws ~/code/ros-install-osx
Error: No available formula with the name "nose"
executing command [brew install nose]
Error: No available formula with the name "nose"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
ERROR: the following rosdeps failed to install
  homebrew: command [brew install nose] failed

Any idea? When i try installing nose with pip install --upgrade nose, it works. Not sure why homebrew is trying to install it and failing each time.

osx10.10.4 pcl_ros + brewed python trouble and solution

I had to add this to compile pcl_ros, though I'm not sure that it's not a quirk of my system.

I'm building ros packages with:

-DPYTHON_LIBRARY=$(python -c "import sys; print sys.prefix")/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=$(python -c "import sys; print sys.prefix")/include/python2.7

And it produces:

-DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7

So, I'm unaware for now why pcl_ros tries to link against /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7

To overcome this I used the same kind of code as already used for Qt:

  if [ -d /usr/local/Cellar/python/2.7.10_2]; then
    pushd /usr/local/Cellar/python/
    if [ ! -d "2.7.9" ]; then
      ln -s 2.7.10_2 2.7.9
    fi
    popd
  fi
0/~> sw_vers 
ProductName:    Mac OS X
ProductVersion: 10.10.4
BuildVersion:   14E46
0/~> brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 1ed13e5711c1b4c1174bf5d7cdea35505efb397d
Last commit: 79 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit ivybridge
OS X: 10.10.4-x86_64
Xcode: N/A
CLT: 6.4.0.0.1.1435007323
Clang: 6.1 build 602
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby
Java: 1.6.0_65

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.