*** setup configure Creating dist/setup (and its parents) /usr/local/bin/ghc --make Setup.lhs -o dist/setup/setup -odir dist/setup -hidir dist/setup [1 of 1] Compiling Main ( Setup.lhs, dist/setup/Main.o ) Linking dist/setup/setup ... dist/setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/CC-delcont-0.1 --verbose Configuring CC-delcont-0.1... Dependency base-any: using base-3.0.2.0 Dependency mtl-any: using mtl-1.1.0.2 Using compiler: ghc-6.8.3 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/CC-delcont-0.1/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/CC-delcont-0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/CC-delcont-0.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using ghc version 6.8.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.3.0 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.66-ghc found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found No pfesetup found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using tar found on system at: /bin/tar *** setup build dist/setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library CC-delcont-0.1... Building CC-delcont-0.1... Building library... Creating dist/build (and its parents) Creating dist/build (and its parents) /usr/local/bin/ghc -package-name CC-delcont-0.1 --make -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package mtl-1.1.0.2 -O -O2 -XMultiParamTypeClasses -XUndecidableInstances -XFunctionalDependencies -XRank2Types -XGeneralizedNewtypeDeriving Control.Monad.CC Control.Monad.CC.Dynvar Control.Monad.CC.Seq Control.Monad.CC.Prompt [1 of 4] Compiling Control.Monad.CC.Prompt ( Control/Monad/CC/Prompt.hs, dist/build/Control/Monad/CC/Prompt.o ) [2 of 4] Compiling Control.Monad.CC.Seq ( Control/Monad/CC/Seq.hs, dist/build/Control/Monad/CC/Seq.o ) [3 of 4] Compiling Control.Monad.CC ( Control/Monad/CC.hs, dist/build/Control/Monad/CC.o ) Control/Monad/CC.hs:83:0: Illegal instance declaration for `MonadReader r (CCT ans m)' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadReader r (CCT ans m)' Control/Monad/CC.hs:87:0: Illegal instance declaration for `MonadState s (CCT ans m)' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadState s (CCT ans m)'