Dynare fails to precompile

Hi, everyone! I’ve decided to install Julia and give Dynare.jl a try.

Installed Julia v"1.12.0" on my AlmaLinux 9.6 (following the instructions here).

However, when I run pkg> add Dynare, after running for a while it informs me that 1 dependency errored. Details shown below:

julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

Dynare 

Failed to precompile Dynare [5203de40-99df-439e-afbc-014de65cb9ef] to "/home/svu/.julia/compiled/v1.12/Dynare/jl_cpAO52".
ERROR: LoadError: invalid assignment to constant Dynare.BlockIndices. This redefinition may be permitted using the `const` keyword.
Stacktrace:
  [1] top-level scope
    @ ~/.julia/packages/Dynare/VCzox/src/global/types.jl:14
  [2] include(mapexpr::Function, mod::Module, _path::String)
    @ Base ./Base.jl:307
  [3] top-level scope
    @ ~/.julia/packages/Dynare/VCzox/src/Dynare.jl:29
  [4] include(mod::Module, _path::String)
    @ Base ./Base.jl:306
  [5] 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, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2997
  [6] top-level scope
    @ stdin:5
  [7] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
  [8] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2843
  [9] include_string
    @ ./loading.jl:2853 [inlined]
 [10] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:315
 [11] _start()
    @ Base ./client.jl:550
in expression starting at /home/svu/.julia/packages/Dynare/VCzox/src/global/types.jl:14
in expression starting at /home/svu/.julia/packages/Dynare/VCzox/src/Dynare.jl:1
in expression starting at stdin:

Dynare is not yet compatible with Julia 1.12. You should use Julia 1.11 or 1.10 for now.

Thank you! It works with 1.11

We have released a new version of Dynare.jl (0.10.4) that works with Julia 1.12, so you can give it another try. Make sure to update your packages (typically with pkg”update” at the Julia prompt).

Thank you! Works fine with 1.12