无法为lambdacat安装gtk2hs-buildtools

时间:2011-03-17 07:38:41

标签: haskell cabal

所以我想在win上建立https://github.com/baldo/lambdacat

无法在Windows上构建快乐(在说明中)。这是一个日志:

C:\Program Files\Haskell Platform\lambdacat>cabal install happy
Resolving dependencies...
[1 of 1] Compiling Main             ( C:\Users\MyUSER\AppData\Local\Temp\h
appy-1.18.6896\happy-1.18.6\Setup.lhs, C:\Users\MyUSER.BAC\AppData\Local\Temp\
happy-1.18.6896\happy-1.18.6\dist\setup\Main.o )

C:\Users\MyUSER.BAC\AppData\Local\Temp\happy-1.18.6896\happy-1.18.6\Setup.lhs:
6:52:
    Warning: In the use of `buildVerbose'
             (imported from Distribution.Simple.Setup):
             Deprecated: "Use buildVerbosity instead"

C:\Users\MyUSER.BAC\AppData\Local\Temp\happy-1.18.6896\happy-1.18.6\Setup.lhs:
7:52:
    Warning: In the use of `defaultUserHooks'
             (imported from Distribution.Simple):
             Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you n
eed Cabal-1.2
             compatibility in which case you must stick with defaultUserHooks"
Linking C:\Users\MyUSER.BAC\AppData\Local\Temp\happy-1.18.6896\happy-1.18.6\di
st\setup\setup.exe ...
Warning: defaultUserHooks in Setup script is deprecated.
Configuring happy-1.18.6...
setup.exe: The program perl is required but it could not be found.
cabal: Error: some packages failed to install:
happy-1.18.6 failed during the configure step. The exception was:
ExitFailure 1

当我尝试直接安装lambdacat时,我的日志结尾非常糟糕

cabal: Error: some packages failed to install:
cairo-0.12.0 failed during the configure step. The exception was:
ExitFailure 1
gio-0.12.0 depends on glib-0.12.0 which failed to install.
glade-0.12.0 depends on glib-0.12.0 which failed to install.
glib-0.12.0 failed during the configure step. The exception was:
ExitFailure 1
gtk-0.12.0 depends on glib-0.12.0 which failed to install.
lambdacat-0.1.1 depends on network-2.2.1.10 which failed to install.
network-2.2.1.10 failed during the configure step. The exception was:
ExitFailure 1
pango-0.12.0 depends on glib-0.12.0 which failed to install.
webkit-0.12.1 depends on glib-0.12.0 which failed to install.

1 个答案:

答案 0 :(得分:2)

setup.exe: The program perl is required but it could not be found.

您需要安装Perl。 ActiveState有一个Windows发行版。