*** 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/SDL-ttf-0.4.0 --verbose Warning: defaultUserHooks in Setup script is deprecated. Configuring SDL-ttf-0.4.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency SDL -any: using SDL-0.5.5 Dependency base -any: using base-4.1.0.0 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/SDL-ttf-0.4.0/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/SDL-ttf-0.4.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/SDL-ttf-0.4.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.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 Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library SDL-ttf-0.4.0... Creating dist/build/Graphics/UI/SDL/TTF (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-I. --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/SDL-0.5.5/ghc-6.10.2 --lflag=-lSDL --lflag=-L/usr/lib --lflag=-lSDL --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/Graphics/UI/SDL/TTF/Version.hs Graphics/UI/SDL/TTF/Version.hsc Version.hsc:1:21: error: SDL_ttf.h: No such file or directory Version.hsc: In function 'main': Version.hsc:15: error: 'SDL_version' undeclared (first use in this function) Version.hsc:15: error: (Each undeclared identifier is reported only once Version.hsc:15: error: for each function it appears in.) Version.hsc:17: error: expected specifier-qualifier-list before 'SDL_version' Version.hsc:17: error: expected ';' before ')' token Version.hsc:17: error: expected statement before ')' token Version.hsc:18: error: expected specifier-qualifier-list before 'SDL_version' Version.hsc:18: error: expected ';' before ')' token Version.hsc:18: error: expected statement before ')' token Version.hsc:19: error: expected specifier-qualifier-list before 'SDL_version' Version.hsc:19: error: expected ';' before ')' token Version.hsc:19: error: expected statement before ')' token Version.hsc:23: error: 'TTF_MAJOR_VERSION' undeclared (first use in this function) Version.hsc:24: error: 'TTF_MINOR_VERSION' undeclared (first use in this function) Version.hsc:25: error: 'TTF_PATCHLEVEL' undeclared (first use in this function) compiling dist/build/Graphics/UI/SDL/TTF/Version_hsc_make.c failed command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR -I/usr/local/lib/ghc-6.10.2/hsc2hs-0.67/../include/ dist/build/Graphics/UI/SDL/TTF/Version_hsc_make.c -o dist/build/Graphics/UI/SDL/TTF/Version_hsc_make.o *** 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/SDL-ttf-0.4.0 --constraint=base<4 --constraint=parsec<3 --constraint=HaXml==1.13.* --constraint=QuickCheck<2 --verbose Warning: defaultUserHooks in Setup script is deprecated. Configuring SDL-ttf-0.4.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency SDL -any: using SDL-0.5.5 Dependency base -any && <4: using base-3.0.3.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/SDL-ttf-0.4.0/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/SDL-ttf-0.4.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/SDL-ttf-0.4.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.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 Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library SDL-ttf-0.4.0... Creating dist/build/Graphics/UI/SDL/TTF (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-I. --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/lib/ghc-6.10.2/base-3.0.3.1 --lflag=-L/usr/local/lib/ghc-6.10.2/syb-0.1.0.1 --lflag=-L/usr/local/tmp/archive/install/lib/SDL-0.5.5/ghc-6.10.2 --lflag=-lSDL --lflag=-L/usr/lib --lflag=-lSDL --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/Graphics/UI/SDL/TTF/Version.hs Graphics/UI/SDL/TTF/Version.hsc Version.hsc:1:21: error: SDL_ttf.h: No such file or directory Version.hsc: In function 'main': Version.hsc:15: error: 'SDL_version' undeclared (first use in this function) Version.hsc:15: error: (Each undeclared identifier is reported only once Version.hsc:15: error: for each function it appears in.) Version.hsc:17: error: expected specifier-qualifier-list before 'SDL_version' Version.hsc:17: error: expected ';' before ')' token Version.hsc:17: error: expected statement before ')' token Version.hsc:18: error: expected specifier-qualifier-list before 'SDL_version' Version.hsc:18: error: expected ';' before ')' token Version.hsc:18: error: expected statement before ')' token Version.hsc:19: error: expected specifier-qualifier-list before 'SDL_version' Version.hsc:19: error: expected ';' before ')' token Version.hsc:19: error: expected statement before ')' token Version.hsc:23: error: 'TTF_MAJOR_VERSION' undeclared (first use in this function) Version.hsc:24: error: 'TTF_MINOR_VERSION' undeclared (first use in this function) Version.hsc:25: error: 'TTF_PATCHLEVEL' undeclared (first use in this function) compiling dist/build/Graphics/UI/SDL/TTF/Version_hsc_make.c failed command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR -I/usr/local/lib/ghc-6.10.2/hsc2hs-0.67/../include/ dist/build/Graphics/UI/SDL/TTF/Version_hsc_make.c -o dist/build/Graphics/UI/SDL/TTF/Version_hsc_make.o