在ubuntu14.04 编译openwrt 遇到问题解决汇总
问题1 出现错误:Build dependency: Please install the Objective Caml compiler (ocaml-nox) v3.12 or later解决方法sudo apt-get install ocaml问题2 编译 过程中出现:coccinelle-coccinelle-1.0.0-rc24/bin/sh: 1: ocamlfind: not fo
问题1 出现错误:
Build dependency: Please install the Objective Caml compiler (ocaml-nox) v3.12 or later
解决方法
sudo apt-get install ocaml
问题2 编译 过程中出现:
coccinelle-coccinelle-1.0.0-rc24
/bin/sh: 1: ocamlfind: not found
解决方法
opam update
apt-get install ocaml-findlib
问题3:编译过程中 出现
Error: Unbound module Parmap
解决方法:
opam switch 4.02.3
eval $(opam config env)
opam install ocamlfind
opam install camlp4
问题4:[ERROR] Your version of OPAM (1.1.1) is not recent enough to read 问题解决
方法1
wget https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh -O - | sh -s /usr/local/bin/
opam init
方法2
sudo add-apt-repository ppa:avsm/ppa
sudo apt-get update
sudo apt-get install ocaml ocaml-native-compilers camlp4-extra opam
:
问题5:Error: commons/common.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
opam update
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐

所有评论(0)