[Haskell-cafe] Re: Error building takusen with Cabal-1.1.6.2

Alistair Bayley alistair at abayley.org
Sun Aug 19 07:44:04 EDT 2007


> > 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


I've pushed changes to the Setup scripts (and the README.txt) in the
darcs report so that it should build out-of-the-box. Just pull the
latest code.

However, I'm off on holiday (more-or-less unaccessable) for a couple
of weeks on Monday, so if I've busted it badly, I apologize in
advance.

Alistair


More information about the Haskell-Cafe mailing list