阴谋安装错误:软件包具有"./configure"脚本.这需要一个Unix [英] Cabal install error: The package has a './configure' script. This requires a Unix

查看:84
本文介绍了阴谋安装错误:软件包具有"./configure"脚本.这需要一个Unix的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用cabal-install安装networkold-time.当我尝试安装其中任何一个时,都会失败并显示以下信息:

I'm trying to install network and old-time with cabal-install. When I try to install either it fails with:

setup.exe: The package has a './configure' script. This requires a
Unix compatibility toolchain such as MinGW+MSYS or Cygwin.

我确实有MinGW,实际上是与GHC一起分发的MinGW.
我还将bin文件夹添加到了我的PATH.

I do have MinGW, in fact it's the MinGW distributed along with GHC.
I've also added the bin folder to my PATH.

我该如何解决?实际运行配置文件的工具是什么?也许我需要得到它?

How can I fix this? what tool is the one actually running the configure files? maybe I need to get it?

GHC 7.10.1 x64
cabal安装版本1.22.0.0
使用Cabal库的1.22.0.0版.
而且我实际上是在Windows 10专业版预览版内部版本10130上.我在7和8.1上做了很多时间,但从未实现.我无法想象为什么,但是也许它起了作用?

GHC 7.10.1 x64
cabal-install version 1.22.0.0
using version 1.22.0.0 of the Cabal library.
And I'm actually on a Windows 10 pro insider preview build 10130. I did the above a bunch of time on 7 and 8.1 and it never happened. I can't imagine why but maybe it plays a role?

推荐答案

在您引用的区块中:

...这需要Unix兼容性工具链,例如MinGW + MSYS ...

... This requires a Unix compatibility toolchain such as MinGW+MSYS ...

明确地说MinGW+MSYS;仅靠MinGW是不够的. MSYS工具链提供了与UNIX兼容的外壳和最常见的支持实用程序,使该组合可以处理您的配置脚本.

explicitly says MinGW+MSYS; MinGW alone is not enough. It is the MSYS tool chain which provides the unix compatible shell and most common supporting utilities, which allow this combination to process your configure script.

这篇关于阴谋安装错误:软件包具有"./configure"脚本.这需要一个Unix的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