Closed bobzhang closed 11 years ago
What version of OCaml?
oh, you mean trunk OCaml. Yes, they've put more identifiers into Sys, and batteries' compatibility tests find that we're not exporting those identifiers.
Yes, I think the compatibility test should be version dependent, we may be cautious to add this check
I don't recall the compatibility test being required for install; if it is, I can fix this.
It seems that batteries still depends on oUnit, is there any chance to remove such dependency?
IMHO, compatibility test may need conditional compilation
The tests depend on oUnit, the main compile shouldn't need oUnit.
Are you compiling with oasis? try just running make.
I tried make all or make, neither works all: $(QTEST_RUNTIME) @echo "Build mode:" $(MODE) $(OCAMLBUILD) $(OCAMLBUILDFLAGS) $(TARGETS)
I don't see this in master
[1], nor in the v1
branch[2]. What branch are you running?
[1] https://github.com/ocaml-batteries-team/batteries-included/blob/master/Makefile#L69 [2] https://github.com/ocaml-batteries-team/batteries-included/blob/v1/Makefile#L63
It seems that I did not get the right version, now it works smoothly, thanks for your help !
Error: Signature mismatch: ... The field
cygwin' is required but not provided The field
win32' is required but not provided The field `unix' is required but not provided Command exited with code 2. make: *\ [_build/qtest/all_tests.byte] Error 10