kbarbary / Dierckx.jl

Julia package for 1-d and 2-d splines
Other
156 stars 30 forks source link

Error when importing Dierckx #45

Closed charlesll closed 6 years ago

charlesll commented 6 years ago

I get a recurring error message when trying to import Dierckx on Julia 0.6.2, OSX 10.13.3:

ERROR: InitError: Dierckx not properly installed. Run Pkg.build("Dierckx") Stacktrace: [1] __init__() at /Users/charles/.julia/v0.6/Dierckx/src/Dierckx.jl:28 [2] _include_from_serialized(::String) at ./loading.jl:157 [3] _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:200 [4] _require_search_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:236 [5] _require(::Symbol) at ./loading.jl:441 [6] require(::Symbol) at ./loading.jl:405 during initialization of module Dierckx

My fortran compiler runs fine (e.g. I can build my gcvspline Python app without problem). I tried reinstalling Dierckx, building it... When I try building it, it indicates:

INFO: Building Dierckx make: Nothing to be done forall'.`

I went in /Users/charles/.julia/v0.6/Dierckx/deps/src/ and manually built the fortran lib through a make, this works, but when I then tried again importing Dierckx I still got the same error...

I am quite puzzled at this stage. Any idea on the origin of this error?

charlesll commented 6 years ago

Solved. If anybody encounters the same problem:

This needed uninstalling my full Julia setup, deleting ~/.julia/v0.6, and reinstalling everything.

It now works...

kbarbary commented 6 years ago

Glad you solved it; thanks for following up. I'm surprised and dismayed that the solution was so draconian!