本文介绍了安装ocamlfind.1.3.3时发生错误配置:m4不在PATH中;这是必需的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
配置:m4不在PATH中;这是必需的
configure: m4 not in PATH; this is required
我想知道如何解决此问题.
I wonder how I can fix this.
非常感谢!(我尝试将m4文件夹复制到该路径,但是它不起作用)
Thanks a lot!(I tried to copy the m4 folder to that path but it is not working)
==== 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?
Is m4 installed on your system?
如果使用基于debian的linux,请尝试sudo apt-get install m4
.
If you use a debian-based linux, try sudo apt-get install m4
.
这篇关于安装ocamlfind.1.3.3时发生错误配置:m4不在PATH中;这是必需的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!