Build Haxe recipe for target 'as3.cmi' failed

build Haxe recipe for target ‘as3.cmi’ failed

File “as3.mli”, line 1:
Error: The files /root/.opam/4.04.0/lib/ocaml/pervasives.cmi
and …/extlib-leftovers/multiArray.cmi make inconsistent assumptions
over interface Pervasives
Makefile:70: recipe for target ‘as3.cmi’ failed
make[1]: *** [as3.cmi] Error 2
make[1]: Leaving directory ‘/root/libs/haxe/libs/swflib’
Makefile:116: recipe for target ‘libs’ failed
make: *** [libs] Error 2

my Steps

1: git clone haxe ,then install opam 4.04.0

2:opam pin add haxe ./ --no-action

3 opam install haxe --deps-only

4:eval $(opam env)


which step is wrong?

Try a make clean and git clean -dfx.

thank you ,it’s work ,please update readme ,opam version mush 4.03<version<4.06.0


after build haxe

neko error comming… how to fixed?

Did you clone haxe repo recursively?
If not, try git submodule update --init --recursive

thank you @RealyUniqueName ,it’s work .