[Haskell-cafe] Re: Error building takusen with Cabal-1.1.6.2
Benjamin Franksen
benjamin.franksen at bessy.de
Tue Aug 14 15:49:18 EDT 2007
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 at 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
More information about the Haskell-Cafe
mailing list