2013-12-09 17 views
8

opam yükledim ve bundan sonra ocaml, ocamlc, erişebilirim. Ancak corebuild adlı bir aracı çalıştırmamı isteyen Real World OCaml okuyorum.Ocaml içinde corebuild nasıl yüklenir

corebuild yükleyemiyorum (veya çalıştırılamıyor).

Ben sudo find/-name corebuild... ararsanız ben

/home/abhishek/.opam/repo/default/packages/core/core.109.38.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.42.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.35.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.34.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.47.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.41.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.32.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.37.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.45.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.36.00/files/corebuild 
/home/abhishek/.opam/repo/default/packages/core/core.109.40.00/files/corebuild 

gibi dosyaları görebilirsiniz Ama yine o zaman bu aracı çalıştırmak için nasıl bilmiyorum.

cevap

13

corebuild'u almak için opam install core çalıştırmanız gerekir.

Daha genel olarak, hangi kitaplıkların yükleneceğini size gösterecek olan here yükleme yönergelerine bakmalısınız. corebuild'un ocamlbuild etrafında basit bir sarıcı olduğunu ve core'un kurulu olduğunu varsayar ve varsayılan olarak kullanma seçeneği sunar.