*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/regex-posix-0.94.0 --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.94.0... Flags chosen: splitbase=True Dependency array -any: using array-0.3.0.0 Dependency base >=3.0: using base-4.2.0.0 Dependency bytestring -any: using bytestring-0.9.1.6 Dependency containers -any: using containers-0.3.0.0 Dependency regex-base >=0.93: using regex-base-0.93.1 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.1 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.94.0/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/regex-posix-0.94.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/regex-posix-0.94.0 Using alex version 2.3.1 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.3 found on system at: /usr/bin/gcc Using ghc version 6.12.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.1 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.7.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.16 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 lhc found No lhc-pkg found 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 haddock setup/setup haddock --verbose --html-location=/packages/archive/$pkg/$version/doc/html --hyperlink-source 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. Running Haddock for regex-posix-0.94.0... /usr/local/bin/haddock --use-contents=/package/regex-posix-0.94.0 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library regex-posix-0.94.0... Running hscolour for regex-posix-0.94.0... Creating dist/doc/html/regex-posix (and its parents) Creating dist/doc/html/regex-posix/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/regex-posix/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix.html Text/Regex/Posix.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-Wrap.html dist/build/Text/Regex/Posix/Wrap.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-String.html Text/Regex/Posix/String.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-Sequence.html Text/Regex/Posix/Sequence.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-ByteString.html Text/Regex/Posix/ByteString.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-ByteString-Lazy.html Text/Regex/Posix/ByteString/Lazy.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28518/Text/Regex/Posix.hs Text/Regex/Posix.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28518/dist/build/Text/Regex/Posix/Wrap.hs dist/build/Text/Regex/Posix/Wrap.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28518/Text/Regex/Posix/String.hs Text/Regex/Posix/String.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28518/Text/Regex/Posix/Sequence.hs Text/Regex/Posix/Sequence.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28518/Text/Regex/Posix/ByteString.hs Text/Regex/Posix/ByteString.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28518/Text/Regex/Posix/ByteString/Lazy.hs Text/Regex/Posix/ByteString/Lazy.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H Creating dist/doc/html/regex-posix/ (and its parents) /usr/local/bin/haddock --use-contents=/package/regex-posix-0.94.0 --prologue=dist/doc/html/regex-posix/haddock-prolog28518.txt --dump-interface=dist/doc/html/regex-posix/regex-posix.haddock --optghc=-package-name --optghc=regex-posix-0.94.0 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/array/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/array-0.3.0.0/array.haddock --read-interface=/packages/archive/base/4.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.0/base.haddock --read-interface=/packages/archive/bytestring/0.9.1.6/doc/html,/usr/local/tmp/archive/install/share/doc/bytestring-0.9.1.6/html/bytestring.haddock --read-interface=/packages/archive/containers/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/containers-0.3.0.0/containers.haddock --read-interface=/packages/archive/ghc-prim/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/ghc-prim.haddock --read-interface=/packages/archive/integer-gmp/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.haddock --read-interface=/packages/archive/mtl/1.1.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.0.2/html/mtl.haddock --read-interface=/packages/archive/regex-base/0.93.1/doc/html,/usr/local/tmp/archive/install/share/doc/regex-base-0.93.1/html/regex-base.haddock --odir=dist/doc/html/regex-posix/ --title=regex-posix-0.94.0: Replaces/Enhances Text.Regex --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-DSPLIT_BASE=1 --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-stubdir --optghc=dist/build --optghc=-package-id --optghc=array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98 --optghc=-package-id --optghc=base-4.2.0.0-c9182baf5cf44f2e72b2298fa160086c --optghc=-package-id --optghc=bytestring-0.9.1.6-d34b3db941c7d38af4651530de1ab787 --optghc=-package-id --optghc=containers-0.3.0.0-409fe3b8f0dda25b98e03716d26be411 --optghc=-package-id --optghc=regex-base-0.93.1-7bd2f8d954a990cb787ad5b71b0cf439 --optghc=-O --optghc=-Wall --optghc=-O2 --optghc=-XMultiParamTypeClasses --optghc=-XFunctionalDependencies --optghc=-XCPP --optghc=-XForeignFunctionInterface --optghc=-XGeneralizedNewtypeDeriving --optghc=-XFlexibleContexts --optghc=-XTypeSynonymInstances --optghc=-XFlexibleInstances -B/usr/local/lib/ghc-6.12.1 dist/build/tmp28518/Text/Regex/Posix.hs dist/build/tmp28518/dist/build/Text/Regex/Posix/Wrap.hs dist/build/tmp28518/Text/Regex/Posix/String.hs dist/build/tmp28518/Text/Regex/Posix/Sequence.hs dist/build/tmp28518/Text/Regex/Posix/ByteString.hs dist/build/tmp28518/Text/Regex/Posix/ByteString/Lazy.hs Text/Regex/Posix/Wrap.hsc:505:68: Not in scope: type constructor or class `Int32' Text/Regex/Posix/Wrap.hsc:506:68: Not in scope: type constructor or class `Int32' *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/regex-posix-0.94.0 --constraint=base<4 --constraint=parsec<3 --constraint=QuickCheck<2 --constraint=cabal-install<0.8 --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.94.0... Flags chosen: splitbase=True Dependency array -any: using array-0.3.0.0 Dependency base >=3.0 && <4: using base-3.0.3.2 Dependency bytestring -any: using bytestring-0.9.1.6 Dependency containers -any: using containers-0.3.0.0 Dependency regex-base >=0.93: using regex-base-0.93.1 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.1 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.94.0/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/regex-posix-0.94.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/regex-posix-0.94.0 Using alex version 2.3.1 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.3 found on system at: /usr/bin/gcc Using ghc version 6.12.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.1 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.7.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.16 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 lhc found No lhc-pkg found 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 haddock setup/setup haddock --verbose --html-location=/packages/archive/$pkg/$version/doc/html --hyperlink-source 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. Running Haddock for regex-posix-0.94.0... /usr/local/bin/haddock --use-contents=/package/regex-posix-0.94.0 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library regex-posix-0.94.0... Running hscolour for regex-posix-0.94.0... Creating dist/doc/html/regex-posix (and its parents) Creating dist/doc/html/regex-posix/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/regex-posix/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix.html Text/Regex/Posix.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-Wrap.html dist/build/Text/Regex/Posix/Wrap.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-String.html Text/Regex/Posix/String.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-Sequence.html Text/Regex/Posix/Sequence.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-ByteString.html Text/Regex/Posix/ByteString.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-ByteString-Lazy.html Text/Regex/Posix/ByteString/Lazy.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-3.0.3.2, ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28610/Text/Regex/Posix.hs Text/Regex/Posix.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28610/dist/build/Text/Regex/Posix/Wrap.hs dist/build/Text/Regex/Posix/Wrap.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28610/Text/Regex/Posix/String.hs Text/Regex/Posix/String.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28610/Text/Regex/Posix/Sequence.hs Text/Regex/Posix/Sequence.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28610/Text/Regex/Posix/ByteString.hs Text/Regex/Posix/ByteString.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp28610/Text/Regex/Posix/ByteString/Lazy.hs Text/Regex/Posix/ByteString/Lazy.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSPLIT_BASE=1 -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H Creating dist/doc/html/regex-posix/ (and its parents) /usr/local/bin/haddock --use-contents=/package/regex-posix-0.94.0 --prologue=dist/doc/html/regex-posix/haddock-prolog28610.txt --dump-interface=dist/doc/html/regex-posix/regex-posix.haddock --optghc=-package-name --optghc=regex-posix-0.94.0 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/array/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/array-0.3.0.0/array.haddock --read-interface=/packages/archive/base/4.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.0/base.haddock --read-interface=/packages/archive/bytestring/0.9.1.6/doc/html,/usr/local/tmp/archive/install/share/doc/bytestring-0.9.1.6/html/bytestring.haddock --read-interface=/packages/archive/containers/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/containers-0.3.0.0/containers.haddock --read-interface=/packages/archive/ghc-prim/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/ghc-prim.haddock --read-interface=/packages/archive/integer-gmp/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.haddock --read-interface=/packages/archive/mtl/1.1.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.0.2/html/mtl.haddock --read-interface=/packages/archive/regex-base/0.93.1/doc/html,/usr/local/tmp/archive/install/share/doc/regex-base-0.93.1/html/regex-base.haddock --read-interface=/packages/archive/syb/0.1.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/syb-0.1.0.2/syb.haddock --odir=dist/doc/html/regex-posix/ --title=regex-posix-0.94.0: Replaces/Enhances Text.Regex --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-DSPLIT_BASE=1 --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-stubdir --optghc=dist/build --optghc=-package-id --optghc=array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98 --optghc=-package-id --optghc=base-3.0.3.2-52acef427378232ec569bca0486ee48f --optghc=-package-id --optghc=bytestring-0.9.1.6-d34b3db941c7d38af4651530de1ab787 --optghc=-package-id --optghc=containers-0.3.0.0-409fe3b8f0dda25b98e03716d26be411 --optghc=-package-id --optghc=regex-base-0.93.1-7bd2f8d954a990cb787ad5b71b0cf439 --optghc=-O --optghc=-Wall --optghc=-O2 --optghc=-XMultiParamTypeClasses --optghc=-XFunctionalDependencies --optghc=-XCPP --optghc=-XForeignFunctionInterface --optghc=-XGeneralizedNewtypeDeriving --optghc=-XFlexibleContexts --optghc=-XTypeSynonymInstances --optghc=-XFlexibleInstances -B/usr/local/lib/ghc-6.12.1 dist/build/tmp28610/Text/Regex/Posix.hs dist/build/tmp28610/dist/build/Text/Regex/Posix/Wrap.hs dist/build/tmp28610/Text/Regex/Posix/String.hs dist/build/tmp28610/Text/Regex/Posix/Sequence.hs dist/build/tmp28610/Text/Regex/Posix/ByteString.hs dist/build/tmp28610/Text/Regex/Posix/ByteString/Lazy.hs Text/Regex/Posix/Wrap.hsc:505:68: Not in scope: type constructor or class `Int32' Text/Regex/Posix/Wrap.hsc:506:68: Not in scope: type constructor or class `Int32'