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

Stephane Bortzmeyer bortzmeyer at nic.fr
Wed Sep 24 20:14:34 EDT 2008

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

    Couldn't match expected type `Distribution.Verbosity.Verbosity'
           against inferred type `IO FilePath'
    In the first argument of `readPackageDescription', namely
    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

More information about the Haskell-Cafe mailing list