*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/regex-posix-0.93 --verbose This links to the standard c library version of regular expressions. The corresponding c header file is regex.h and there is a chance you will need to edit the end of the regex-posix.cabal file to find the include directory and/or library. Warning: defaultUserHooks in Setup script is deprecated. Configuring regex-posix-0.93... Flags chosen: splitbase=True Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: 'include-dirs: include' directory does not exist. Dependency array -any: using array-0.2.0.0 Dependency base >=3.0: using base-4.1.0.0 Dependency bytestring -any: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency regex-base >=0.93: using regex-base-0.93.1 Using Cabal-1.6.0.1 compiled by ghc-6.10 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/regex-posix-0.93/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/regex-posix-0.93 Documentation installed in: /usr/local/tmp/archive/install/share/doc/regex-posix-0.93 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 setup/setup build --verbose This links to the standard c library version of regular expressions. The corresponding c header file is regex.h and there is a chance you will need to edit the end of the regex-posix.cabal file to find the include directory and/or library. Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library regex-posix-0.93... Creating dist/build/Text/Regex/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --cflag=-DHAVE_REGEX_H --cflag=-DSPLIT_BASE=1 --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/regex-base-0.93.1/ghc-6.10.2 --lflag=-L/usr/local/tmp/archive/install/lib/mtl-1.1.0.2/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/Text/Regex/Posix/Wrap.hs Text/Regex/Posix/Wrap.hsc Building regex-posix-0.93... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name regex-posix-0.93 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -optP-DSPLIT_BASE=1 -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-4.1.0.0 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package regex-base-0.93.1 -O -Wall -O2 -XMultiParamTypeClasses -XFunctionalDependencies -XCPP Text.Regex.Posix Text.Regex.Posix.Wrap Text.Regex.Posix.String Text.Regex.Posix.Sequence Text.Regex.Posix.ByteString Text.Regex.Posix.ByteString.Lazy [1 of 6] Compiling Text.Regex.Posix.Wrap ( dist/build/Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.o ) Text/Regex/Posix/Wrap.hsc:315:8: parse error on input `import' *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/regex-posix-0.93 --constraint=base<4 --constraint=parsec<3 --constraint=HaXml==1.13.* --constraint=QuickCheck<2 --verbose This links to the standard c library version of regular expressions. The corresponding c header file is regex.h and there is a chance you will need to edit the end of the regex-posix.cabal file to find the include directory and/or library. Warning: defaultUserHooks in Setup script is deprecated. Configuring regex-posix-0.93... Flags chosen: splitbase=True Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: 'include-dirs: include' directory does not exist. Dependency array -any: using array-0.2.0.0 Dependency base >=3.0 && <4: using base-3.0.3.1 Dependency bytestring -any: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency regex-base >=0.93: using regex-base-0.93.1 Using Cabal-1.6.0.1 compiled by ghc-6.10 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/regex-posix-0.93/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/regex-posix-0.93 Documentation installed in: /usr/local/tmp/archive/install/share/doc/regex-posix-0.93 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 setup/setup build --verbose This links to the standard c library version of regular expressions. The corresponding c header file is regex.h and there is a chance you will need to edit the end of the regex-posix.cabal file to find the include directory and/or library. Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library regex-posix-0.93... Building regex-posix-0.93... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name regex-posix-0.93 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -optP-DSPLIT_BASE=1 -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-3.0.3.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package regex-base-0.93.1 -O -Wall -O2 -XMultiParamTypeClasses -XFunctionalDependencies -XCPP Text.Regex.Posix Text.Regex.Posix.Wrap Text.Regex.Posix.String Text.Regex.Posix.Sequence Text.Regex.Posix.ByteString Text.Regex.Posix.ByteString.Lazy [1 of 6] Compiling Text.Regex.Posix.Wrap ( dist/build/Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.o ) Text/Regex/Posix/Wrap.hsc:315:8: parse error on input `import'