我需要从源文件中安装haskell平台,以便如安装说明中所示,安装阴谋、ghc和其他所需的Ubuntu库。
当我尝试用命令安装haskell平台时:
./platform.sh /home/myuser/haskell/ghc-7.10.2-x86_64-unknown-linux-deb7.tar.bz2 -j 3我得到以下错误:
***
*** Building hptool
***
Building hptool-0.1...
Preprocessing executable 'hptool' for hptool-0.1...
***
*** Running hptool
***
Error when running Shake build system:
* 3
Error, file does not exist and no rule available:
3我也找不到有同样错误的人。我下载的haskell平台版本是haskell- platform -7.10.2-a
发布于 2015-11-22 15:13:06
在使用./platform.sh脚本时,不能传递像-j 3这样的构建选项。
尝试手动构建和运行hptool,如下所示:
cd hptool
cabal sandbox init
cabal install -j3
cd ..
./hptool/.cabal-sandbox/bin/hptool PATH-TO-GHC-BINDIST SHAKE-TARGET在没有参数的情况下运行hptool,以获得抖动目标的有效值列表。
https://stackoverflow.com/questions/33855506
复制相似问题