我目前正在使用最新的Kami的repo文件,但是当我尝试运行Makefile时,还没能克服一个问题。我发现另一个帖子有类似的请求at this link,但没有回应。我在WSL Ubuntu 20.04操作系统上使用Coq proof 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发布于 2021-11-09 14:24:14
我相信这个repo假设它的依赖项位于同一个父文件夹中。因此,您需要克隆coq-record-update和任何其他依赖项。有关此操作的示例,请参阅https://github.com/mit-plv/bedrock2/tree/master/deps。
https://stackoverflow.com/questions/69892353
复制相似问题