我正在尝试在Windows环境中安装unix软件包。我正在使用Cygwin,但它还没有用。
以下是我收到的错误摘录:
$ cabal install unix
Resolving dependencies...
Configuring unix-2.7.0.0...
Warning: Unknown extensions: CApiFFI, InterruptibleFFI
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for gcc... gcc
.
.
.
configure: creating ./config.status
config.status: creating unix.buildinfo
config.status: creating include/HsUnixConfig.h
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
cabal.exe: Package unix-2.7.0.0 can't be built on this system.
Failed to install unix-2.7.0.0
cabal.exe: Error: some packages failed to install:
unix-2.7.0.0 failed during the building phase. The exception was:
ExitFailure 1
答案 0 :(得分:1)
Cygwin是Windows的部分Linux工具集,如果你需要基本的东西,它很棒但是安装一个完整的unix cabal插件可能超出了它的能力。 您可能希望在虚拟机上安装完整的Linux操作系统(vagrant对此很好)或使用云真实的unix机器。 从远程
开始,Linux主机非常棒快乐编码