I have downloaded xml-light for ocaml and try to compile it, but it has never been succeeded, the problem is as follow.
When I input ocamlopt dtd.ml, there will be an error Unbound module Xml.
Then I input ocamlopt xml.ml, there will be an error Unbound value XmlParser.make.
Then I input ocamlopt xmlParser.ml, there will be an error Unbound module Dtd.
is there actually a way to compile them together? I feel so stupid because of this.
It is not so trivial, nothing surprising. Here is the output of
make(from mingw/cygwin ocaml distribution):And the test:
make installoutput:Note the last line (i’ve separated it with newline): you probably won’t have cp command; just create
%OCAMLLIB%\xml-lightdirectory manually and copy listed files there. Then you can build your project like this: