2013-04-12 62 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