-
Notifications
You must be signed in to change notification settings - Fork 7
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
Build errors on Mac #48
Comments
Huh, it looks like homebrew-science has been discontinued and healpix didn't quite make the cut for migration to homebrew-core. As a quick fix, you can try commenting out this line in provides(Homebrew.HB, "homebrew/science/healpix", [libchealpix, libhealpix_cxx], os=:Darwin) I can't 100% guarantee that this will work though. I will hopefully have time to look into a longer term solution this evening. |
Hi Michael,
Huh, it looks like homebrew-science has been discontinued and healpix didn't quite make the cut for migration to homebrew-core.
As a quick fix, you can try commenting out this line in deps/build.jl:
provides(Homebrew.HB, "homebrew/science/healpix", [libchealpix, libhealpix_cxx], os=:Darwin)
I can't 100% guarantee that this will work though. I will hopefully have time to look into a longer term solution this evening.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#48 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA1a-dK1cTKWhH9Yfe_bPPeJ8RhRLU_nks5tQJjUgaJpZM4R0N-d>.
Thanks for your answer.
I tried to comment that line, but the build fails again:
INFO: Building LibHealpix
==========================================================================================================[ ERROR: LibHealpix ]==========================================================================================================
LoadError: None of the selected providers can install dependency libchealpix.
Use BinDeps.debug(package_name) to see available providers
while loading /Users/marquett/.julia/v0.6/LibHealpix/deps/build.jl, in expression starting on line 143
Cheers,
JB
|
Oh, right. It's been a while since I wrote the You can try setting this line (link below) from Line 23 in 2a03495
I don't have access to a Mac at the moment, but I'll borrow one from a friend this evening and then I can give more specific instructions. |
Even better, Googling a little more it looks like the homebrew-science formulae were moved to a different (although now unmaintained location). Can you try (starting over fresh), just replacing provides(Homebrew.HB, "homebrew/science/healpix", [libchealpix, libhealpix_cxx], os=:Darwin) with provides(Homebrew.HB, "brewsci/science/healpix", [libchealpix, libhealpix_cxx], os=:Darwin) |
Hi Michael,
Bingo!
julia> Pkg.test("LibHealpix")
INFO: Testing LibHealpix
WARNING: version mismatch between CFITSIO header (v3.39) and linked library (v3.42).
WARNING: version mismatch between CFITSIO header (v3.39) and linked library (v3.42).
WARNING: the ORDERING keyword does not exist, assuming RING
Test Summary: | Pass Broken Total
LibHealpix Tests | 657 1 658
INFO: LibHealpix tests passed
Thanks again!!
Cheers,
JB
… Even better, Googling a little more it looks like the homebrew-science formulae were moved to a different (although now unmaintained location).
Can you try (starting over fresh), just replacing
provides(Homebrew.HB, "homebrew/science/healpix", [libchealpix, libhealpix_cxx], os=:Darwin)
with
provides(Homebrew.HB, "brewsci/science/healpix", [libchealpix, libhealpix_cxx], os=:Darwin)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#48 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA1a-frBEV1b7i11HDByONyLR_gDZdxdks5tQNrEgaJpZM4R0N-d>.
|
Great, glad to see it's working! The version mismatch warning is, I believe, harmless and an artifact of the fact that homebrew healpix was built against an earlier version of fitsio. The ORDERING keyword warning is just part of the tests. |
Hi Healpix gurus,
I got this on my Mac under macOS 10.12.6 with julia 0.6.2, x86_64-apple-darwin14.5.0:
Pkg.build("LibHealpix")
INFO: Building Homebrew
Already up-to-date.
INFO: Building FITSIO
INFO: Building LibHealpix
Error: No available formula with the name "homebrew/science/healpix"
Error: No available formula with the name "homebrew/science/healpix"
=====================================================[ ERROR: LibHealpix ]=====================================================
LoadError: None of the selected providers can install dependency libchealpix.
Use BinDeps.debug(package_name) to see available providers
while loading /Users/marquett/.julia/v0.6/LibHealpix/deps/build.jl, in expression starting on line 143
This is likely connected to that deprecated formula.
Thanks for your help,
Cheers,
JB
The text was updated successfully, but these errors were encountered: