配置: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.
答案 0 :(得分:13)
你的系统上安装了m4吗?
如果你使用基于debian的linux,请尝试sudo apt-get install m4
。