*** setup configure Configuring graphics-drawingcombinators-0.1... Dependency OpenGL -any: using OpenGL-2.4.0.1 Dependency SDL -any: using SDL-0.5.9 Dependency SDL-image -any: using SDL-image-0.5.2 Dependency SDL-ttf -any: using SDL-ttf-0.5.5 Dependency base -any: using base-4.2.0.0 Dependency mtl -any: using mtl-1.1.0.2 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.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/graphics-drawingcombinators-0.1/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/graphics-drawingcombinators-0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/graphics-drawingcombinators-0.1 Using alex version 2.3.1 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.3 found on system at: /usr/bin/gcc Using ghc version 6.12.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.1 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.7.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.16 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.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 haddock Running Haddock for graphics-drawingcombinators-0.1... /usr/local/bin/haddock --use-contents=/package/graphics-drawingcombinators-0.1 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library graphics-drawingcombinators-0.1... Running hscolour for graphics-drawingcombinators-0.1... Creating dist/doc/html/graphics-drawingcombinators (and its parents) Creating dist/doc/html/graphics-drawingcombinators/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/graphics-drawingcombinators/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/graphics-drawingcombinators/src/Graphics-DrawingCombinators.html Graphics/DrawingCombinators.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir copy Graphics/DrawingCombinators.hs to dist/build/tmp28588/Graphics/DrawingCombinators.hs Creating dist/doc/html/graphics-drawingcombinators/ (and its parents) /usr/local/bin/haddock --use-contents=/package/graphics-drawingcombinators-0.1 --prologue=dist/doc/html/graphics-drawingcombinators/haddock-prolog28588.txt --dump-interface=dist/doc/html/graphics-drawingcombinators/graphics-drawingcombinators.haddock --optghc=-package-name --optghc=graphics-drawingcombinators-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/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/SDL/0.5.9/doc/html,/usr/local/tmp/archive/install/share/doc/SDL-0.5.9/html/SDL.haddock --read-interface=/packages/archive/SDL-image/0.5.2/doc/html,/usr/local/tmp/archive/install/share/doc/SDL-image-0.5.2/html/SDL-image.haddock --read-interface=/packages/archive/SDL-ttf/0.5.5/doc/html,/usr/local/tmp/archive/install/share/doc/SDL-ttf-0.5.5/html/SDL-ttf.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/base/4.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.0/base.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.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.haddock --read-interface=/packages/archive/mtl/1.1.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.0.2/html/mtl.haddock --odir=dist/doc/html/graphics-drawingcombinators/ --title=graphics-drawingcombinators-0.1: A functional interface to 2D drawing in OpenGL --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=OpenGL-2.4.0.1-287d3690a722567cbfbe052edaf296d0 --optghc=-package-id --optghc=SDL-0.5.9-f177d3ce48af43a15b37f7b10573fec2 --optghc=-package-id --optghc=SDL-image-0.5.2-a4419d7a157906c0db92205d89fd606a --optghc=-package-id --optghc=SDL-ttf-0.5.5-eff78492f0d2a6780af28ea26491d244 --optghc=-package-id --optghc=base-4.2.0.0-c9182baf5cf44f2e72b2298fa160086c --optghc=-package-id --optghc=mtl-1.1.0.2-23ca4de7c573fd4df309067199a40634 --optghc=-O -B/usr/local/lib/ghc-6.12.1 dist/build/tmp28588/Graphics/DrawingCombinators.hs dist/build/tmp28588/Graphics/DrawingCombinators.hs:116:8: No instance for (GL.VertexComponent Double) arising from a use of `GL.vertex' at dist/build/tmp28588/Graphics/DrawingCombinators.hs:116:8-16 Possible fix: add an instance declaration for (GL.VertexComponent Double) In the first argument of `($)', namely `GL.vertex' In the second argument of `($)', namely `GL.vertex $ GL.Vertex2 ax ay' In the second argument of `($)', namely `GL.renderPrimitive GL.Points $ GL.vertex $ GL.Vertex2 ax ay' dist/build/tmp28588/Graphics/DrawingCombinators.hs:150:8: No instance for (GL.MatrixComponent Double) arising from a use of `GL.translate' at dist/build/tmp28588/Graphics/DrawingCombinators.hs:150:8-42 Possible fix: add an instance declaration for (GL.MatrixComponent Double) In a stmt of a 'do' expression: GL.translate (GL.Vector3 byx byy 0) In the second argument of `($)', namely `do { GL.translate (GL.Vector3 byx byy 0); runReaderT (unDrawing d) r }' In the second argument of `($)', namely `GL.preservingMatrix $ do { GL.translate (GL.Vector3 byx byy 0); runReaderT (unDrawing d) r }' dist/build/tmp28588/Graphics/DrawingCombinators.hs:189:4: No instance for (GL.ColorComponent Double) arising from a use of `setColor' at dist/build/tmp28588/Graphics/DrawingCombinators.hs:189:4-20 Possible fix: add an instance declaration for (GL.ColorComponent Double) In a stmt of a 'do' expression: setColor newcolor In the second argument of `($)', namely `do { r <- ask; let trans = colorTrans r newtrans = trans . cf ....; setColor newcolor; local (const (r {colorTrans = newtrans})) $ unDrawing d; .... }' In the expression: Drawing $ do { r <- ask; let trans = colorTrans r newtrans = trans . cf ....; setColor newcolor; local (const (r {colorTrans = newtrans})) $ unDrawing d; .... } dist/build/tmp28588/Graphics/DrawingCombinators.hs:319:8: No instance for (GL.TexCoordComponent Double) arising from a use of `GL.texCoord' at dist/build/tmp28588/Graphics/DrawingCombinators.hs:319:8-18 Possible fix: add an instance declaration for (GL.TexCoordComponent Double) In the first argument of `($)', namely `GL.texCoord' In a stmt of a 'do' expression: GL.texCoord $ GL.TexCoord2 0 (0 :: Double) In the second argument of `($)', namely `do { let (xofs, yofs) = ... (xrat, yrat) = ...; GL.texCoord $ GL.TexCoord2 0 (0 :: Double); GL.vertex $ GL.Vertex2 (- xofs) yofs; GL.texCoord $ GL.TexCoord2 xrat 0; .... }' *** Trying again with preferred-versions *** setup configure Configuring graphics-drawingcombinators-0.1... Dependency OpenGL -any: using OpenGL-2.4.0.1 Dependency SDL -any: using SDL-0.5.9 Dependency SDL-image -any: using SDL-image-0.5.2 Dependency SDL-ttf -any: using SDL-ttf-0.5.5 Dependency base <4: using base-3.0.3.2 Dependency mtl -any: using mtl-1.1.0.2 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.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/graphics-drawingcombinators-0.1/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/graphics-drawingcombinators-0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/graphics-drawingcombinators-0.1 Using alex version 2.3.1 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.3 found on system at: /usr/bin/gcc Using ghc version 6.12.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.1 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.7.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.16 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.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 haddock Running Haddock for graphics-drawingcombinators-0.1... /usr/local/bin/haddock --use-contents=/package/graphics-drawingcombinators-0.1 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library graphics-drawingcombinators-0.1... Running hscolour for graphics-drawingcombinators-0.1... Creating dist/doc/html/graphics-drawingcombinators (and its parents) Creating dist/doc/html/graphics-drawingcombinators/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/graphics-drawingcombinators/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/graphics-drawingcombinators/src/Graphics-DrawingCombinators.html Graphics/DrawingCombinators.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/DrawingCombinators.hs to dist/build/tmp28631/Graphics/DrawingCombinators.hs Creating dist/doc/html/graphics-drawingcombinators/ (and its parents) /usr/local/bin/haddock --use-contents=/package/graphics-drawingcombinators-0.1 --prologue=dist/doc/html/graphics-drawingcombinators/haddock-prolog28631.txt --dump-interface=dist/doc/html/graphics-drawingcombinators/graphics-drawingcombinators.haddock --optghc=-package-name --optghc=graphics-drawingcombinators-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/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/SDL/0.5.9/doc/html,/usr/local/tmp/archive/install/share/doc/SDL-0.5.9/html/SDL.haddock --read-interface=/packages/archive/SDL-image/0.5.2/doc/html,/usr/local/tmp/archive/install/share/doc/SDL-image-0.5.2/html/SDL-image.haddock --read-interface=/packages/archive/SDL-ttf/0.5.5/doc/html,/usr/local/tmp/archive/install/share/doc/SDL-ttf-0.5.5/html/SDL-ttf.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/base/4.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.0/base.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.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.haddock --read-interface=/packages/archive/mtl/1.1.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.0.2/html/mtl.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 --odir=dist/doc/html/graphics-drawingcombinators/ --title=graphics-drawingcombinators-0.1: A functional interface to 2D drawing in OpenGL --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=OpenGL-2.4.0.1-287d3690a722567cbfbe052edaf296d0 --optghc=-package-id --optghc=SDL-0.5.9-f177d3ce48af43a15b37f7b10573fec2 --optghc=-package-id --optghc=SDL-image-0.5.2-a4419d7a157906c0db92205d89fd606a --optghc=-package-id --optghc=SDL-ttf-0.5.5-eff78492f0d2a6780af28ea26491d244 --optghc=-package-id --optghc=base-3.0.3.2-52acef427378232ec569bca0486ee48f --optghc=-package-id --optghc=mtl-1.1.0.2-23ca4de7c573fd4df309067199a40634 --optghc=-O -B/usr/local/lib/ghc-6.12.1 dist/build/tmp28631/Graphics/DrawingCombinators.hs dist/build/tmp28631/Graphics/DrawingCombinators.hs:116:8: No instance for (GL.VertexComponent Double) arising from a use of `GL.vertex' at dist/build/tmp28631/Graphics/DrawingCombinators.hs:116:8-16 Possible fix: add an instance declaration for (GL.VertexComponent Double) In the first argument of `($)', namely `GL.vertex' In the second argument of `($)', namely `GL.vertex $ GL.Vertex2 ax ay' In the second argument of `($)', namely `GL.renderPrimitive GL.Points $ GL.vertex $ GL.Vertex2 ax ay' dist/build/tmp28631/Graphics/DrawingCombinators.hs:150:8: No instance for (GL.MatrixComponent Double) arising from a use of `GL.translate' at dist/build/tmp28631/Graphics/DrawingCombinators.hs:150:8-42 Possible fix: add an instance declaration for (GL.MatrixComponent Double) In a stmt of a 'do' expression: GL.translate (GL.Vector3 byx byy 0) In the second argument of `($)', namely `do { GL.translate (GL.Vector3 byx byy 0); runReaderT (unDrawing d) r }' In the second argument of `($)', namely `GL.preservingMatrix $ do { GL.translate (GL.Vector3 byx byy 0); runReaderT (unDrawing d) r }' dist/build/tmp28631/Graphics/DrawingCombinators.hs:189:4: No instance for (GL.ColorComponent Double) arising from a use of `setColor' at dist/build/tmp28631/Graphics/DrawingCombinators.hs:189:4-20 Possible fix: add an instance declaration for (GL.ColorComponent Double) In a stmt of a 'do' expression: setColor newcolor In the second argument of `($)', namely `do { r <- ask; let trans = colorTrans r newtrans = trans . cf ....; setColor newcolor; local (const (r {colorTrans = newtrans})) $ unDrawing d; .... }' In the expression: Drawing $ do { r <- ask; let trans = colorTrans r newtrans = trans . cf ....; setColor newcolor; local (const (r {colorTrans = newtrans})) $ unDrawing d; .... } dist/build/tmp28631/Graphics/DrawingCombinators.hs:319:8: No instance for (GL.TexCoordComponent Double) arising from a use of `GL.texCoord' at dist/build/tmp28631/Graphics/DrawingCombinators.hs:319:8-18 Possible fix: add an instance declaration for (GL.TexCoordComponent Double) In the first argument of `($)', namely `GL.texCoord' In a stmt of a 'do' expression: GL.texCoord $ GL.TexCoord2 0 (0 :: Double) In the second argument of `($)', namely `do { let (xofs, yofs) = ... (xrat, yrat) = ...; GL.texCoord $ GL.TexCoord2 0 (0 :: Double); GL.vertex $ GL.Vertex2 (- xofs) yofs; GL.texCoord $ GL.TexCoord2 xrat 0; .... }'