package installation problem -"HDF5")



Hello everyone,

Yesterday, I have installed Julia on my macOS High Sierra, version 10.13.6 (the latest).
When I ran the command:“HDF5”)

I get the error message:


Building LibCURL ─→ ~/.julia/packages/LibCURL/OoXMv/deps/build.log

Building WinRPM ──→ ~/.julia/packages/WinRPM/Y9QdZ/deps/build.log

Building Homebrew → ~/.julia/packages/Homebrew/l8kUw/deps/build.log

┌ Error: Error building Homebrew:

│ Already up-to-date.

│ Error: gcc@5: Unsupported special dependency :maximum_macos

│ ERROR: LoadError: ArgumentError: brew info failed for [“gcc”]!

│ Stacktrace:

│ [1] json(::Array{String,1}) at /Users/cortesao/.julia/packages/Homebrew/l8kUw/src/API.jl:192

│ [2] info(::Array{String,1}) at /Users/cortesao/.julia/packages/Homebrew/l8kUw/src/API.jl:229

How can this problem be solved?



What happens when you type gcc in Terminal?


If I type just gcc it displays:

clang: error: no input files

If I type gcc --version it displays:

Configured with: --prefix=/Applications/ --with-gxx-include-dir=/Applications/

Apple LLVM version 10.0.0 (clang-1000.11.45.2)

Target: x86_64-apple-darwin17.7.0

Thread model: posix

InstalledDir: /Applications/


Typing gcc would have installed it if not already.


Please first run

Brew install hdf5 before building hdf5


It feels like Julia should somehow be able to do this automatically.


I agree, but it is not possible with the Homebrew package since it maintains its own patched versions of brew packages, which are giving problems with HDF5, due to some incompatibilities; there are issues opened regarding this but there hasn’t been progress on any of them, since most are transitioning to BinaryBuilder solutions, but HDF5 does not support cross-compilation so we cannot use BinaryBuilder yet .