Kami(Bluespec 的 Coq 框架)能够在 WSL Ubuntu 上运行的正确设置是什么?

问题描述 投票:0回答:2

我目前正在使用最新的 Kami 的存储库文件,但当我尝试运行 Makefile 时未能解决问题。我发现另一个帖子有类似的请求在此链接但没有答案。我在 WSL Ubuntu 20.04 操作系统上使用 Coqproof Assistant v8.11.0 和 OCaml v4.08.1

错误信息如下图

Warning: no common logical root
Warning: in such case INSTALLDEFAULTROOT must be defined
Warning: the install-doc target is going to install files
Warning: in orphan_Kami_RecordUpdate
make -f Makefile.coq.all
make[1]: Entering directory '/home/user/sifive/Kami'
COQDEP VFILES
Fatal error: exception Sys_error("../coq-record-update/src: No such file or directory")
COQDEP VFILES
Fatal error: exception Sys_error("../coq-record-update/src: No such file or directory")
COQDEP VFILES
Fatal error: exception Sys_error("../coq-record-update/src: No such file or directory")
COQC All.v
While loading initial state:
Warning: Cannot open ../coq-record-update/src [cannot-open-path,filesystem]
File "./All.v", line 1, characters 15-32:
Error: Unable to locate library Kami.AllNotations.

make[2]: *** [Makefile.coq.all:678: All.vo] Error 1
make[1]: *** [Makefile.coq.all:327: all] Error 2
make[1]: Leaving directory '/home/user/sifive/Kami'
make: *** [Makefile:6: coq] Error 2
ubuntu makefile windows-subsystem-for-linux coq bluespec
2个回答
0
投票

我相信这个存储库假设它的依赖项位于同一个父文件夹中。因此,您需要克隆 coq-record-update 和任何其他依赖项。有关实际操作的示例,请参阅 https://github.com/mit-plv/bedrock2/tree/master/deps


-1
投票

老兄,我也遇到了同样的问题。解决方法是切换到 debian,然后逐字逐句地遵循 b lang 指南。这有点烦人,但是当它是 wsl 并且你正在使用 bash 谁在乎呢?

© www.soinside.com 2019 - 2024. All rights reserved.