Open agilebean opened 6 years ago
I just found the solution. As homebrew/science was moved to the core, so use this command now:
brew install homebrew/core/hdf5 --enable-cxx
I also had this problem and used:
brew install hdf5 --enable-cxx
which did install, but did throw this error:
==>Warning: hdf5: this formula has no --enable-cxx option so it will be ignored!
incase anyone else is having the same problems with brew as I did, I also got the following while brew was installing dependencies:
==> Installing dependencies for hdf5: gcc, szip
==> Installing hdf5 dependency: gcc
Warning: Building gcc from source:
The bottle needs the Xcode CLT to be installed.
(Xcode CLT is an extra installation even if you have Xcode installed)
You can check if CLT in installed by running brew config
. If not, CLT can be installed with:
xcode-select --install
@agilebean Your solution worked for me. I edited the install instructions for MACOSX to use /core/ instead of /science/ and submitted a pull request.
On Mac OS,
brew install homebrew/science/hdf5 --enable-cxx
giveshomebrew/science was deprecated. This tap is now empty as all its formulae were migrated.
What alternative is there to homebrew installation?