Reputation: 9041
I'm trying to build OPAM within Cygwin in Windows 8. Here is the error information during the configure stage:
configure: error: You must install the Camlp4 pre-processor. On some operating systems, these are separate packages from the main OCaml compiler, such as camlp4-extra on Debian.
I've searched cygwin repository using keywords "caml" and installed all the packages provided; however, the configuration still shows this error message. How can I install this Camlp4 pre-processor?
Upvotes: 2
Views: 650
Reputation: 47934
I don't think OPAM works with windows quite yet. I've installed it on OSX and Linux and love it. On windows, though, there is a compilation error with unix_waitpid
. This is because ocp-build/ocp-build.boot
is a binary packaged with the OPAM source that requires the unix_waitpid
instead of the win_waitpid
function. I'm not exactly sure why they did this. But, after that their could be other issues.
Regarding the camlp4, running setup.exe
of cygwin, I was easily able to find ocaml-camlp4
under interpreters. Depending on the tool-chain, I found it easy enough to just use the mingw binaries found through the ocaml website.
Upvotes: 1
Reputation: 1749
As long as OPAM doesn't work on windows, you can try GODI (windows port). It has basic windows support and you can install the most common packages through it.
Upvotes: 1