Resolving dependencies... Configuring editline-0.2.1.1... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for tgetent in -lcurses... yes checking for el_init... yes checking for readline... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking editline/readline.h usability... yes checking editline/readline.h presence... yes checking for editline/readline.h... yes checking for sign of read_history result on error... positive checking for rl_completion_matches... yes checking for completion_matches... yes configure: creating ./config.status config.status: creating editline.buildinfo config.status: creating include/HsEditlineConfig.h config.status: include/HsEditlineConfig.h is unchanged configure: WARNING: unrecognized options: --with-compiler, --with-gcc Building editline-0.2.1.1... Preprocessing library editline-0.2.1.1... [1 of 2] Compiling System.Console.Editline.Readline ( dist/build/System/Console/Editline/Readline.hs, dist/build/System/Console/Editline/Readline.o ) System/Console/Editline/Readline.hsc:176:1: Warning: Module `GHC.Handle' is deprecated: use GHC.IO.Handle instead [2 of 2] Compiling System.Console.Editline ( dist/build/System/Console/Editline.hs, dist/build/System/Console/Editline.o ) In-place registering editline-0.2.1.1... Running Haddock for editline-0.2.1.1... Running hscolour for editline-0.2.1.1... Preprocessing library editline-0.2.1.1... Preprocessing library editline-0.2.1.1... System/Console/Editline/Readline.hsc:176:1: Warning: Module `GHC.Handle' is deprecated: use GHC.IO.Handle instead Haddock coverage: 18% ( 10 / 57) in 'System.Console.Editline.Readline' 75% ( 6 / 8) in 'System.Console.Editline' Documentation created: dist/doc/html/editline/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/editline-0.2.1.1 Registering editline-0.2.1.1... Installed editline-0.2.1.1 Downloading lambdacube-2008.12.25... Configuring lambdacube-2008.12.25... Building lambdacube-2008.12.25... Preprocessing executable 'cube' for lambdacube-2008.12.25... [1 of 3] Compiling CubeExpr ( CubeExpr.hs, dist/build/cube/cube-tmp/CubeExpr.o ) [2 of 3] Compiling REPL ( REPL.hs, dist/build/cube/cube-tmp/REPL.o ) REPL.hs:29:15: No instance for (Control.Exception.Exception a0) arising from a use of `Control.Exception.catch' The type variable `a0' is ambiguous Possible fix: add a type signature that fixes these type variable(s) Note: there are several potential instances: instance Control.Exception.Exception Control.Exception.ArrayException -- Defined in `GHC.IO.Exception' instance Control.Exception.Exception Control.Exception.AssertionFailed -- Defined in `GHC.IO.Exception' instance Control.Exception.Exception Control.Exception.AsyncException -- Defined in `GHC.IO.Exception' ...plus 15 others In the expression: (do { mline <- readline prompt; case mline of { Nothing -> loop s Just line -> do { (quit, s') <- repl_eval p s line; .... } } }) `Control.Exception.catch` (\ exc -> do { putStrLn $ "\ \Interrupted (" ++ show exc ++ ")"; loop s }) In an equation for `loop': loop s = (do { mline <- readline prompt; case mline of { Nothing -> loop s Just line -> do { ... } } }) `Control.Exception.catch` (\ exc -> do { putStrLn $ "\ \Interrupted (" ++ show exc ++ ")"; loop s }) In the expression: do { (prompt, state) <- repl_init p; let loop s = (do { ... }) `Control.Exception.catch` (\ exc -> ...); loop state } REPL.hs:31:53: No instance for (Show a0) arising from a use of `show' The type variable `a0' is ambiguous Possible fix: add a type signature that fixes these type variable(s) Note: there are several potential instances: instance Show Data.Char.GeneralCategory -- Defined in `Data.Char' instance [safe] Show Text.PrettyPrint.HughesPJ.Doc -- Defined in `Text.PrettyPrint.HughesPJ' instance Show Double -- Defined in `GHC.Float' ...plus 54 others In the first argument of `(++)', namely `show exc' In the second argument of `(++)', namely `show exc ++ ")"' In the second argument of `($)', namely `"\ \Interrupted (" ++ show exc ++ ")"' Failed to install lambdacube-2008.12.25 cabal: Error: some packages failed to install: lambdacube-2008.12.25 failed during the building phase. The exception was: ExitFailure 1