Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew install gazebo4, fails on sdformat2.3.2 dependency #413

Closed
Lucaslpena opened this issue May 7, 2018 · 1 comment
Closed

brew install gazebo4, fails on sdformat2.3.2 dependency #413

Lucaslpena opened this issue May 7, 2018 · 1 comment

Comments

@Lucaslpena
Copy link

Installing gazebo4 fails on the sdformat2.3.2 dependency see below for output

~ brew install gazebo4
Updating Homebrew...
==> Installing gazebo4 from osrf/simulation
==> Installing dependencies for osrf/simulation/gazebo4: sdformat, bullet
==> Installing osrf/simulation/gazebo4 dependency: sdformat
==> Downloading http://gazebosim.org/distributions/sdformat/releases/sdformat-2.3.2.tar.bz2
Already downloaded: /Users/Lucian/Library/Caches/Homebrew/sdformat-2.3.2.tar.bz2
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/sdformat/2.3.2_3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERB
Last 15 lines from /Users/Lucian/Library/Logs/Homebrew/sdformat/01.cmake:
-- Performing Test R-Wswitch-default
-- Performing Test R-Wswitch-default - Success
-- Performing Test R-Wmissing-include-dirs
-- Performing Test R-Wmissing-include-dirs - Success
-- Performing Test R-pedantic
-- Performing Test R-pedantic - Success
-- Performing Test GCC_SUPPORTS_VISIBILITY
-- Performing Test GCC_SUPPORTS_VISIBILITY - Success
-- Using upstream CFlags
CMake Error at CMakeLists.txt:202 (else):
  A duplicate ELSE command was found inside an IF block.


-- Configuring incomplete, errors occurred!
See also "/tmp/sdformat-20180507-49043-bp3zl/sdformat-2.3.2/build/CMakeFiles/CMakeOutput.log".

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/osrf/homebrew-simulation/issues

Is there a way a similar patch like that brought up here:
#47
might fix this??

Thank you in advance!

@scpeters
Copy link
Member

scpeters commented May 7, 2018

I think you would want to apply this patch:

I will accept pull requests to fix these old formulae, but we aren't maintaining those versions of gazebo/sdformat on homebrew.

@scpeters scpeters closed this as completed Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants