*** setup configure Configuring hmp3-1.5.1... Flags chosen: small_base=True Dependency array -any: using array-0.2.0.0 Dependency base >=3: using base-4.1.0.0 Dependency binary >=0.4: using binary-0.5.0.1 Dependency bytestring >=0.9: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency directory -any: using directory-1.0.0.3 Dependency mersenne-random >=0.1: using mersenne-random-1.0 Dependency old-time -any: using old-time-1.0.0.2 Dependency pcre-light >=0.3: using pcre-light-0.3.1 Dependency process -any: using process-1.0.1.1 Dependency unix -any: using unix-2.3.2.0 Dependency zlib >=0.4: using zlib-0.5.0.0 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.2 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/hmp3-1.5.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hmp3-1.5.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hmp3-1.5.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 gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 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.67 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 Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for hmp3-1.5.1... Creating dist/build/hmp3/hmp3-tmp (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Icbits --lflag=-lcurses --cflag=-I/usr/local/lib/ghc-6.10.2/process-1.0.1.1/include --cflag=-I/usr/local/tmp/archive/install/lib/mersenne-random-1.0/ghc-6.10.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/tmp/archive/install/lib/zlib-0.5.0.0/ghc-6.10.2 --lflag=-lz --lflag=-L/usr/local/lib/ghc-6.10.2/process-1.0.1.1 --lflag=-L/usr/local/tmp/archive/install/lib/pcre-light-0.3.1/ghc-6.10.2 --lflag=-lpcre --lflag=-L/usr/local/tmp/archive/install/lib/mersenne-random-1.0/ghc-6.10.2 --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/tmp/archive/install/lib/binary-0.5.0.1/ghc-6.10.2 --lflag=-L/usr/local/lib/ghc-6.10.2/containers-0.2.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4 --lflag=-L/usr/local/lib/ghc-6.10.2/array-0.2.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/syb-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/hmp3/hmp3-tmp/Curses.hs Curses.hsc In file included from cbits/utils.h:7, from Curses.hsc:42: /usr/local/lib/ghc-6.10.2/include/config.h:4:2: warning: #warning config.h is deprecated; please use ghcconfig.h instead Building hmp3-1.5.1... Building executable: hmp3... Creating dist/build/hmp3 (and its parents) Creating dist/build/hmp3/hmp3-tmp (and its parents) Building C Sources. Creating dist/build/hmp3/hmp3-tmp (and its parents) /usr/local/bin/ghc -Icbits -package array-0.2.0.0 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package mersenne-random-1.0 -package old-time-1.0.0.2 -package pcre-light-0.3.1 -package process-1.0.1.1 -package unix-2.3.2.0 -package zlib-0.5.0.0 -optc-O2 -odir dist/build/hmp3/hmp3-tmp -c cbits/utils.c In file included from cbits/utils.h:7, from cbits/utils.c:2:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:2: warning: #warning config.h is deprecated; please use ghcconfig.h instead /usr/local/bin/ghc -o dist/build/hmp3/hmp3 --make -hide-all-packages -i -idist/build/hmp3/hmp3-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/hmp3/hmp3-tmp -Icbits -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/hmp3/hmp3-tmp -hidir dist/build/hmp3/hmp3-tmp -stubdir dist/build/hmp3/hmp3-tmp -package array-0.2.0.0 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package mersenne-random-1.0 -package old-time-1.0.0.2 -package pcre-light-0.3.1 -package process-1.0.1.1 -package unix-2.3.2.0 -package zlib-0.5.0.0 -O -Wall -O2 -funbox-strict-fields -optl-Wl,-s -threaded -XCPP -XForeignFunctionInterface dist/build/hmp3/hmp3-tmp/cbits/utils.o ./Main.hs -lcurses Main.hs:27:17: Unrecognised pragma In file included from ./UI.hs:8:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:0: warning: #warning config.h is deprecated; please use ghcconfig.h instead In file included from ./Config.hs:24:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:0: warning: #warning config.h is deprecated; please use ghcconfig.h instead In file included from ./Style.hs:27:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:0: warning: #warning config.h is deprecated; please use ghcconfig.h instead In file included from ./Core.hs:72:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:0: warning: #warning config.h is deprecated; please use ghcconfig.h instead [ 1 of 15] Compiling Syntax ( Syntax.hs, dist/build/hmp3/hmp3-tmp/Syntax.o ) [ 2 of 15] Compiling FastIO ( FastIO.hs, dist/build/hmp3/hmp3-tmp/FastIO.o ) FastIO.hs:105:21: Ambiguous type variable `e1' in the constraint: `GHC.Exception.Exception e1' arising from a use of `Control.Exception.catch' at FastIO.hs:(105,21)-(108,23) Probable fix: add a type signature that fixes these type variable(s) FastIO.hs:112:26: Ambiguous type variable `e' in the constraint: `GHC.Exception.Exception e' arising from a use of `Control.Exception.catch' at FastIO.hs:(112,26)-(114,23) Probable fix: add a type signature that fixes these type variable(s) *** Trying again with preferred-versions *** setup configure Configuring hmp3-1.5.1... Flags chosen: small_base=True Dependency array -any: using array-0.2.0.0 Dependency base ==3.*: using base-3.0.3.1 Dependency binary >=0.4: using binary-0.5.0.1 Dependency bytestring >=0.9: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency directory -any: using directory-1.0.0.3 Dependency mersenne-random >=0.1: using mersenne-random-1.0 Dependency old-time -any: using old-time-1.0.0.2 Dependency pcre-light >=0.3: using pcre-light-0.3.1 Dependency process -any: using process-1.0.1.1 Dependency unix -any: using unix-2.3.2.0 Dependency zlib >=0.4: using zlib-0.5.0.0 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.2 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/hmp3-1.5.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hmp3-1.5.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hmp3-1.5.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 gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 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.67 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 Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for hmp3-1.5.1... Building hmp3-1.5.1... Building executable: hmp3... Creating dist/build/hmp3 (and its parents) Creating dist/build/hmp3/hmp3-tmp (and its parents) Building C Sources. Creating dist/build/hmp3/hmp3-tmp (and its parents) /usr/local/bin/ghc -Icbits -package array-0.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package mersenne-random-1.0 -package old-time-1.0.0.2 -package pcre-light-0.3.1 -package process-1.0.1.1 -package unix-2.3.2.0 -package zlib-0.5.0.0 -optc-O2 -odir dist/build/hmp3/hmp3-tmp -c cbits/utils.c In file included from cbits/utils.h:7, from cbits/utils.c:2:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:2: warning: #warning config.h is deprecated; please use ghcconfig.h instead /usr/local/bin/ghc -o dist/build/hmp3/hmp3 --make -hide-all-packages -i -idist/build/hmp3/hmp3-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/hmp3/hmp3-tmp -Icbits -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/hmp3/hmp3-tmp -hidir dist/build/hmp3/hmp3-tmp -stubdir dist/build/hmp3/hmp3-tmp -package array-0.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package mersenne-random-1.0 -package old-time-1.0.0.2 -package pcre-light-0.3.1 -package process-1.0.1.1 -package unix-2.3.2.0 -package zlib-0.5.0.0 -O -Wall -O2 -funbox-strict-fields -optl-Wl,-s -threaded -XCPP -XForeignFunctionInterface dist/build/hmp3/hmp3-tmp/cbits/utils.o ./Main.hs -lcurses Main.hs:27:17: Unrecognised pragma In file included from ./UI.hs:8:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:0: warning: #warning config.h is deprecated; please use ghcconfig.h instead In file included from ./Config.hs:24:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:0: warning: #warning config.h is deprecated; please use ghcconfig.h instead In file included from ./Style.hs:27:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:0: warning: #warning config.h is deprecated; please use ghcconfig.h instead In file included from ./Core.hs:72:0: /usr/local/lib/ghc-6.10.2/include/config.h:4:0: warning: #warning config.h is deprecated; please use ghcconfig.h instead [ 2 of 15] Compiling FastIO ( FastIO.hs, dist/build/hmp3/hmp3-tmp/FastIO.o ) [ 3 of 15] Compiling Utils ( Utils.hs, dist/build/hmp3/hmp3-tmp/Utils.o ) [ 4 of 15] Compiling Curses ( dist/build/hmp3/hmp3-tmp/Curses.hs, dist/build/hmp3/hmp3-tmp/Curses.o ) [ 5 of 15] Compiling Style ( Style.hs, dist/build/hmp3/hmp3-tmp/Style.o ) [ 6 of 15] Compiling Lexers ( Lexers.hs, dist/build/hmp3/hmp3-tmp/Lexers.o ) [ 7 of 15] Compiling Keymap[boot] ( Keymap.hs-boot, dist/build/hmp3/hmp3-tmp/Keymap.o-boot ) [ 8 of 15] Compiling Lexer ( Lexer.hs, dist/build/hmp3/hmp3-tmp/Lexer.o ) [ 9 of 15] Compiling Config ( Config.hs, dist/build/hmp3/hmp3-tmp/Config.o ) Config.hs:78:42: Not in scope: data constructor `PATCH_COUNT' Config.hs:78:69: Not in scope: data constructor `PATCH_COUNT' Config.hs:79:37: Not in scope: data constructor `PATCH_COUNT'