
John Dell'Aquila wrote:
Setup.hs wants a module that Cabal hides. Am I doing something wrong (newbie :-) or should I try to fall back to Cabal-1.1.6.1?
$ ghc --make -o setup Setup.hs
Setup.hs:13:7: Could not find module `Distribution.Compat.FilePath': it is hidden (in package Cabal-1.1.6.2)
This is what I did to make takusen build with ghc-6.6.1: ben@sarun: .../haskell/takusen_0 > darcs whatsnew { hunk ./Setup.hs 13 -import Distribution.Compat.FilePath (splitFileName, joinPaths)^M$ +import System.FilePath (splitFileName, combine)^M$ hunk ./Setup.hs 124 - libDirs <- canonicalizePath (joinPaths path libDir)^M$ - includeDirs <- canonicalizePath (joinPaths path includeDir)^M$ + libDirs <- canonicalizePath (combine path libDir)^M$ + includeDirs <- canonicalizePath (combine path includeDir)^M$ } HTH Ben