*** setup configure Configuring fallingblocks-0.1.4... Dependency SDL ==0.5.4: using SDL-0.5.4 Dependency SDL-mixer >=0.5.5: using SDL-mixer-0.5.5 Dependency SDL-ttf -any: using SDL-ttf-0.5.5 Dependency base -any: using base-4.1.0.0 Dependency containers -any: using containers-0.2.0.1 Dependency haskell98 -any: using haskell98-1.0.1.0 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package fallingblocks-0.1.4 requires SDL-0.5.4 package SDL-ttf-0.5.5 requires SDL-0.5.5 package SDL-mixer-0.5.5 requires SDL-0.5.5 Using Cabal-1.7.0 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/fallingblocks-0.1.4/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/fallingblocks-0.1.4 Documentation installed in: /usr/local/tmp/archive/install/share/doc/fallingblocks-0.1.4 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.16.0 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 Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard 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 lhc found 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 /usr/bin/gcc /tmp/20242.c -o /tmp/20242 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/process-1.0.1.1/include -I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include -I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include -I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include -I/usr/local/tmp/archive/install/lib/SDL-mixer-0.5.5/ghc-6.10.2/include -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 *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for fallingblocks-0.1.4... Building fallingblocks-0.1.4... Building executable: fallingblocks... Creating dist/build/fallingblocks (and its parents) Creating dist/build/fallingblocks/fallingblocks-tmp (and its parents) /usr/local/bin/ghc -o dist/build/fallingblocks/fallingblocks --make -hide-all-packages -i -idist/build/fallingblocks/fallingblocks-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/fallingblocks/fallingblocks-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/fallingblocks/fallingblocks-tmp -hidir dist/build/fallingblocks/fallingblocks-tmp -stubdir dist/build/fallingblocks/fallingblocks-tmp -package SDL-0.5.4 -package SDL-mixer-0.5.5 -package SDL-ttf-0.5.5 -package base-4.1.0.0 -package containers-0.2.0.1 -package haskell98-1.0.1.0 -O src/main.hs [ 8 of 10] Compiling GameController ( src/GameController.hs, dist/build/fallingblocks/fallingblocks-tmp/GameController.o ) src/GameController.hs:46:62: Couldn't match expected type `SDL-0.5.5:Graphics.UI.SDL.Color.Color' against inferred type `SDL.Color' In the third argument of `renderTextSolid', namely `(Color 255 0 0)' In a stmt of a 'do' expression: title <- renderTextSolid (titlefont gri) "FALLING BLOCKS!" (Color 255 0 0) In the expression: do let gri = grInfo gs g = game gs .... worked <- fillRect s Nothing (Pixel 0) title <- renderTextSolid (titlefont gri) "FALLING BLOCKS!" (Color 255 0 0) blitSurface title Nothing s (Just (Rect 10 10 200 0)) .... src/GameController.hs:86:44: Couldn't match expected type `SDL-0.5.5:Graphics.UI.SDL.Color.Color' against inferred type `SDL.Color' In the third argument of `renderTextSolid', namely `(Color 255 0 0)' In a stmt of a 'do' expression: screenMessage <- renderTextSolid fnt msg (Color 255 0 0) In the expression: do screenMessage <- renderTextSolid fnt msg (Color 255 0 0) blitSurface screenMessage Nothing s (Just (Rect x y 200 0)) *** Trying again with preferred-versions *** setup configure Configuring fallingblocks-0.1.4... Dependency SDL ==0.5.4: using SDL-0.5.4 Dependency SDL-mixer >=0.5.5: using SDL-mixer-0.5.5 Dependency SDL-ttf -any: using SDL-ttf-0.5.5 Dependency base -any && <4: using base-3.0.3.1 Dependency containers -any: using containers-0.2.0.1 Dependency haskell98 -any: using haskell98-1.0.1.0 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package fallingblocks-0.1.4 requires SDL-0.5.4 package SDL-ttf-0.5.5 requires SDL-0.5.5 package SDL-mixer-0.5.5 requires SDL-0.5.5 Using Cabal-1.7.0 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/fallingblocks-0.1.4/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/fallingblocks-0.1.4 Documentation installed in: /usr/local/tmp/archive/install/share/doc/fallingblocks-0.1.4 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.16.0 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 Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard 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 lhc found 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 /usr/bin/gcc /tmp/20285.c -o /tmp/20285 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/process-1.0.1.1/include -I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include -I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include -I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include -I/usr/local/tmp/archive/install/lib/SDL-mixer-0.5.5/ghc-6.10.2/include -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 *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for fallingblocks-0.1.4... Building fallingblocks-0.1.4... Building executable: fallingblocks... Creating dist/build/fallingblocks (and its parents) Creating dist/build/fallingblocks/fallingblocks-tmp (and its parents) /usr/local/bin/ghc -o dist/build/fallingblocks/fallingblocks --make -hide-all-packages -i -idist/build/fallingblocks/fallingblocks-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/fallingblocks/fallingblocks-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/fallingblocks/fallingblocks-tmp -hidir dist/build/fallingblocks/fallingblocks-tmp -stubdir dist/build/fallingblocks/fallingblocks-tmp -package SDL-0.5.4 -package SDL-mixer-0.5.5 -package SDL-ttf-0.5.5 -package base-3.0.3.1 -package containers-0.2.0.1 -package haskell98-1.0.1.0 -O src/main.hs [ 8 of 10] Compiling GameController ( src/GameController.hs, dist/build/fallingblocks/fallingblocks-tmp/GameController.o ) src/GameController.hs:46:62: Couldn't match expected type `SDL-0.5.5:Graphics.UI.SDL.Color.Color' against inferred type `SDL.Color' In the third argument of `renderTextSolid', namely `(Color 255 0 0)' In a stmt of a 'do' expression: title <- renderTextSolid (titlefont gri) "FALLING BLOCKS!" (Color 255 0 0) In the expression: do let gri = grInfo gs g = game gs .... worked <- fillRect s Nothing (Pixel 0) title <- renderTextSolid (titlefont gri) "FALLING BLOCKS!" (Color 255 0 0) blitSurface title Nothing s (Just (Rect 10 10 200 0)) .... src/GameController.hs:86:44: Couldn't match expected type `SDL-0.5.5:Graphics.UI.SDL.Color.Color' against inferred type `SDL.Color' In the third argument of `renderTextSolid', namely `(Color 255 0 0)' In a stmt of a 'do' expression: screenMessage <- renderTextSolid fnt msg (Color 255 0 0) In the expression: do screenMessage <- renderTextSolid fnt msg (Color 255 0 0) blitSurface screenMessage Nothing s (Just (Rect x y 200 0))