ocaml - 如何在 Cygwin/Windows 中安装 camlp4 预处理器?

标签 ocaml opam

我正在尝试在 Windows 8 中的 Cygwin 中构建 OPAM。以下是配置阶段的错误信息:

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.

我使用关键字“caml”搜索了 cygwin 存储库并安装了提供的所有软件包;但是,配置仍然显示此错误消息。如何安装这个 Camlp4 预处理器?

最佳答案

只要 OPAM 无法在 Windows 上运行,您就可以尝试 GODI ( windows port )。它具有基本的 Windows 支持,您可以通过它安装最常见的软件包。

关于ocaml - 如何在 Cygwin/Windows 中安装 camlp4 预处理器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15494037/

相关文章:

ocaml - OCaml中类型和模块相等的规则是什么

f# - 在连续传递风格和记忆化之间进行选择

recursion - 在 Ocaml 中使用 "and"进行多个相互递归函数

lua - 在 OCaml 中嵌入 Lua

macos - 错误 : Version 1. 11 沙丘不受支持

centos - 找不到 Ocamlfind 命令

OCaml 编译器检查向量长度

ocaml - Opam安装派生,语法错误

ocaml - 如何在 OPAM 中列出当前的软件包版本?

ocaml - OPAM软件包未运行