配置:m4 不在 PATH 中;这是必需的
我想知道如何解决这个问题。
非常感谢!
(我试图将 m4 文件夹复制到该路径,但它不起作用)
==== ERROR [while installing ocamlfind.1.3.3] ====
# opam-version 1.0.0
# os linux
# command ./configure -bindir /home/airobert/.opam/4.01.0dev+trunk/bin -sitelib /home/airobert/.opam/4.01.0dev+trunk/lib -mandir /home/airobert/.opam/4.01.0dev+trunk/man -config /home/airobert/.opam/4.01.0dev+trunk/lib/findlib.conf
# path /home/airobert/.opam/4.01.0dev+trunk/build/ocamlfind.1.3.3
# exit-code 1
# env-file /home/airobert/.opam/4.01.0dev+trunk/build/ocamlfind.1.3.3/ocamlfind-5f1023.env
# stdout-file /home/airobert/.opam/4.01.0dev+trunk/build/ocamlfind.1.3.3/ocamlfind-5f1023.out
# stderr-file /home/airobert/.opam/4.01.0dev+trunk/build/ocamlfind.1.3.3/ocamlfind-5f1023.err
### stdout ###
Welcome to findlib version 1.3.3
Configuring core...
### stderr ###
configure: m4 not in PATH; this is required
'opam install ocamlfind' failed.
最佳答案
您的系统上是否安装了 m4?
如果您使用基于 debian 的 linux,请尝试 sudo apt-get install m4
。
关于ocaml - 安装 ocamlfind.1.3.3 时出错配置 : m4 not in PATH; this is required,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/17912116/