简体   繁体   English

错误:尝试安装merlin时未绑定的模块Toploop。

[英]Error: Unbound module Toploop, when trying to install merlin.

I'm new to Ocaml. 我是Ocaml的新手。 I'm trying to use merlin to get auto-completion in vim. 我正在尝试使用merlin在vim中获得自动完成功能。

System: Arch Linux 系统:Arch Linux

Ocaml: version 4.07.0 Ocaml:版本4.07.0

`### stderr ###                                                                                                                            
 # File "frontend.ml", line 1823, characters 16-29:                                                                                          
 # Warning 3: deprecated: Stdlib.String.create                                                                                               
 # Use Bytes.create instead.                                                                                                                 
 # File "topfind.ml", line 55, characters 12-41:
 # Error: Unbound module Toploop
 # make[1]: *** [Makefile:165: topfind.cmo] Error 2
 # make: *** [Makefile:13: all] Error 2`

Here are the full log messages. 这是完整的日志消息。 Thank you 谢谢

Archlinux splits the compiler-libs package from the main ocaml package. Archlinux从ocaml软件包中分离了editor-libs软件包。 You need to install ocaml-compiler-libs or use an opam-managed compiler. 您需要安装ocaml-compiler-libs或使用opam管理的编译器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM