ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ROS indigo on Mac Yosemite

asked 2015-09-05 23:50:55 -0600

prince gravatar image

updated 2015-09-06 00:20:04 -0600

Hi I am following instructions provided on installation page http://wiki.ros.org/indigo/Installati...

I am facing errors in installing dependencies for the source packages. One involves installing pcre as:

==> Downloading http://www.daemon.de/idisk/Apps/pcre++/pcre++-0.9.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/pcre++-0.9.5.tar.gz
==> Patching
patching file libpcre++/pcre++.h
==> autoreconf -fvi
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: error: aclocal: file '/usr/local/share/aclocal/pstoedit.m4' does not exist
autoreconf: aclocal failed with exit status: 1
READ THIS: https://git.io/brew-troubleshooting

A segment of the output, which may be useful in context of autoconf. Which init file, i should add the commands as mentioned below:

==> Installing tango-icon-theme from ros/homebrew-deps
==> Installing dependencies for ros/deps/tango-icon-theme: autoconf, automake, gettext, icon-naming-utils, xz, libtool, imagemagick, intltool, pkg-config
==> Installing ros/deps/tango-icon-theme dependency: autoconf
==> Downloading https://homebrew.bintray.com/bottles/autoconf-2.69.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring autoconf-2.69.yosemite.bottle.1.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/

Add the following to your init file to have packages installed by
Homebrew added to your load-path:
(let ((default-directory "/usr/local/share/emacs/site-lisp/"))
  (normal-top-level-add-subdirs-to-load-path))
==> Summary
๐Ÿบ  /usr/local/Cellar/autoconf/2.69: 70 files, 3.1M
==> Installing ros/deps/tango-icon-theme dependency: automake
==> Downloading https://homebrew.bintray.com/bottles/automake-1.15.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring automake-1.15.yosemite.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/automake/1.15: 130 files, 3.2M
==> Installing ros/deps/tango-icon-theme dependency: gettext
==> Downloading https://homebrew.bintray.com/bottles/gettext-0.19.5.1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gettext-0.19.5.1.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

OS X provides the BSD gettext library and some software gets confused if both are in the library path.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/gettext/lib
    CPPFLAGS: -I/usr/local/opt/gettext/include

I have updated system python, but brew still try to install python. brew doctor is also not able to help much in these issues. Output of brew doctor is as follows:

     bash-3.2$ brew doctor > ~/doctor_output.txt
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:

    /usr/local/share/man/de
    /usr/local/share/man/de/man1
Warning: Broken symlinks were found. Remove them with `brew prune`:
  /usr/local/bin/GraphicsMagick++-config
  /usr/local/bin/GraphicsMagick-config
  /usr/local ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-09-06 12:23:35 -0600

Tom Moore gravatar image

Instead of those directions, try these.

edit flag offensive delete link more

Comments

./install Already up-to-date. These instructions are about to install Python from Homebrew. However, there are already pip packages installed against the system python, in the following path: /Library/Python/2.7/site-packages/ To proceed, please uninstall these packages: pip freeze | xargs

prince gravatar image prince  ( 2015-09-07 11:08:38 -0600 )edit

It is asking to remove system installed python. I do not know whether it is safe to remove system installed python

prince gravatar image prince  ( 2015-09-07 11:09:15 -0600 )edit

I installed using the instruction provided in the link. But it lacks navigtion and perception packages. Is there any easy way to do it via script? I am facing cascaded dependency issues?

prince gravatar image prince  ( 2015-09-10 21:03:08 -0600 )edit
1

Just looking at the script that gets pulled down, it appears you can define a ROS_EXTRA_PACKAGES environment variable. Add whatever packages you want to that, then run the script.

Tom Moore gravatar image Tom Moore  ( 2015-09-11 07:02:43 -0600 )edit

will already installed packages will get overwritten?

prince gravatar image prince  ( 2015-09-11 09:55:35 -0600 )edit
1

Not sure. You'd have to review the script and see what directories it keeps and which it deletes. You can always generate another .rosinstall file yourself using rosinstall_generator and then merge that into your src folder with wstool.

Tom Moore gravatar image Tom Moore  ( 2015-09-11 10:12:41 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-09-05 23:50:55 -0600

Seen: 684 times

Last updated: Sep 06 '15