*** setup configure Configuring chalkboard-viewer-0.1... Dependency GLUT -any: using GLUT-2.2.2.0 Dependency OpenGL -any: using OpenGL-2.4.0.1 Dependency array -any: using array-0.3.0.2 Dependency base -any: using base-4.3.0.0 Dependency chalkboard ==0.2: using chalkboard-0.2 Dependency time -any: using time-1.2.0.3 Using Cabal-1.10.0.0 compiled by ghc-7.0 Using compiler: ghc-7.0.1 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/chalkboard-viewer-0.1/ghc-7.0.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/chalkboard-viewer-0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/chalkboard-viewer-0.1 Using alex version 2.3.3 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 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 7.0.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.0.1 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.8.0 found on system at: /usr/local/bin/haddock Using happy version 1.18.6 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.17 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 lhc-pkg found No nhc98 found Using pkg-config version 0.25 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 No uhc found *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library chalkboard-viewer-0.1... Building chalkboard-viewer-0.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name chalkboard-viewer-0.1 -hide-all-packages -fbuilding-cabal-package -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-id GLUT-2.2.2.0-e6d9c6851a2373f72a630f6908791785 -package-id OpenGL-2.4.0.1-f49efc611d734472961e544b1bc4a0ec -package-id array-0.3.0.2-197667a808e421fc275e1d8f73f58618 -package-id base-4.3.0.0-b91367e4fa5bd47d8e75958171ad21b7 -package-id chalkboard-0.2-5348bc6ea5d5796f6eb77222ace33a2c -package-id time-1.2.0.3-909bd312516b9dd0f05eedc27c9307be -O -Wall -XHaskell98 Graphics.Chalkboard.Viewer [1 of 1] Compiling Graphics.Chalkboard.Viewer ( Graphics/Chalkboard/Viewer.hs, dist/build/Graphics/Chalkboard/Viewer.o ) Graphics/Chalkboard/Viewer.hs:100:17: Couldn't match expected type `GLclampf' with actual type `Float' Expected type: Color4 GLclampf Actual type: Color4 CB.UI In the second argument of `($=)', namely `bgColor' In a stmt of a 'do' expression: clearColor $= bgColor Graphics/Chalkboard/Viewer.hs:188:13: No instance for (TexCoordComponent Float) arising from a use of `texCoord' Possible fix: add an instance declaration for (TexCoordComponent Float) In a stmt of a 'do' expression: texCoord (TexCoord2 0 (0 :: Float)) In the second argument of `($)', namely `do { texCoord (TexCoord2 0 (0 :: Float)); vertex (Vertex2 (- wh) (- wh :: Float)); texCoord (TexCoord2 0 (1 :: Float)); vertex (Vertex2 (- wh) (wh :: Float)); .... }' In a stmt of a 'do' expression: renderPrimitive Quads $ do { texCoord (TexCoord2 0 (0 :: Float)); vertex (Vertex2 (- wh) (- wh :: Float)); texCoord (TexCoord2 0 (1 :: Float)); vertex (Vertex2 (- wh) (wh :: Float)); .... } Graphics/Chalkboard/Viewer.hs:189:13: No instance for (VertexComponent Float) arising from a use of `vertex' Possible fix: add an instance declaration for (VertexComponent Float) In a stmt of a 'do' expression: vertex (Vertex2 (- wh) (- wh :: Float)) In the second argument of `($)', namely `do { texCoord (TexCoord2 0 (0 :: Float)); vertex (Vertex2 (- wh) (- wh :: Float)); texCoord (TexCoord2 0 (1 :: Float)); vertex (Vertex2 (- wh) (wh :: Float)); .... }' In a stmt of a 'do' expression: renderPrimitive Quads $ do { texCoord (TexCoord2 0 (0 :: Float)); vertex (Vertex2 (- wh) (- wh :: Float)); texCoord (TexCoord2 0 (1 :: Float)); vertex (Vertex2 (- wh) (wh :: Float)); .... }