Yesod安装无法加载包'foundation-0.0.10'

时间:2017-06-11 23:31:48

标签: haskell yesod haskell-stack

尝试在Windows 7上设置Yesod。我一直在关注此处的指南http://www.yesodweb.com/page/quickstart。我跳过了第1步,因为我已经安装了堆栈。

在第3步 - “安装yesod命令行工具:stack build yesod-bin cabal-install --install-ghc”后,控制台表示进程退出代码:ExitFailure 1.

它指示我的日志包含以下内容:

Configuring yesod-bin-1.5.2.3...
Building yesod-bin-1.5.2.3...
Preprocessing executable 'yesod' for yesod-bin-1.5.2.3...
[1 of 7] Compiling Paths_yesod_bin  ( .stack-work\dist\ca59d0ab\build\autogen\Paths_yesod_bin.hs, .stack-work\dist\ca59d0ab\build\yesod\yesod-tmp\Paths_yesod_bin.o )
[2 of 7] Compiling Options          ( Options.hs, .stack-work\dist\ca59d0ab\build\yesod\yesod-tmp\Options.o )
[3 of 7] Compiling Keter            ( Keter.hs, .stack-work\dist\ca59d0ab\build\yesod\yesod-tmp\Keter.o )
[4 of 7] Compiling HsFile           ( HsFile.hs, .stack-work\dist\ca59d0ab\build\yesod\yesod-tmp\HsFile.o )
[5 of 7] Compiling Devel            ( Devel.hs, .stack-work\dist\ca59d0ab\build\yesod\yesod-tmp\Devel.o )
ghc.EXE: unable to load package `foundation-0.0.10'
ghc.EXE: C:\sr\snapshots\f4677c28\lib\x86_64-windows-ghc-8.0.2\foundation-0.0.10-JGhHXvcRrtp6mVId9fjHXB\HSfoundation-0.0.10-JGhHXvcRrtp6mVId9fjHXB.o: unknown symbol `clock_gettime'

提前致谢:)

0 个答案:

没有答案