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

2007-08-19 Thread Alistair Bayley
> > 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:
>
> [EMAIL PROTECTED]: .../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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2007-08-14 Thread John Dell\'Aquila
That fixed my problem. Thank you very much.

Regards,
John

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2007-08-14 Thread Benjamin Franksen
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:

[EMAIL PROTECTED]: .../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

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe