Ros jade on Mac OS X El Capitan - homebrew

I am trying to install ROS Jade on Mac OS X El Capita. I am following this instructions set for Homebrew.
I am able to initialize the ROS package but when I try to install the ROS package using the command
rosdep install --from-paths src --ignore-src --rosdistro jade
i get the following error message
executing command [brew install uuid]
==> Installing uuid from ros/deps
==> Downloading http://gnome-build-stage-1.googlecode.com/files/uuid-1.6.2.tar.gz
curl: (52) Empty reply from server
Error: Failed to download resource "uuid"
Download failed: http://gnome-build-stage-1.googlecode.com/files/uuid-1.6.2.tar.gz
ERROR: the following rosdeps failed to install
homebrew: command [brew install uuid] failed
If anyone has run into this error please let me know a way to install uuid on mac
or any other way of installing ROS on mac os x.
Thanks in advance.

I faced the same issue, but after running the command
$ rosdep init
something changed. Now I am stacked on the package libogre-dev, that is missing. I hope it could be helpful.

Related

GDAL: library not loasded libhdf5.100.dylib

I would like to run a GMT file wrote in tcsh environment. When I'm running it, I have the following error message :
dyld: Library not loaded: /opt/local/lib/libhdf5.100.dylib
Referenced from: /opt/local/lib/gmt4/bin/gmtset
Reason: image not found
I went to /opt/local/lib path, and indeed, libhdf5.103.dylib is installing, and not libhdf5.100.dylib. I did not find a way to reinstall libhdf5.100.dylib using port or brew.
The later doesn't work :
sudo port install libhdf5-100
sudo port install libhdf5.100
sudo port install libhdf5.100.dylib
I already try:
brew reinstall osgeo-gdal --build-from-source
But, this doesn't work. I have the following issue:
Warning: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
qt: macOS Sierra or newer is required.
Error: An unsatisfied requirement failed this build.
Do you have any ideas?
Thank you.
Looks like gdal needs to be rebuilt with the current hdf5. You can try:
sudo port uninstall gdal && sudo port install -s gdal
This will build gdal from source and link against the installed HDF5 library.

How can I fix the error in installing xmgrace in Mac Mojave?

I tried to install xmgrace via brew with the command brew install grace, but then following error occurs:
Can't open display
Failed initializing GUI, exiting
I operate in the bash shell on a macOS Mojave10.14.6.
How can I fix the error?
You can try below command to solve your issue:
$ DISPLAY=:0.0 xmgrace
if it doesn’t solve the problem, you need to open XQuartz and then enter the following command:
$ DISPLAY=:0.0 xmgrace

OS X Yosemite : cannot brew install imagemagick on Yosemite : libtool-2.4.6 error?

Trying to install imagemagick ( to be used w PaperClip gem) on my mac ( Yosemite 10.10.5) raising error with 'libtool' what happen with it ?
$ brew update
$ brew install imagemagick
==> Installing dependencies for imagemagick: libtool, jpeg, libpng, libti
==> Installing imagemagick dependency: libtool
==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6.yosemite.bott
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
Error: Failed to download resource "libtool"
Download failed: https://homebrew.bintray.com/bottles/libtool-2.4.6.yosemite.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.xz
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
Trying a mirror...
==> Downloading https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
Error: Failed to download resource "libtool"
Download failed: https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
Had the same error and https://github.com/Homebrew/homebrew/issues/43154 fixed it for me. You will need to remove SSL_CERT_DIR variable from .bash_profile or .bashrc and you might also need to run unset SSL_CERT_DIR
In my case, the homebrew-directory (~/Library/Caches/Homebrew) had root as owner. So executing
sudo chown -R {myUserName}:staff Homebrew
fixed this issue and Homebrew worked again as expected.

ffmpeg fails to build by MacPorts

I've seen a many problems about this, but I didn't get a solution.
My OS is Yosemite and current OpenCV is 2.4.9
I'm trying to install OpenCV with TBB, but when I do it by sudo port install opencv +debug +python27 +qt4 +tbb (through this SO question):
Rafaels-iMac:y3PQFyQhUG rafaelruizmunoz$ sudo port install opencv
+debug +python27 +qt4 +tbb
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
Warning: Install them by running 'xcode-select --install'.
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
Warning: Install them by running xcode-select --install'.
---> Computing dependencies for ffmpeg
---> Configuring ffmpeg Error: Failed to configure ffmpeg, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-2.6/config.log
Error: org.macports.configure for port ffmpeg returned: configure failure: command execution failed Please see the log file for port ffmpeg for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade ffmpeg failed
And there are not any logs on those paths.
I've tried (support from SO and MacPorts).
port selfupdate
port upgrade ffmpeg
port clean x264
port upgrade outdated
port -f selfupdate
but nothing happened.
Does anyone have a clue?
Thank you in advance.
EDIT: Doing xcode-select --install doesn't resolve anything.
The code that produces this warning is at http://trac.macports.org/browser/trunk/base/src/port1.0/portutil.tcl?marks=3279-3289#L3266. On 10.10, it checks whether /Library/Developer/CommandLineTools/usr/include exists and /Library/Developer/CommandLineTools/usr/bin/make is executable. Since that's not the case on your system, the Command Line Tools have not been successfully installed.
After running xcode-select --install, a dialog box should pop up that allows you to click "Install" to install the Command Line Tools. See http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/ for screenshots.
Once you installed those, your build should work. If it doesn't, you'll have to upload the contents of the main.log for further diagnosis.

Mesa Installation: confiuguration process is ok but error in installation process

Hello i am a new user of ubuntu. I am trying to install mesa in ubuntu.The configuration process is ok.But when i am try to install, it shows this message
xmlconfig.c:34:19: fatal error: expat.h: No such file or directory
what will be the solutions of this problem?
Thanks in advance
Have you got the build-essential package installed?

Resources