[Streams] Couldn't match expected type ?`Distribution.Verbosity.Verbosity'

I cannot compile Streams 0.1: % darcs pull Pulling from "http://software.pupeno.com/Streams-0.1"... No remote changes to pull in! % make runhaskell Setup.lhs configure Setup.lhs:11:53: Couldn't match expected type `Distribution.Verbosity.Verbosity' against inferred type `IO FilePath' In the first argument of `readPackageDescription', namely `pkg_descr_file' In a 'do' expression: pkg_descr <- readPackageDescription pkg_descr_file In the expression: do pkg_descr_file <- defaultPackageDesc pkg_descr <- readPackageDescription pkg_descr_file let isWindows = "mingw" `isPrefixOf` System.Info.os config = ... defaultMainNoRead config make: *** [.setup-config] Error 1 % ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.2

On 2008 Sep 24, at 20:14, Stephane Bortzmeyer wrote:
% ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.2
You probably have 6.8.2's Cabal (in the 1.2 series), while the package requires 1.4 (and 1.2 isn't smart enough to check versions). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

On Wed, Sep 24, 2008 at 08:24:09PM -0400,
Brandon S. Allbery KF8NH
You probably have 6.8.2's Cabal (in the 1.2 series), while the package requires 1.4 (and 1.2 isn't smart enough to check versions).
How can you check that it requires 1.4 ? The Cabal file says: -- Tested-with: hugs 2003, hugs March2005, ghc 6.4.2, ghc 6.6

On 2008 Sep 24, at 20:30, Stephane Bortzmeyer wrote:
On Wed, Sep 24, 2008 at 08:24:09PM -0400, Brandon S. Allbery KF8NH
wrote a message of 13 lines which said: You probably have 6.8.2's Cabal (in the 1.2 series), while the package requires 1.4 (and 1.2 isn't smart enough to check versions).
How can you check that it requires 1.4 ?
The Cabal file says:
-- Tested-with: hugs 2003, hugs March2005, ghc 6.4.2, ghc 6.6
Hm, that implies otherwise; if it were 1.4 then it would have a cabal- version: field. I think I have to defer to someone else. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

On Wed, Sep 24, 2008 at 08:14:34PM -0400,
Stephane Bortzmeyer
I cannot compile Streams 0.1:
This problem is experienced by other people: http://groups.google.com/group/fa.haskell/browse_thread/thread/bafa0006f9fb2... but nobody seems to know what to do?
participants (2)
-
Brandon S. Allbery KF8NH
-
Stephane Bortzmeyer