*** 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.1 Dependency base -any: using base-4.2.0.2 Dependency chalkboard ==0.2: using chalkboard-0.2 Dependency time -any: using time-1.1.4 Using Cabal-1.8.0.6 compiled by ghc-6.12 Using compiler: ghc-6.12.3 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-6.12.3 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 6.12.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.3 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.8.1 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.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 *** 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-bca2226d667193d1cdfc2ae7b1c32526 -package-id OpenGL-2.4.0.1-d39ba8216c9e8d18c6bc5511fb6cfea6 -package-id array-0.3.0.1-438000c197b51c147f229b54edbf632e -package-id base-4.2.0.2-10bdacb430274706a59728e237e2bfb3 -package-id chalkboard-0.2-1010eb5efb939af51b0ce7567d13aaf6 -package-id time-1.1.4-d9f7b7932dc3a4863006ed6b1d525856 -O -Wall 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:16: Couldn't match expected type `GLclampf' against inferred type `Float' Expected type: Color4 GLclampf Inferred 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:12: No instance for (TexCoordComponent Float) arising from a use of `texCoord' at Graphics/Chalkboard/Viewer.hs:188:12-46 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:12: No instance for (VertexComponent Float) arising from a use of `vertex' at Graphics/Chalkboard/Viewer.hs:189:12-48 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)); .... } *** Trying again with preferred-versions *** 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.1 Dependency base <4: using base-3.0.3.2 Dependency chalkboard ==0.2: using chalkboard-0.2 Dependency time -any: using time-1.1.4 Using Cabal-1.8.0.6 compiled by ghc-6.12 Using compiler: ghc-6.12.3 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-6.12.3 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 6.12.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.3 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.8.1 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.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 *** setup haddock Running Haddock for chalkboard-viewer-0.1... /usr/local/bin/haddock --use-contents=/package/chalkboard-viewer-0.1 --built-in-themes --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library chalkboard-viewer-0.1... Running hscolour for chalkboard-viewer-0.1... Creating dist/doc/html/chalkboard-viewer (and its parents) Creating dist/doc/html/chalkboard-viewer/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/chalkboard-viewer/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/chalkboard-viewer/src/Graphics-Chalkboard-Viewer.html Graphics/Chalkboard/Viewer.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-3.0.3.2, ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir copy Graphics/Chalkboard/Viewer.hs to dist/build/tmp6421/Graphics/Chalkboard/Viewer.hs Creating dist/doc/html/chalkboard-viewer/ (and its parents) /usr/local/bin/haddock --use-contents=/package/chalkboard-viewer-0.1 --built-in-themes --prologue=dist/doc/html/chalkboard-viewer/haddock-prolog6421.txt --dump-interface=dist/doc/html/chalkboard-viewer/chalkboard-viewer.haddock --optghc=-package-name --optghc=chalkboard-viewer-0.1 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/GLURaw/1.1.0.0/doc/html,/usr/local/tmp/archive/install/share/doc/GLURaw-1.1.0.0/html/GLURaw.haddock --read-interface=/packages/archive/GLUT/2.2.2.0/doc/html,/usr/local/tmp/archive/install/share/doc/GLUT-2.2.2.0/html/GLUT.haddock --read-interface=/packages/archive/ObjectName/1.0.0.0/doc/html,/usr/local/tmp/archive/install/share/doc/ObjectName-1.0.0.0/html/ObjectName.haddock --read-interface=/packages/archive/OpenGL/2.4.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/OpenGL-2.4.0.1/html/OpenGL.haddock --read-interface=/packages/archive/OpenGLRaw/1.1.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/OpenGLRaw-1.1.0.1/html/OpenGLRaw.haddock --read-interface=/packages/archive/StateVar/1.0.0.0/doc/html,/usr/local/tmp/archive/install/share/doc/StateVar-1.0.0.0/html/StateVar.haddock --read-interface=/packages/archive/Tensor/1.0.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/Tensor-1.0.0.1/html/Tensor.haddock --read-interface=/packages/archive/array/0.3.0.1/doc/html,/usr/local/share/doc/ghc/html/libraries/array-0.3.0.1/array.haddock --read-interface=/packages/archive/base/4.2.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.2/base.haddock --read-interface=/packages/archive/chalkboard/0.2/doc/html,/usr/local/tmp/archive/install/share/doc/chalkboard-0.2/html/chalkboard.haddock --read-interface=/packages/archive/containers/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/containers-0.3.0.0/containers.haddock --read-interface=/packages/archive/ghc-prim/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/ghc-prim.haddock --read-interface=/packages/archive/integer-gmp/0.2.0.1/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.1/integer-gmp.haddock --read-interface=/packages/archive/old-locale/1.0.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/old-locale-1.0.0.2/old-locale.haddock --read-interface=/packages/archive/syb/0.1.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/syb-0.1.0.2/syb.haddock --read-interface=/packages/archive/time/1.1.4/doc/html,/usr/local/share/doc/ghc/html/libraries/time-1.1.4/time.haddock --odir=dist/doc/html/chalkboard-viewer/ --title=chalkboard-viewer-0.1: OpenGL based viewer for chalkboard rendered images. --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --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=-stubdir --optghc=dist/build --optghc=-package-id --optghc=GLUT-2.2.2.0-bca2226d667193d1cdfc2ae7b1c32526 --optghc=-package-id --optghc=OpenGL-2.4.0.1-d39ba8216c9e8d18c6bc5511fb6cfea6 --optghc=-package-id --optghc=array-0.3.0.1-438000c197b51c147f229b54edbf632e --optghc=-package-id --optghc=base-3.0.3.2-260693a92016991a03206b5a55f6a411 --optghc=-package-id --optghc=chalkboard-0.2-1010eb5efb939af51b0ce7567d13aaf6 --optghc=-package-id --optghc=time-1.1.4-d9f7b7932dc3a4863006ed6b1d525856 --optghc=-O --optghc=-Wall -B/usr/local/lib/ghc-6.12.3 dist/build/tmp6421/Graphics/Chalkboard/Viewer.hs dist/build/tmp6421/Graphics/Chalkboard/Viewer.hs:100:16: Couldn't match expected type `GLclampf' against inferred type `Float' Expected type: Color4 GLclampf Inferred type: Color4 CB.UI In the second argument of `($=)', namely `bgColor' In a stmt of a 'do' expression: clearColor $= bgColor dist/build/tmp6421/Graphics/Chalkboard/Viewer.hs:188:12: No instance for (TexCoordComponent Float) arising from a use of `texCoord' at dist/build/tmp6421/Graphics/Chalkboard/Viewer.hs:188:12-46 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)); .... } dist/build/tmp6421/Graphics/Chalkboard/Viewer.hs:189:12: No instance for (VertexComponent Float) arising from a use of `vertex' at dist/build/tmp6421/Graphics/Chalkboard/Viewer.hs:189:12-48 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)); .... }