# Problem to install MiniQhull in Julia 1.7.0 on Mac OS

**URL:** https://discourse.julialang.org/t/problem-to-install-miniqhull-in-julia-1-7-0-on-mac-os/85017
**Category:** New to Julia
**Tags:** question
**Created:** [July 30, 2022, 1:55am UTC](https://discourse.julialang.org/t/problem-to-install-miniqhull-in-julia-1-7-0-on-mac-os/85017 "2022-07-30T01:55:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Yong](https://avatars.discourse-cdn.com/v4/letter/y/b487fb/32.png) [@Yong](https://discourse.julialang.org/u/Yong)
#### Post date: [July 30, 2022, 1:55am UTC](https://discourse.julialang.org/t/problem-to-install-miniqhull-in-julia-1-7-0-on-mac-os/85017/1 "2022-07-30T01:55:57Z")

</div>

Dear all,

When I install MiniQhull in Julia 1.7.0, I got the following error message. Could you please help me to how to fix it? Thanks!

julia\> Pkg.precompile()  
Precompiling project…  
✗ MiniQhull  
0 dependencies successfully precompiled in 1 seconds (9 already precompiled)

ERROR: The following 1 direct dependency failed to precompile:

MiniQhull [978d7f02-9e05-4691-894f-ae31a51d76ca]

Failed to precompile MiniQhull [978d7f02-9e05-4691-894f-ae31a51d76ca] to /Users/liuyong/.julia/compiled/v1.7/MiniQhull/jl\_wvcQQo.  
ERROR: LoadError: Package MiniQhull not installed properly.  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:33  
[2] top-level scope  
@ ~/.julia/packages/MiniQhull/PLvbq/src/load.jl:4  
[3] include(mod::Module, \_path::String)  
@ Base ./Base.jl:418  
[4] include(x::String)  
@ MiniQhull ~/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:1  
[5] top-level scope  
@ ~/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:7  
[6] include  
@ ./Base.jl:418 [inlined]  
[7] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)  
@ Base ./loading.jl:1318  
[8] top-level scope  
@ none:1  
[9] eval  
@ ./boot.jl:373 [inlined]  
[10] eval(x::Expr)  
@ Base.MainInclude ./client.jl:453  
[11] top-level scope  
@ none:1  
in expression starting at /Users/liuyong/.julia/packages/MiniQhull/PLvbq/src/load.jl:3  
in expression starting at /Users/liuyong/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:1  
Stacktrace:  
[1] pkgerror(msg::String)  
@ Pkg.Types /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/Pkg/src/Types.jl:68  
[2] precompile(ctx::Pkg.Types.Context; internal\_call::Bool, strict::Bool, warn\_loaded::Bool, already\_instantiated::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})  
@ Pkg.API /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/Pkg/src/API.jl:1362  
[3] precompile  
@ /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/Pkg/src/API.jl:1013 [inlined]  
[4] #precompile#220  
@ /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/Pkg/src/API.jl:1011 [inlined]  
[5] precompile()  
@ Pkg.API /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/Pkg/src/API.jl:1011  
[6] top-level scope  
@ REPL[3]:1

---

<div class="post-metadata">

### Author: ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)
#### Post date: [July 30, 2022, 3:14am UTC](https://discourse.julialang.org/t/problem-to-install-miniqhull-in-julia-1-7-0-on-mac-os/85017/2 "2022-07-30T03:14:51Z")

</div>

Can you try installing under Julia v1.8? The error is much more informative in the newer version.

---

<div class="post-metadata">

### Author: ![Yong](https://avatars.discourse-cdn.com/v4/letter/y/b487fb/32.png) [@Yong](https://discourse.julialang.org/u/Yong)
#### Post date: [July 30, 2022, 10:30am UTC](https://discourse.julialang.org/t/problem-to-install-miniqhull-in-julia-1-7-0-on-mac-os/85017/3 "2022-07-30T10:30:17Z")

</div>

Thanks for your reply! I have tried to install it under Julia v1.8. I got the following error information:

(@v1.8) pkg\> add MiniQhull  
Updating registry at `~/.julia/registries/General.toml`  
Resolving package versions…  
Downloaded artifact: XML2  
Downloaded artifact: Libiconv  
Downloaded artifact: IntelOpenMP  
Downloaded artifact: FFTW  
Downloaded artifact: OpenSpecFun  
No Changes to `~/.julia/environments/v1.8/Project.toml`  
No Changes to `~/.julia/environments/v1.8/Manifest.toml`  
Precompiling project…  
✗ MiniQhull  
✗ GridapEmbedded  
77 dependencies successfully precompiled in 33 seconds  
2 dependencies errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the packages

(@v1.8) pkg\> ^C

julia\> import Pkg

julia\> Pkg.precompile()  
Precompiling project…  
✗ MiniQhull  
✗ GridapEmbedded  
0 dependencies successfully precompiled in 7 seconds. 77 already precompiled.

ERROR: The following 2 direct dependencies failed to precompile:

