Error: The implementation src_ext/extlib/src/extArray.pp.ml
does not match the interface src_ext/extlib/src/extArray.pp.ml: ...
In module Array:
Values do not match:
external create_float : int -> float array
= "caml_array_create_float"
is not included in
external create_float : int -> float array = "caml_make_float_vect"
The names of the primitives are not the same
File "src_ext/extlib/src/extArray.mli", line 116, characters 2-69:
Expected declaration
File "array.mli", line 66, characters 0-69: Actual declaration
I WAS ABLE TO COMPLETE THE BUILD WITH THESE SED SUBSTITUTIONS AFTER "make" but before "sudo make install":
export add='external create_float : int -> float array = "caml_make_float_vect"';
sed -i '/caml_make_vect/a$add' src_ext/extlib/src/extArray.ml;
sed -i 's/caml_make_vect/caml_array_make/' src_ext/extlib/src/extArray.ml;
sed -i 's/caml_make_vect/caml_array_make/' src_ext/extlib/src/extArray.mli;
Error: The implementation src_ext/extlib/src/extArray.pp.ml does not match the interface src_ext/extlib/src/extArray.pp.ml: ... In module Array: Values do not match: external create_float : int -> float array = "caml_array_create_float" is not included in external create_float : int -> float array = "caml_make_float_vect" The names of the primitives are not the same File "src_ext/extlib/src/extArray.mli", line 116, characters 2-69: Expected declaration File "array.mli", line 66, characters 0-69: Actual declaration
I WAS ABLE TO COMPLETE THE BUILD WITH THESE SED SUBSTITUTIONS AFTER "make" but before "sudo make install": export add='external create_float : int -> float array = "caml_make_float_vect"'; sed -i '/caml_make_vect/a$add' src_ext/extlib/src/extArray.ml; sed -i 's/caml_make_vect/caml_array_make/' src_ext/extlib/src/extArray.ml; sed -i 's/caml_make_vect/caml_array_make/' src_ext/extlib/src/extArray.mli;