3

配置: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.
4

1 回答 1

13

您的系统上是否安装了 m4?

如果您使用基于 debian 的 linux,请尝试sudo apt-get install m4.

于 2013-07-28T20:07:26.970 回答