Joh*_*man 6 haskell haskell-platform
我在Haskell-cafe上问了这个,我得到的唯一答案是 - 尝试stackoverflow,它更受关注.
当我尝试安装最新的Haskell平台时,安装总是失败.
我好几天都试了好几次.以下是今天的情况:从Haskell Wiki下载的软件包:http://lambda.galois.com/hp-tmp/2011.2.0.1/Haskell%20Platform%202011.2.0.1-i386.pkg,http://hackage.haskell.org /platform/mac.html
我的系统:OS X 10.6.8(我第一次遇到这个问题时为10.6.7),2.4 GHz Intel Core 2 Duo.根据df -HI有221G的免费磁盘.
我有Xcode 3.2.5.
下载后,我将完成安装步骤,最后它会显示"安装失败,请联系软件开发人员"或单词.
这是一个已知的问题吗?有任何意见或建议吗?
7-1的新尝试:
之前的日志消息中对"NeoOffice"的引用让我感到非常困惑(参见下面的评论).我从我的机器上完全删除了NeoOffice并再次运行Haskell Platform安装.现在控制台系统日志说:
- 7月1日11:06:43 jrv installd [1489]:从7月1日11:06:43开始jrv installd [1489]:uid = 0,euid = 0 Jul 1 11:06:43 jrv installd [1489]:PackageKit :*缺少软件包标识符:/ Library/Receipts/Print Selection Service.pkg Jul 1 11:07:41 jrv Installer [1472]:安装程序遇到导致安装失败的错误.请与软件制造商联系以获取帮助
如果是这样,我很惊讶没有人见过这个问题.
新编辑7月2日:
图书馆/收据/打印选择服务和其他人的问题是红色的,因为安装人员发现了破损的装置,但是消除这些问题对最终结果没有影响.也许这是10.6.8中的新内容?
在消除了这些之后,我解压缩了当前的Haskell平台和之前的Haskell平台,并尝试比较它们,但没有真正有用.在两个分布文件上运行差异会产生前一个具有"choice4"而当前具有"choice14"的差异,但是由于我对os x软件包的了解不多,我不认为这会产生影响.
我从命令行以详细模式运行安装程序,现在得到:
sudo installer -verbose -pkg Haskell\ Platform\ 2011-2.2.0.1-i386.pkg -target /
installer: Package name is Haskell Platform
installer: Upgrading at base path /
installer: Preparing for installation….....
installer: Preparing the disk….....
installer: Preparing Haskell Platform….....
installer: Waiting for other installations to complete….....
installer: Configuring the installation….....
installer:
installer: Writing files…..... (lots of writing files, then )
installer: Moving items into place….....(lots of these)
installer: Running package scripts…..... (lots of these, too, and finally:)
installer: Running package scripts….....
##
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Run Code Online (Sandbox Code Playgroud)
即,没有真正的额外信息.
我没有想法,但至少我从我的机器上淘汰了几个破坏的应用程序:-)
感谢所有评论到目前为止.
JRV
我想这已经是我能得到的最接近的答案了。我必须推断我安装的 HaskellPlatform 中的某些内容被搞乱了,导致安装失败。
当第一次安装失败时(无论出于何种原因),它安装了平台的一些元素,但并未使其完全可用。
最后,我从我的计算机中删除了 HakellPlatform、cabal 和 GHC 的所有痕迹(据我所知)。之后,我重新下载了HP,并重新安装成功。
到目前为止,新安装_did_not_fail_,并且工作正常。
感谢所有发表评论的人。我学到了很多。