我是Haskell的初学者,我一直在愉快地使用cabal来安装我认为可能需要的所有东西,假设它可以像port或homebrew一样工作,为我解决所有依赖关系并保持最新状态,所以它们不会断裂,等等。但是,试图安装装配的lenses图书馆中,我得到这个消息现在当: In order, the following would be installed:
base-orphans-0.5.4 (new
我试图用Haskell Stack建立the code from PCPH。但是,我收到有关Cabal未找到happy的错误。我有安装alex和happy虽然(他们在/usr/bin)。 setup-Simple-Cabal-1.22.5.0-ghc-7.10.3: The program 'happy' is required but it
could not be found
-- Wh
升级到GHC一个近期 Ubuntu的机器上8.0后,我得到了下面的生成错误: /usr/bin/ld: -r and -pie may not be used together 对同一问题的不同的错误信息是: relocation R_X86_64_32 against `.rodata' can not be used when making a > shared object; recompi