
7 Mar
2009
7 Mar
'09
1:15 p.m.
colin:
I have just attempted Cabal-izing my program (splitting it into a library and main program as well), and I'm mystified by some problems I am having.
First, when I try to build the library I get:
[colin@susannah game-tree]$ runhaskell Setup build Preprocessing library game-tree-1.0.0.0... Building game-tree-1.0.0.0...
Data/Tree/Game/Negascout.hs:31:0: Unrecognised pragma [1 of 2] Compiling Data.Tree.Game.Tree ( Data/Tree/Game/Tree.hs, dist/build/Data/Tree/Game/Tree.o )
Data/Tree/Game/Tree.hs:1:0: Failed to load interface for `Prelude': it is a member of package base-3.0.3.0, which is hidden
build-depends: base You certainly depend on the base library, unless you're doing only haskell98 work.