*** setup configure Reading installed packages... /usr/local/bin/ghc-pkg list Dependency Cabal>=1.2: using Cabal-1.2.4.0 Creating dist/setup (and its parents) /usr/local/bin/ghc -package Cabal-1.2.4.0 --make Setup.hs -o dist/setup/setup -odir dist/setup -hidir dist/setup [1 of 1] Compiling Main ( Setup.hs, 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/regex-posix-0.93.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. Configuring regex-posix-0.93.2... Flags chosen: splitbase=True Dependency regex-base>=0.93: using regex-base-0.93.1 Dependency base>=3.0: using base-3.0.2.0 Dependency array-any: using array-0.1.0.0 Dependency containers-any: using containers-0.1.0.2 Dependency bytestring-any: using bytestring-0.9.1.3 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/regex-posix-0.93.2/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/regex-posix-0.93.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/regex-posix-0.93.2 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 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.2... Creating dist/build/Text/Regex/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/local/bin/ghc --ld=/usr/local/bin/ghc --cflag=-optc-DHAVE_REGEX_H --cflag=-optc-DSPLIT_BASE=1 --cflag=-package --cflag=regex-base-0.93.1 --cflag=-package --cflag=base-3.0.2.0 --cflag=-package --cflag=array-0.1.0.0 --cflag=-package --cflag=containers-0.1.0.2 --cflag=-package --cflag=bytestring-0.9.1.3 -o dist/build/Text/Regex/Posix/Wrap.hs Text/Regex/Posix/Wrap.hsc Wrap.hsc:91:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdint.h:26, from /usr/local/lib/ghc-6.8.3/include/HsFFI.h:31, from /usr/local/lib/ghc-6.8.3/template-hsc.h:4, from dist/build/Text/Regex/Posix/Wrap_hsc_make.c:1:0: /usr/include/features.h:205:1: warning: this is the location of the previous definition Building regex-posix-0.93.2... Building library... Creating dist/build (and its parents) Creating dist/build (and its parents) /usr/local/bin/ghc -package-name regex-posix-0.93.2 --make -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -optP-DSPLIT_BASE=1 -optc-DHAVE_REGEX_H -odir dist/build -hidir dist/build -stubdir dist/build -package regex-base-0.93.1 -package base-3.0.2.0 -package array-0.1.0.0 -package containers-0.1.0.2 -package bytestring-0.9.1.3 -O -Wall -O2 -XMultiParamTypeClasses -XFunctionalDependencies -XCPP -XForeignFunctionInterface -XGeneralizedNewtypeDeriving -XFlexibleContexts -XTypeSynonymInstances -XFlexibleInstances 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 ) [2 of 6] Compiling Text.Regex.Posix.String ( Text/Regex/Posix/String.hs, dist/build/Text/Regex/Posix/String.o ) [3 of 6] Compiling Text.Regex.Posix.Sequence ( Text/Regex/Posix/Sequence.hs, dist/build/Text/Regex/Posix/Sequence.o ) [4 of 6] Compiling Text.Regex.Posix.ByteString ( Text/Regex/Posix/ByteString.hs, dist/build/Text/Regex/Posix/ByteString.o ) [5 of 6] Compiling Text.Regex.Posix.ByteString.Lazy ( Text/Regex/Posix/ByteString/Lazy.hs, dist/build/Text/Regex/Posix/ByteString/Lazy.o ) [6 of 6] Compiling Text.Regex.Posix ( Text/Regex/Posix.hs, dist/build/Text/Regex/Posix.o ) Linking... /usr/bin/ar q dist/build/libHSregex-posix-0.93.2.a dist/build/Text/Regex/Posix.o dist/build/Text/Regex/Posix/Wrap.o dist/build/Text/Regex/Posix/String.o dist/build/Text/Regex/Posix/Sequence.o dist/build/Text/Regex/Posix/ByteString.o dist/build/Text/Regex/Posix/ByteString/Lazy.o /usr/bin/ar: creating dist/build/libHSregex-posix-0.93.2.a /usr/bin/ld -x -r -o dist/build/HSregex-posix-0.93.2.o.tmp dist/build/Text/Regex/Posix.o dist/build/Text/Regex/Posix/Wrap.o dist/build/Text/Regex/Posix/String.o dist/build/Text/Regex/Posix/Sequence.o dist/build/Text/Regex/Posix/ByteString.o dist/build/Text/Regex/Posix/ByteString/Lazy.o *** setup haddock dist/setup/setup haddock --verbose --html-location=http://hackage.haskell.org/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. Creating dist/doc/html/regex-posix (and its parents) Preprocessing library regex-posix-0.93.2... Running hscolour for regex-posix-0.93.2... 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/Wrap.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-Sequence.html ./Text/Regex/Posix/String.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-ByteString.html ./Text/Regex/Posix/Sequence.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regex-posix/src/Text-Regex-Posix-ByteString-Lazy.html ./Text/Regex/Posix/ByteString.hs Creating dist/build/tmp (and its parents) Creating dist/doc/html/regex-posix (and its parents) Preprocessing library regex-posix-0.93.2... Running Haddock for regex-posix-0.93.2... /usr/local/bin/ghc-pkg field regex-base-0.93.1 haddock-interfaces /usr/local/bin/ghc-pkg field base-3.0.2.0 haddock-interfaces /usr/local/bin/ghc-pkg field array-0.1.0.0 haddock-interfaces /usr/local/bin/ghc-pkg field containers-0.1.0.2 haddock-interfaces /usr/local/bin/ghc-pkg field bytestring-0.9.1.3 haddock-interfaces /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/regex-posix-0.93.2 --ghc-version /usr/local/bin/ghc --print-libdir Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library regex-posix-0.93.2... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/regex-posix-0.93.2 --html --odir=dist/doc/html/regex-posix --title=regex-posix-0.93.2: Replaces/Enhances Text.Regex --dump-interface=dist/doc/html/regex-posix/regex-posix.haddock --prologue=dist/regex-posix-0.93.2-haddock-prolog.txt --optghc=-package-name --optghc=regex-posix-0.93.2 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --read-interface=http://hackage.haskell.org/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=http://hackage.haskell.org/packages/archive/base/3.0.2.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/array/0.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/array/array.haddock --read-interface=http://hackage.haskell.org/packages/archive/containers/0.1.0.2/doc/html,/usr/local/share/doc/ghc/libraries/containers/containers.haddock --read-interface=http://hackage.haskell.org/packages/archive/bytestring/0.9.1.3/doc/html,/usr/local/tmp/archive/install/share/doc/bytestring-0.9.1.3/html/bytestring.haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/regex-posix-0.93.2 -B/usr/local/lib/ghc-6.8.3 --optghc=-hide-all-packages --optghc=-package --optghc=regex-base-0.93.1 --optghc=-package --optghc=base-3.0.2.0 --optghc=-package --optghc=array-0.1.0.0 --optghc=-package --optghc=containers-0.1.0.2 --optghc=-package --optghc=bytestring-0.9.1.3 --optghc=-i --optghc=-Wall --optghc=-O2 --optghc=-idist/build/autogen --optghc=-i. --optghc=-idist/build --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-XMultiParamTypeClasses --optghc=-XFunctionalDependencies --optghc=-XCPP --optghc=-XForeignFunctionInterface --optghc=-XGeneralizedNewtypeDeriving --optghc=-XFlexibleContexts --optghc=-XTypeSynonymInstances --optghc=-XFlexibleInstances Text.Regex.Posix Text.Regex.Posix.Wrap Text.Regex.Posix.String Text.Regex.Posix.Sequence Text.Regex.Posix.ByteString Text.Regex.Posix.ByteString.Lazy Text/Regex/Posix/ByteString.hs:60:17: Could not find module `Data.ByteString.Base': Use -v to see a list of the files searched for. haddock: Failed to create dependecy graph