我克隆reactive-banana
并尝试构建reactive-banana-wx
示例:
git clone http://github.com/HeinrichApfelmus/reactive-banana.git
cd reactive-banana/reactive-banana-wx
stack build
该目录中有一个stack.yaml
,它确实获取了几个包,但由于以下错误而停止:
Progress: 16/20
-- While building package wxc-0.92.2.0 using:
[snip]
Process exited with code: ExitFailure 1
Logs have been written to: /home/kostmo/github/reactive-banana/reactive-banana-wx/.stack-work/logs/wxc-0.92.2.0.log
[1 of 1] Compiling Main ( /tmp/stack5908/wxc-0.92.2.0/Setup.hs, /tmp/stack5908/wxc-0.92.2.0/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/setup/Main.o )
Linking /tmp/stack5908/wxc-0.92.2.0/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/setup/setup ...
Error: wx-config not found, please install wx-config before installing wxc
在运行之前是否必须执行其他步骤stack build
?
这个用户似乎有一个相关的问题。