我在 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 /平台/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 平台安装。现在控制台系统日志显示:
-- 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 平台和之前的平台,并尝试比较它们,但没有真正的用处。在两者的分发文件上运行 diff 会产生前一个具有“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.)
即,没有真正的附加信息。
我没有想法,但至少我已经从我的机器上消除了几个损坏的应用程序:-)
感谢到目前为止的所有评论。
JRV