简体   繁体   English

Haskell:安装hsc2hs

[英]Haskell: install hsc2hs

When I try to install hsc2hs with the command 当我尝试使用以下命令安装hsc2hs时

cabal install hsc2hs 阴谋安装hsc2hs

the following error was returned: 返回了以下错误:

Main.hs:14:0:
     fatal error: ../../includes/ghcconfig.h: No such file or directory
compilation terminated.
World file is already up to date.
cabal.exe: Error: some packages failed to install:
hsc2hs-0.67.20120610 failed during the building phase. The exception was:
ExitFailure 1

hsc2hs is distributed together with GHC. hsc2hs与GHC一起分发。

If you for some reason want to build a newer or modified version, you'll have to build it together with GHC itself. 如果出于某种原因想要构建更新或修改的版本,则必须将其与GHC本身一起构建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM