繁体   English   中英

Frama-C安装-配置:错误:找不到ocamlfind

[英]Frama-c installation- configure: error: Cannot find ocamlfind

xhy0908deMacBook-Pro:frama-c-Phosphorus-20170501 xhy0908$ ./configure
configure: ******************
configure: * CONFIGURE MAKE *
configure: ******************
checking for make... make
checking version of make... 3.81
configure: *****************************
configure: * CONFIGURE OCAML COMPILERS *
configure: *****************************
checking for ocamlc... ocamlc
checking version of OCaml... 4.05.0
checking OCaml library path... /usr/local/lib/ocaml
checking for ocamlopt... ocamlopt
checking ocamlopt version and standard library... ok
checking for ocamlfind... no
configure: error: Cannot find ocamlfind.

当我尝试在Mac上启动Frama-C并运行./configure命令时。 它说找不到ocamlfind。 但是我已经安装了它。

xhy0908deMacBook-Pro:frama-c-Phosphorus-20170501 xhy0908$ opam install ocamlfind
[NOTE] Package ocamlfind is already installed (current version is 1.7.3).

我不知道问题是什么.....

如果您使用的是OPAM,则需要使用

eval `opam config env`

或@glennsl建议的另一种语法,

eval $(opam config env)

该命令将设置PATH变量,以便ocamlfind可见。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM