You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on re-packaging the z3 ocaml bindings to nixpkgs (the current way it is packaged does not work). However, I am facing one issue. When compiling, I am getting an ocaml version mismath error that haults the compilation process.
...
src/smt/theory_recfun.cpp
src/smt/seq_regex.cpp
src/smt/theory_special_relations.cpp
src/smt/seq_eq_solver.cpp
src/smt/theory_str_regex.cpp
src/smt/smt_setup.cpp
src/smt/smt_parallel.cpp
src/smt/theory_dense_diff_logic.cpp
cp ../src/api/ml/z3.mli api/ml/z3.mli
ocamlfind ocamlc -package zarith -I api/ml -o api/ml/z3.cmi -c api/ml/z3.mli
File "api/ml/z3.mli", line 1:
Error: /nix/store/jgyri607ly9xxspscz3i7h8834hj0ymc-ocaml5.1.1-zarith-1.14/lib/ocaml/5.1.1/site-lib/zarith/z.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
make: *** [Makefile:5416: api/ml/z3.cmo] Error 2
I am trying to compile the library with ocaml version 5.1.1.
This was after running
python3 ./scripts/mk_make.py --prefix=$out --ml
cd build
make -j 12
Any ideas?
The text was updated successfully, but these errors were encountered:
Upon further debugging, it looks like this issue is stemming from my impure build environment. Purifying it seems to have mostly fixed the issue and I will close when I confirm later tonight.
Hello z3 developers,
I am working on re-packaging the z3 ocaml bindings to nixpkgs (the current way it is packaged does not work). However, I am facing one issue. When compiling, I am getting an ocaml version mismath error that haults the compilation process.
I am trying to compile the library with ocaml version
5.1.1
.This was after running
Any ideas?
The text was updated successfully, but these errors were encountered: