Ocaml opam尝试安装lwt查找pthreads失败
在UbuntuTrusty虚拟机上,我从现实世界Ocaml设置文档推荐的ppa安装了opam(1.2.0版) 跑步时Ocaml opam尝试安装lwt查找pthreads失败,ocaml,opam,Ocaml,Opam,在UbuntuTrusty虚拟机上,我从现实世界Ocaml设置文档推荐的ppa安装了opam(1.2.0版) 跑步时 opam install lwt 生成失败,检查.out文件显示: testing for pthread: ........................... unavailable not checking for glib The following recquired C libraries are missing: pthread. 我已经安装了Ubuntu包
opam install lwt
生成失败,检查.out文件显示:
testing for pthread: ........................... unavailable
not checking for glib
The following recquired C libraries are missing: pthread.
我已经安装了Ubuntu包libpthread-stubs0-dev。我需要安装什么才能使安装成功?根据:
14.04[Trusty]附带了ocaml和opam的最新版本。不需要PPA
这些指示在一个可靠的虚拟机中对我起了作用
另外,请确保安装了aspcud软件包。否则,opam经常会选择错误的软件包版本,我曾经在这种情况下看到过这个错误。谢谢-我只是想知道是否有办法让它与opam 1.2一起工作