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).我不知道问题出在哪里……
发布于 2017-10-26 02:31:42
如果你使用的是OPAM,你需要用激活它
eval `opam config env`或者,另一种语法,如@glennsl所建议的,
eval $(opam config env)此命令将设置PATH变量,以便ocamlfind可见。
https://stackoverflow.com/questions/46919147
复制相似问题