2013-04-12 59 views
0

我一直試圖在我的wodi32 cygwin上安裝lablgtk2,因爲軟件包環境最初並沒有帶有lablgtk(只是lablgtk)。OCaml-Wodi:安裝Lablgtk2?

我跟着這些方向手動做我自己:

 
2) Install lablgtk2 binaries and scripts inside the OCaml distribution 
    bin/*     -> bin 
    lib/site-lib/lablgtk2 -> lib/site-lib/lablgtk2 
    Then edit lib/ld.conf, and add the line 
    \lib\site-lib\lablgtk2 

3) If your distribution is newer than 4.00.0, go to the 
    lib/site-lib/lablgtk2 directory and execute 

     ocaml build.ml 

但它似乎並沒有工作的權利。有沒有Wodi這樣做的方法?

回答

4

在您的cygwin安裝的根文件夾中有一個名爲「Wodi32 Package Manager.lnk」的鏈接。點擊它(從Windows資源管理器)啓動軟件包安裝的GUI。或者從cygwin裏面運行/opt/wodi32/gui/bin/gui.exe(btw:gui是用你正在尋找的軟件包編寫的:))

軟件包叫做(godi-)lablgtk2。 (lablgtk3尚未發佈,並且lablgtk1已取得成功)。 godi-lablgtk2支持幾乎所有的綁定,包括gnomecanvas,gktspell,gtksourceview2等。

+0

哈哈是我注意到,gui本身是使用lablgtk2編寫的,但lablgtk2本身並未包含在最初的wodi包中... – 9codeMan9

+0

Rafix ,請參閱以下後續文章:http://stackoverflow.com/questions/16266275/ocaml-wodi-part-2-compiling-using-what-was-installed。如果您能夠提供任何值得讚賞的洞察力,即使包管理器成功連接相應的lablgtk2模塊仍然存在問題。 – 9codeMan9