*** setup configure Configuring curl-1.3.2... Flags chosen: new-base=True Dependency base >=3 && -any: using base-4.1.0.0 Dependency containers -any: using containers-0.2.0.1 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/curl-1.3.2/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/curl-1.3.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/curl-1.3.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 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 sh configure --with-compiler=ghc --prefix=/usr/local/tmp/archive/install checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E configure: creating ./config.status config.status: creating curl.buildinfo *** setup build Reading parameters from ./curl.buildinfo Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library curl-1.3.2... Building curl-1.3.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name curl-1.3.2 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package base-4.1.0.0 -package containers-0.2.0.1 -O -Wall -fvia-C -XCPP -XForeignFunctionInterface Network.Curl Network.Curl.Code Network.Curl.Info Network.Curl.Opts Network.Curl.Post Network.Curl.Types Network.Curl.Easy Network.Curl.Debug Network/Curl/Code.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Info.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Post.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Types.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Easy.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead [1 of 8] Compiling Network.Curl.Debug ( Network/Curl/Debug.hs, dist/build/Network/Curl/Debug.o ) [2 of 8] Compiling Network.Curl.Types ( Network/Curl/Types.hs, dist/build/Network/Curl/Types.o ) [3 of 8] Compiling Network.Curl.Post ( Network/Curl/Post.hs, dist/build/Network/Curl/Post.o ) [4 of 8] Compiling Network.Curl.Opts ( Network/Curl/Opts.hs, dist/build/Network/Curl/Opts.o ) [5 of 8] Compiling Network.Curl.Code ( Network/Curl/Code.hs, dist/build/Network/Curl/Code.o ) [6 of 8] Compiling Network.Curl.Info ( Network/Curl/Info.hs, dist/build/Network/Curl/Info.o ) [7 of 8] Compiling Network.Curl.Easy ( Network/Curl/Easy.hs, dist/build/Network/Curl/Easy.o ) [8 of 8] Compiling Network.Curl ( Network/Curl.hs, dist/build/Network/Curl.o ) Network/Curl.hs:289:0: Unrecognised pragma Linking... /usr/bin/ar q dist/build/libHScurl-1.3.2.a dist/build/Network/Curl.o dist/build/Network/Curl/Code.o dist/build/Network/Curl/Info.o dist/build/Network/Curl/Opts.o dist/build/Network/Curl/Post.o dist/build/Network/Curl/Types.o dist/build/Network/Curl/Easy.o dist/build/Network/Curl/Debug.o dist/build/Network/Curl/Types_stub.o dist/build/Network/Curl/Easy_stub.o /usr/bin/ar: creating dist/build/libHScurl-1.3.2.a /usr/bin/ld -x -r -o dist/build/HScurl-1.3.2.o.tmp dist/build/Network/Curl.o dist/build/Network/Curl/Code.o dist/build/Network/Curl/Info.o dist/build/Network/Curl/Opts.o dist/build/Network/Curl/Post.o dist/build/Network/Curl/Types.o dist/build/Network/Curl/Easy.o dist/build/Network/Curl/Debug.o dist/build/Network/Curl/Types_stub.o dist/build/Network/Curl/Easy_stub.o *** setup haddock Reading parameters from ./curl.buildinfo Creating dist/doc/html/curl (and its parents) Preprocessing library curl-1.3.2... Running hscolour for curl-1.3.2... Creating dist/doc/html/curl/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/curl/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl.html Network/Curl.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Code.html Network/Curl/Code.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Info.html Network/Curl/Info.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Opts.html Network/Curl/Opts.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Post.html Network/Curl/Post.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Types.html Network/Curl/Types.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Easy.html Network/Curl/Easy.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Debug.html Network/Curl/Debug.hs Creating dist/build/tmp (and its parents) Creating dist/doc/html/curl (and its parents) Preprocessing library curl-1.3.2... Running Haddock for curl-1.3.2... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 --ghc-version /usr/local/bin/ghc --print-libdir Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library curl-1.3.2... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 --html --odir=dist/doc/html/curl --title=curl-1.3.2: Haskell binding to libcurl --dump-interface=dist/doc/html/curl/curl.haddock --prologue=dist/curl-1.3.2-haddock-prolog9262.txt --optghc=-package-name --optghc=curl-1.3.2 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --read-interface=http://hackage.haskell.org/packages/archive/array/0.2.0.0/doc/html,/usr/local/share/doc/ghc/libraries/array/array.haddock --read-interface=http://hackage.haskell.org/packages/archive/base/4.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/containers/0.2.0.1/doc/html,/usr/local/share/doc/ghc/libraries/containers/containers.haddock --read-interface=http://hackage.haskell.org/packages/archive/ghc-prim/0.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/ghc-prim/ghc-prim.haddock --read-interface=http://hackage.haskell.org/packages/archive/integer/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/integer/integer.haddock --read-interface=http://hackage.haskell.org/packages/archive/syb/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/syb/syb.haddock -B/usr/local/lib/ghc-6.10.2/. --optghc=-hide-all-packages --optghc=-package --optghc=base-4.1.0.0 --optghc=-package --optghc=containers-0.2.0.1 --optghc=-i --optghc=-Wall --optghc=-fvia-C --optghc=-i. --optghc=-idist/build/autogen --optghc=-idist/build --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-XCPP --optghc=-XForeignFunctionInterface Network.Curl Network.Curl.Code Network.Curl.Info Network.Curl.Opts Network.Curl.Post Network.Curl.Types Network.Curl.Easy Network.Curl.Debug Network/Curl/Code.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Info.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Post.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Types.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Easy.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Opts.hs:233:15: parse error on input `-- ^ pointer to external buffer holding data' *** Trying again with preferred-versions *** setup configure Configuring curl-1.3.2... Flags chosen: new-base=True Dependency base >=3 && -any && <4: using base-3.0.3.1 Dependency containers -any: using containers-0.2.0.1 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/curl-1.3.2/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/curl-1.3.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/curl-1.3.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 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 sh configure --with-compiler=ghc --prefix=/usr/local/tmp/archive/install checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E configure: creating ./config.status config.status: creating curl.buildinfo *** setup build Reading parameters from ./curl.buildinfo Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library curl-1.3.2... Building curl-1.3.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name curl-1.3.2 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.3.1 -package containers-0.2.0.1 -O -Wall -fvia-C -XCPP -XForeignFunctionInterface Network.Curl Network.Curl.Code Network.Curl.Info Network.Curl.Opts Network.Curl.Post Network.Curl.Types Network.Curl.Easy Network.Curl.Debug Network/Curl/Code.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Info.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Post.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Types.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Easy.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead [1 of 8] Compiling Network.Curl.Debug ( Network/Curl/Debug.hs, dist/build/Network/Curl/Debug.o ) [2 of 8] Compiling Network.Curl.Types ( Network/Curl/Types.hs, dist/build/Network/Curl/Types.o ) [3 of 8] Compiling Network.Curl.Post ( Network/Curl/Post.hs, dist/build/Network/Curl/Post.o ) [4 of 8] Compiling Network.Curl.Opts ( Network/Curl/Opts.hs, dist/build/Network/Curl/Opts.o ) [5 of 8] Compiling Network.Curl.Code ( Network/Curl/Code.hs, dist/build/Network/Curl/Code.o ) [6 of 8] Compiling Network.Curl.Info ( Network/Curl/Info.hs, dist/build/Network/Curl/Info.o ) [7 of 8] Compiling Network.Curl.Easy ( Network/Curl/Easy.hs, dist/build/Network/Curl/Easy.o ) [8 of 8] Compiling Network.Curl ( Network/Curl.hs, dist/build/Network/Curl.o ) Network/Curl.hs:289:0: Unrecognised pragma Linking... /usr/bin/ar q dist/build/libHScurl-1.3.2.a dist/build/Network/Curl.o dist/build/Network/Curl/Code.o dist/build/Network/Curl/Info.o dist/build/Network/Curl/Opts.o dist/build/Network/Curl/Post.o dist/build/Network/Curl/Types.o dist/build/Network/Curl/Easy.o dist/build/Network/Curl/Debug.o dist/build/Network/Curl/Types_stub.o dist/build/Network/Curl/Easy_stub.o /usr/bin/ar: creating dist/build/libHScurl-1.3.2.a /usr/bin/ld -x -r -o dist/build/HScurl-1.3.2.o.tmp dist/build/Network/Curl.o dist/build/Network/Curl/Code.o dist/build/Network/Curl/Info.o dist/build/Network/Curl/Opts.o dist/build/Network/Curl/Post.o dist/build/Network/Curl/Types.o dist/build/Network/Curl/Easy.o dist/build/Network/Curl/Debug.o dist/build/Network/Curl/Types_stub.o dist/build/Network/Curl/Easy_stub.o *** setup haddock Reading parameters from ./curl.buildinfo Creating dist/doc/html/curl (and its parents) Preprocessing library curl-1.3.2... Running hscolour for curl-1.3.2... Creating dist/doc/html/curl/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/curl/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl.html Network/Curl.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Code.html Network/Curl/Code.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Info.html Network/Curl/Info.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Opts.html Network/Curl/Opts.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Post.html Network/Curl/Post.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Types.html Network/Curl/Types.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Easy.html Network/Curl/Easy.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Debug.html Network/Curl/Debug.hs Creating dist/build/tmp (and its parents) Creating dist/doc/html/curl (and its parents) Preprocessing library curl-1.3.2... Running Haddock for curl-1.3.2... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 --ghc-version /usr/local/bin/ghc --print-libdir Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library curl-1.3.2... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 --html --odir=dist/doc/html/curl --title=curl-1.3.2: Haskell binding to libcurl --dump-interface=dist/doc/html/curl/curl.haddock --prologue=dist/curl-1.3.2-haddock-prolog9931.txt --optghc=-package-name --optghc=curl-1.3.2 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --read-interface=http://hackage.haskell.org/packages/archive/array/0.2.0.0/doc/html,/usr/local/share/doc/ghc/libraries/array/array.haddock --read-interface=http://hackage.haskell.org/packages/archive/base/3.0.3.1/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/base/4.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/containers/0.2.0.1/doc/html,/usr/local/share/doc/ghc/libraries/containers/containers.haddock --read-interface=http://hackage.haskell.org/packages/archive/ghc-prim/0.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/ghc-prim/ghc-prim.haddock --read-interface=http://hackage.haskell.org/packages/archive/integer/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/integer/integer.haddock --read-interface=http://hackage.haskell.org/packages/archive/syb/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/syb/syb.haddock -B/usr/local/lib/ghc-6.10.2/. --optghc=-hide-all-packages --optghc=-package --optghc=base-3.0.3.1 --optghc=-package --optghc=containers-0.2.0.1 --optghc=-i --optghc=-Wall --optghc=-fvia-C --optghc=-i. --optghc=-idist/build/autogen --optghc=-idist/build --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-XCPP --optghc=-XForeignFunctionInterface Network.Curl Network.Curl.Code Network.Curl.Info Network.Curl.Opts Network.Curl.Post Network.Curl.Types Network.Curl.Easy Network.Curl.Debug Network/Curl/Code.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Info.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Post.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Types.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Easy.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead Network/Curl/Opts.hs:233:15: parse error on input `-- ^ pointer to external buffer holding data'