MiniQhull [978d7f02-9e05-4691-894f-ae31a51d76ca]

Failed to precompile MiniQhull [978d7f02-9e05-4691-894f-ae31a51d76ca] to /Users/liuyong/.julia/compiled/v1.8/MiniQhull/jl\_UYFmAz.  
ERROR: LoadError: Package MiniQhull not installed properly.  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:35  
[2] top-level scope  
@ ~/.julia/packages/MiniQhull/PLvbq/src/load.jl:4  
[3] include(mod::Module, \_path::String)  
@ Base ./Base.jl:422  
[4] include(x::String)  
@ MiniQhull ~/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:1  
[5] top-level scope  
@ ~/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:7  
[6] include  
@ ./Base.jl:422 [inlined]  
[7] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)  
@ Base ./loading.jl:1554  
[8] top-level scope  
@ stdin:1  
in expression starting at /Users/liuyong/.julia/packages/MiniQhull/PLvbq/src/load.jl:3  
in expression starting at /Users/liuyong/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:1  
in expression starting at stdin:1

GridapEmbedded [8838a6a3-0006-4405-b874-385995508d5d]

Failed to precompile GridapEmbedded [8838a6a3-0006-4405-b874-385995508d5d] to /Users/liuyong/.julia/compiled/v1.8/GridapEmbedded/jl\_1Qa917.  
ERROR: LoadError: Package MiniQhull not installed properly.  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:35  
[2] top-level scope  
@ ~/.julia/packages/MiniQhull/PLvbq/src/load.jl:4  
[3] include(mod::Module, \_path::String)  
@ Base ./Base.jl:422  
[4] include(x::String)  
@ MiniQhull ~/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:1  
[5] top-level scope  
@ ~/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:7  
[6] include  
@ ./Base.jl:422 [inlined]  
[7] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)  
@ Base ./loading.jl:1554  
[8] top-level scope  
@ stdin:1  
in expression starting at /Users/liuyong/.julia/packages/MiniQhull/PLvbq/src/load.jl:3  
in expression starting at /Users/liuyong/.julia/packages/MiniQhull/PLvbq/src/MiniQhull.jl:1  
in expression starting at stdin:1  
ERROR: LoadError: Failed to precompile MiniQhull [978d7f02-9e05-4691-894f-ae31a51d76ca] to /Users/liuyong/.julia/compiled/v1.8/MiniQhull/jl\_2aDRcV.  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:35  
[2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)  
@ Base ./loading.jl:1705  
[3] compilecache  
@ ./loading.jl:1649 [inlined]  
[4] \_require(pkg::Base.PkgId)  
@ Base ./loading.jl:1337  
[5] \_require\_prelocked(uuidkey::Base.PkgId)  
@ Base ./loading.jl:1200  
[6] macro expansion  
@ ./loading.jl:1180 [inlined]  
[7] macro expansion  
@ ./lock.jl:223 [inlined]  
[8] require(into::Module, mod::Symbol)  
@ Base ./loading.jl:1144  
[9] include(mod::Module, \_path::String)  
@ Base ./Base.jl:422  
[10] include(x::String)  
@ GridapEmbedded ~/.julia/packages/GridapEmbedded/93GSj/src/GridapEmbedded.jl:1  
[11] top-level scope  
@ ~/.julia/packages/GridapEmbedded/93GSj/src/GridapEmbedded.jl:7  
[12] include  
@ ./Base.jl:422 [inlined]  
[13] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)  
@ Base ./loading.jl:1554  
[14] top-level scope  
@ stdin:1  
in expression starting at /Users/liuyong/.julia/packages/GridapEmbedded/93GSj/src/LevelSetCutters/LevelSetCutters.jl:1  
in expression starting at /Users/liuyong/.julia/packages/GridapEmbedded/93GSj/src/GridapEmbedded.jl:1  
in expression starting at stdin:1

Stacktrace:  
[1] pkgerror(msg::String)  
@ Pkg.Types /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67  
[2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{String}; internal\_call::Bool, strict::Bool, warn\_loaded::Bool, already\_instantiated::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})  
@ Pkg.API /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1427  
[3] precompile  
@ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1058 [inlined]  
[4] #precompile#225  
@ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1057 [inlined]  
[5] precompile (repeats 2 times)  
@ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1057 [inlined]  
[6] top-level scope  
@ REPL[2]:1

---

<div class="post-metadata">

### Author: ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)
#### Post date: [August 1, 2022, 2:36am UTC](https://discourse.julialang.org/t/problem-to-install-miniqhull-in-julia-1-7-0-on-mac-os/85017/4 "2022-08-01T02:36:57Z")

</div>

I can’t reproduce this error. My guess is that the build script is not generating the required “deps.jl” file in  
` ~/.julia/packages/MiniQhull/PLvbq/deps/`  
You can check whether it’s there or not. It may be that you don’t have write privileges there for some reason.

You can also get more information by trying in package mode  
`]build -v MiniQhull`
