mannau / h5

Interface to the HDF5 Library
Other
70 stars 22 forks source link

homebrew/science is deprecated > cannot install h5c++ #69

Open agilebean opened 6 years ago

agilebean commented 6 years ago

On Mac OS, brew install homebrew/science/hdf5 --enable-cxx gives homebrew/science was deprecated. This tap is now empty as all its formulae were migrated.

What alternative is there to homebrew installation?

agilebean commented 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

dozenoaks commented 6 years ago

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

baderstine commented 5 years ago

@agilebean Your solution worked for me. I edited the install instructions for MACOSX to use /core/ instead of /science/ and submitted a pull request.