*** setup configure Reading installed packages... /usr/local/bin/ghc-pkg dump --global /usr/local/bin/ghc-pkg dump --user Dependency Cabal >=1.2: using Cabal-1.6.0.3 Creating setup (and its parents) /usr/local/bin/ghc -package Cabal-1.6.0.3 --make Setup.hs -o setup/setup -odir setup -hidir setup [1 of 1] Compiling Main ( Setup.hs, setup/Main.o ) Setup.hs:49:27: Couldn't match expected type `[Char]' against inferred type `PackageName' In the first argument of `(++)', namely `name' In the second argument of `(++)', namely `name ++ " " ++ showVersion ver ++ "\""' In the second argument of `($)', namely `"-- GENERATED FILE -- DO NOT EDIT\nmodule Version where\npackageVersion = \"" ++ name ++ " " ++ showVersion ver ++ "\""' *** Trying again with preferred-versions *** setup configure Reading installed packages... /usr/local/bin/ghc-pkg dump --global /usr/local/bin/ghc-pkg dump --user Dependency Cabal >=1.2: using Cabal-1.6.0.3 Creating setup (and its parents) /usr/local/bin/ghc -package Cabal-1.6.0.3 --make Setup.hs -o setup/setup -odir setup -hidir setup [1 of 1] Compiling Main ( Setup.hs, setup/Main.o ) Setup.hs:49:27: Couldn't match expected type `[Char]' against inferred type `PackageName' In the first argument of `(++)', namely `name' In the second argument of `(++)', namely `name ++ " " ++ showVersion ver ++ "\""' In the second argument of `($)', namely `"-- GENERATED FILE -- DO NOT EDIT\nmodule Version where\npackageVersion = \"" ++ name ++ " " ++ showVersion ver ++ "\""'