*** setup configure 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/SDL-0.5.0 --verbose Warning: defaultUserHooks in Setup script is deprecated. Configuring SDL-0.5.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency base-any: using base-3.0.1.0 Using compiler: ghc-6.8.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-0.5.0/ghc-6.8.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/SDL-0.5.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/SDL-0.5.0 Using alex version 2.0.1 found on system at: /usr/local/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.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.1.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 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 SDL-0.5.0... Creating dist/build/Graphics/UI/SDL (and its parents) /usr/local/bin/hsc2hs --cc=/usr/local/bin/ghc --ld=/usr/local/bin/ghc --cflag=-package --cflag=base-3.0.1.0 --lflag=-optl-lSDL -o dist/build/Graphics/UI/SDL/General.hs Graphics/UI/SDL/General.hsc General.hsc:1:17: error: SDL.h: No such file or directory General.hsc: In function 'main': General.hsc:54:0: error: 'SDL_INIT_TIMER' undeclared (first use in this function) General.hsc:54:0: error: (Each undeclared identifier is reported only once General.hsc:54:0: error: for each function it appears in.) General.hsc:55:0: error: 'SDL_INIT_AUDIO' undeclared (first use in this function) General.hsc:56:0: error: 'SDL_INIT_VIDEO' undeclared (first use in this function) General.hsc:57:0: error: 'SDL_INIT_CDROM' undeclared (first use in this function) General.hsc:58:0: error: 'SDL_INIT_JOYSTICK' undeclared (first use in this function) General.hsc:59:0: error: 'SDL_INIT_NOPARACHUTE' undeclared (first use in this function) General.hsc:60:0: error: 'SDL_INIT_EVENTTHREAD' undeclared (first use in this function) General.hsc:61:0: error: 'SDL_INIT_EVERYTHING' undeclared (first use in this function) compiling dist/build/Graphics/UI/SDL/General_hsc_make.c failed command was: /usr/local/bin/ghc -c -package base-3.0.1.0 dist/build/Graphics/UI/SDL/General_hsc_make.c -o dist/build/Graphics/UI/SDL/General_hsc_make.o