*** 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/HDBC-postgresql-1.1.3.0 --verbose Configuring HDBC-postgresql-1.1.3.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency HDBC >=1.1.0: using HDBC-1.1.5 Dependency base -any: using base-3.0.2.0 Dependency mtl -any: using mtl-1.1.0.2 Dependency parsec -any: using parsec-3.0.0 Using Cabal-1.6.0.1 compiled by ghc-6.8 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/HDBC-postgresql-1.1.3.0/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/HDBC-postgresql-1.1.3.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/HDBC-postgresql-1.1.3.0 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.2 found on system at: /usr/bin/gcc 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 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 dist/setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library HDBC-postgresql-1.1.3.0... Creating dist/build/Database/HDBC/PostgreSQL (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=608 --cflag=-I/usr/include/postgresql --cflag=-I. --lflag=-lpq --cflag=-I/usr/local/tmp/archive/install/lib/bytestring-0.9.1.3/ghc-6.8.3/include --cflag=-I/usr/local/lib/ghc-6.8.3/lib/old-time-1.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include --cflag=-I/usr/local/lib/ghc-6.8.3/include --lflag=-L/usr/local/tmp/archive/install/lib/parsec-3.0.0/ghc-6.8.3 --lflag=-L/usr/local/tmp/archive/install/lib/HDBC-1.1.5/ghc-6.8.3 --lflag=-L/usr/local/tmp/archive/install/lib/mtl-1.1.0.2/ghc-6.8.3 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/containers-0.1.0.2 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/array-0.1.0.0 --lflag=-L/usr/local/tmp/archive/install/lib/bytestring-0.9.1.3/ghc-6.8.3 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/old-time-1.0.0.0 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/old-locale-1.0.0.0 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0 --lflag=-L/usr/local/lib/ghc-6.8.3 --lflag=-lm --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Database/HDBC/PostgreSQL/Connection.hs Database/HDBC/PostgreSQL/Connection.hsc Creating dist/build/Database/HDBC/PostgreSQL (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=608 --cflag=-I/usr/include/postgresql --cflag=-I. --lflag=-lpq --cflag=-I/usr/local/tmp/archive/install/lib/bytestring-0.9.1.3/ghc-6.8.3/include --cflag=-I/usr/local/lib/ghc-6.8.3/lib/old-time-1.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include --cflag=-I/usr/local/lib/ghc-6.8.3/include --lflag=-L/usr/local/tmp/archive/install/lib/parsec-3.0.0/ghc-6.8.3 --lflag=-L/usr/local/tmp/archive/install/lib/HDBC-1.1.5/ghc-6.8.3 --lflag=-L/usr/local/tmp/archive/install/lib/mtl-1.1.0.2/ghc-6.8.3 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/containers-0.1.0.2 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/array-0.1.0.0 --lflag=-L/usr/local/tmp/archive/install/lib/bytestring-0.9.1.3/ghc-6.8.3 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/old-time-1.0.0.0 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/old-locale-1.0.0.0 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0 --lflag=-L/usr/local/lib/ghc-6.8.3 --lflag=-lm --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Database/HDBC/PostgreSQL/Statement.hs Database/HDBC/PostgreSQL/Statement.hsc Creating dist/build/Database/HDBC/PostgreSQL (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=608 --cflag=-I/usr/include/postgresql --cflag=-I. --lflag=-lpq --cflag=-I/usr/local/tmp/archive/install/lib/bytestring-0.9.1.3/ghc-6.8.3/include --cflag=-I/usr/local/lib/ghc-6.8.3/lib/old-time-1.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include --cflag=-I/usr/local/lib/ghc-6.8.3/include --lflag=-L/usr/local/tmp/archive/install/lib/parsec-3.0.0/ghc-6.8.3 --lflag=-L/usr/local/tmp/archive/install/lib/HDBC-1.1.5/ghc-6.8.3 --lflag=-L/usr/local/tmp/archive/install/lib/mtl-1.1.0.2/ghc-6.8.3 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/containers-0.1.0.2 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/array-0.1.0.0 --lflag=-L/usr/local/tmp/archive/install/lib/bytestring-0.9.1.3/ghc-6.8.3 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/old-time-1.0.0.0 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/old-locale-1.0.0.0 --lflag=-L/usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0 --lflag=-L/usr/local/lib/ghc-6.8.3 --lflag=-lm --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Database/HDBC/PostgreSQL/Utils.hs Database/HDBC/PostgreSQL/Utils.hsc Utils.hsc:32:36: error: hdbc-postgresql-helper.h: No such file or directory Utils.hsc: In function 'main': Utils.hsc:87: error: expected specifier-qualifier-list before 'finalizeonce' Utils.hsc:87: error: expected ';' before ')' token Utils.hsc:87: error: expected statement before ')' token compiling dist/build/Database/HDBC/PostgreSQL/Utils_hsc_make.c failed command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=608 -I/usr/include/postgresql -I. -I/usr/local/tmp/archive/install/lib/bytestring-0.9.1.3/ghc-6.8.3/include -I/usr/local/lib/ghc-6.8.3/lib/old-time-1.0.0.0/include -I/usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include -I/usr/local/lib/ghc-6.8.3/include dist/build/Database/HDBC/PostgreSQL/Utils_hsc_make.c -o dist/build/Database/HDBC/PostgreSQL/Utils_hsc_make.o