Resolving dependencies... Downloading hogre-0.1.0... [1 of 1] Compiling Main ( /tmp/hogre-0.1.0-19685/hogre-0.1.0/Setup.hs, /tmp/hogre-0.1.0-19685/hogre-0.1.0/dist/setup/Main.o ) /tmp/hogre-0.1.0-19685/hogre-0.1.0/Setup.hs:44:17: Couldn't match type `ProgramLocation -> ConfiguredProgram' with `ConfiguredProgram' Expected type: IO ConfiguredProgram Actual type: IO (ProgramLocation -> ConfiguredProgram) In the expression: return $ ConfiguredProgram pname Nothing [] (FoundOnSystem loc) In a case alternative: Just loc -> return $ ConfiguredProgram pname Nothing [] (FoundOnSystem loc) In a stmt of a 'do' block: case mloc of { Nothing -> err $ "Could not find program \"" ++ pname ++ "\"." ++ "Try installing the program from " ++ src ++ "." ++ "If you've installed the program, make sure the program is in your PATH." Just loc -> return $ ConfiguredProgram pname Nothing [] (FoundOnSystem loc) } /tmp/hogre-0.1.0-19685/hogre-0.1.0/Setup.hs:44:62: Couldn't match expected type `[String]' with actual type `ProgramLocation' In the return type of a call of `FoundOnSystem' In the fourth argument of `ConfiguredProgram', namely `(FoundOnSystem loc)' In the second argument of `($)', namely `ConfiguredProgram pname Nothing [] (FoundOnSystem loc)' /tmp/hogre-0.1.0-19685/hogre-0.1.0/Setup.hs:91:32: Couldn't match expected type `Maybe Language' with actual type `[a0]' In the 11th argument of `BuildInfo', namely `[]' In the expression: BuildInfo True [] [] [] [] [(Dependency (PackageName "OgreMain") (laterVersion (Version [1, 8] [])))] [] cppfiles [resCgenHsBase] (filter (`notElem` expModules) (map fullModuleName genhsmodulenames)) [] ["OgreMain"] [] [] [] [] [] [] [] [] [Dependency (PackageName "base") (intersectVersionRanges (orLaterVersion (Version [3] [])) (earlierVersion (Version [5] []))), Dependency (PackageName "haskell98") anyVersion] In an equation for `libbuildinfo': libbuildinfo = BuildInfo True [] [] [] [] [(Dependency (PackageName "OgreMain") (laterVersion (Version [1, ....] [])))] [] cppfiles [resCgenHsBase] (filter (`notElem` expModules) (map fullModuleName genhsmodulenames)) [] ["OgreMain"] [] [] [] [] [] [] [] [] [Dependency (PackageName "base") (intersectVersionRanges (orLaterVersion (Version [3] [])) (earlierVersion (Version [5] []))), Dependency (PackageName "haskell98") anyVersion] /tmp/hogre-0.1.0-19685/hogre-0.1.0/Setup.hs:91:36: Couldn't match expected type `Language' with actual type `[Char]' In the expression: "OgreMain" In the 12th argument of `BuildInfo', namely `["OgreMain"]' In the expression: BuildInfo True [] [] [] [] [(Dependency (PackageName "OgreMain") (laterVersion (Version [1, 8] [])))] [] cppfiles [resCgenHsBase] (filter (`notElem` expModules) (map fullModuleName genhsmodulenames)) [] ["OgreMain"] [] [] [] [] [] [] [] [] [Dependency (PackageName "base") (intersectVersionRanges (orLaterVersion (Version [3] [])) (earlierVersion (Version [5] []))), Dependency (PackageName "haskell98") anyVersion] /tmp/hogre-0.1.0-19685/hogre-0.1.0/Setup.hs:92:33: Couldn't match expected type `(CompilerFlavor, [String])' with actual type `Dependency' In the return type of a call of `Dependency' In the expression: Dependency (PackageName "base") (intersectVersionRanges (orLaterVersion (Version [3] [])) (earlierVersion (Version [5] []))) In the 21st argument of `BuildInfo', namely `[Dependency (PackageName "base") (intersectVersionRanges (orLaterVersion (Version [3] [])) (earlierVersion (Version [5] []))), Dependency (PackageName "haskell98") anyVersion]' /tmp/hogre-0.1.0-19685/hogre-0.1.0/Setup.hs:95:33: Couldn't match expected type `(CompilerFlavor, [String])' with actual type `Dependency' In the return type of a call of `Dependency' In the expression: Dependency (PackageName "haskell98") anyVersion In the 21st argument of `BuildInfo', namely `[Dependency (PackageName "base") (intersectVersionRanges (orLaterVersion (Version [3] [])) (earlierVersion (Version [5] []))), Dependency (PackageName "haskell98") anyVersion]' Failed to install hogre-0.1.0 cabal: Error: some packages failed to install: hogre-0.1.0 failed during the configure step. The exception was: ExitFailure 1