mweastwood / LibHealpix.jl

A Julia wrapper of the Healpix library.
http://mweastwood.info/LibHealpix.jl/stable/
Other
11 stars 7 forks source link

key "10.13" not found during installation #46

Closed DanielLenz closed 6 years ago

DanielLenz commented 6 years ago

I've been trying to install LibHealpix and ran into the following problem:

julia> Pkg.add("LibHealpix")
INFO: Installing LibHealpix v0.2.5
INFO: Building FITSIO
INFO: Building Homebrew
INFO: Building LibHealpix
==================================[ ERROR: LibHealpix ]==================================

LoadError: KeyError: key "10.13" not found
while loading /Applications/JuliaPro-0.6.0.1.app/Contents/Resources/pkgs-0.6.0.1/v0.6/LibHealpix/deps/build.jl, in expression starting on line 35

=========================================================================================

====================================[ BUILD ERRORS ]=====================================

WARNING: LibHealpix had build errors.

 - packages with build errors remain installed in /Applications/JuliaPro-0.6.0.1.app/Contents/Resources/pkgs-0.6.0.1/v0.6
 - build the package(s) and all dependencies with `Pkg.build("LibHealpix")`
 - build a single package by running its `deps/build.jl` script

julia> versioninfo()
Julia Version 0.6.0
Commit 903644385b (2017-06-19 13:05 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin13.4.0)
  CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)

I assume 10.13 is the latest MacOS version, but haven't been able to resolve the issue.

DanielLenz commented 6 years ago

Actually just got it to work after upgrading to Julia 0.6.1.

mweastwood commented 6 years ago

Glad to hear you got it working!

This looks like it may have been an issue with Homebrew.jl because it's hitting an error on Homebrew.add("pkg-config"). Do let me know if you run into this again and we can try to figure this out in more detail. Getting the package to build correctly across all platforms has been a headache..