Resolving dependencies... Configuring OpenGL-2.2.3.1... configure: WARNING: unrecognized options: --with-gcc checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for Windows environment... no checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for atan... no checking for atan in -lm... yes checking for GL library... -lGL -lm checking for GLU library... -lGLU -lGL -lm checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking OpenGL/gl.h usability... no checking OpenGL/gl.h presence... no checking for OpenGL/gl.h... no checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking OpenGL/glu.h usability... no checking OpenGL/glu.h presence... no checking for OpenGL/glu.h... no checking Haskell type for GLboolean... Word8 checking Haskell type for GLbyte... Int8 checking Haskell type for GLubyte... Word8 checking Haskell type for GLshort... Int16 checking Haskell type for GLushort... Word16 checking Haskell type for GLint... Int32 checking Haskell type for GLuint... Word32 checking Haskell type for GLsizei... Int32 checking Haskell type for GLenum... Word32 checking Haskell type for GLbitfield... Word32 checking Haskell type for GLfloat... Float checking Haskell type for GLclampf... Float checking Haskell type for GLdouble... Double checking Haskell type for GLclampd... Double checking Haskell type for char... Int8 checking Haskell type for GLchar... Int8 checking Haskell type for ptrdiff_t... Int64 checking Haskell type for GLintptr... Int64 checking Haskell type for GLsizeiptr... Int64 configure: creating ./config.status config.status: creating OpenGL.buildinfo config.status: creating include/HsOpenGLConfig.h config.status: creating include/HsOpenGL.h configure: WARNING: unrecognized options: --with-gcc Building OpenGL-2.2.3.1... Preprocessing library OpenGL-2.2.3.1... [ 1 of 86] Compiling Graphics.Rendering.OpenGL.GL.FlushFinish ( Graphics/Rendering/OpenGL/GL/FlushFinish.hs, dist/build/Graphics/Rendering/OpenGL/GL/FlushFinish.o ) [ 2 of 86] Compiling Graphics.Rendering.OpenGL.GL.IOState ( Graphics/Rendering/OpenGL/GL/IOState.hs, dist/build/Graphics/Rendering/OpenGL/GL/IOState.o ) Graphics/Rendering/OpenGL/GL/IOState.hs:31:10: Warning: ‘IOState’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal. [ 3 of 86] Compiling Graphics.Rendering.OpenGL.GL.PeekPoke ( Graphics/Rendering/OpenGL/GL/PeekPoke.hs, dist/build/Graphics/Rendering/OpenGL/GL/PeekPoke.o ) [ 4 of 86] Compiling Graphics.Rendering.OpenGL.GL.Tensor ( Graphics/Rendering/OpenGL/GL/Tensor.hs, dist/build/Graphics/Rendering/OpenGL/GL/Tensor.o ) Graphics/Rendering/OpenGL/GL/Tensor.hs:27:18: Module ‘Data.Typeable’ does not export ‘mkTyCon’ Graphics/Rendering/OpenGL/GL/Tensor.hs:27:54: Module ‘Data.Typeable’ does not export ‘typeOfDefault’ Failed to install OpenGL-2.2.3.1 Configuring transformers-0.4.3.0... Building transformers-0.4.3.0... Preprocessing library transformers-0.4.3.0... [ 1 of 28] Compiling Data.Functor.Identity ( oldsrc/Data/Functor/Identity.hs, dist/build/Data/Functor/Identity.o ) [ 2 of 28] Compiling Control.Monad.Trans.Class ( Control/Monad/Trans/Class.hs, dist/build/Control/Monad/Trans/Class.o ) [ 3 of 28] Compiling Control.Monad.Signatures ( Control/Monad/Signatures.hs, dist/build/Control/Monad/Signatures.o ) [ 4 of 28] Compiling Control.Monad.IO.Class ( Control/Monad/IO/Class.hs, dist/build/Control/Monad/IO/Class.o ) [ 5 of 28] Compiling Control.Monad.Trans.Cont ( Control/Monad/Trans/Cont.hs, dist/build/Control/Monad/Trans/Cont.o ) [ 6 of 28] Compiling Control.Monad.Trans.Reader ( Control/Monad/Trans/Reader.hs, dist/build/Control/Monad/Trans/Reader.o ) [ 7 of 28] Compiling Control.Monad.Trans.RWS.Lazy ( Control/Monad/Trans/RWS/Lazy.hs, dist/build/Control/Monad/Trans/RWS/Lazy.o ) [ 8 of 28] Compiling Control.Monad.Trans.RWS ( Control/Monad/Trans/RWS.hs, dist/build/Control/Monad/Trans/RWS.o ) [ 9 of 28] Compiling Control.Monad.Trans.RWS.Strict ( Control/Monad/Trans/RWS/Strict.hs, dist/build/Control/Monad/Trans/RWS/Strict.o ) [10 of 28] Compiling Control.Monad.Trans.State.Lazy ( Control/Monad/Trans/State/Lazy.hs, dist/build/Control/Monad/Trans/State/Lazy.o ) [11 of 28] Compiling Control.Monad.Trans.State ( Control/Monad/Trans/State.hs, dist/build/Control/Monad/Trans/State.o ) [12 of 28] Compiling Control.Monad.Trans.State.Strict ( Control/Monad/Trans/State/Strict.hs, dist/build/Control/Monad/Trans/State/Strict.o ) [13 of 28] Compiling Data.Functor.Classes ( Data/Functor/Classes.hs, dist/build/Data/Functor/Classes.o ) [14 of 28] Compiling Data.Functor.Constant ( Data/Functor/Constant.hs, dist/build/Data/Functor/Constant.o ) [15 of 28] Compiling Control.Applicative.Lift ( Control/Applicative/Lift.hs, dist/build/Control/Applicative/Lift.o ) [16 of 28] Compiling Control.Monad.Trans.Except ( Control/Monad/Trans/Except.hs, dist/build/Control/Monad/Trans/Except.o ) [17 of 28] Compiling Control.Monad.Trans.Error ( Control/Monad/Trans/Error.hs, dist/build/Control/Monad/Trans/Error.o ) [18 of 28] Compiling Control.Monad.Trans.Identity ( Control/Monad/Trans/Identity.hs, dist/build/Control/Monad/Trans/Identity.o ) [19 of 28] Compiling Control.Monad.Trans.List ( Control/Monad/Trans/List.hs, dist/build/Control/Monad/Trans/List.o ) [20 of 28] Compiling Control.Monad.Trans.Maybe ( Control/Monad/Trans/Maybe.hs, dist/build/Control/Monad/Trans/Maybe.o ) [21 of 28] Compiling Control.Monad.Trans.Writer.Lazy ( Control/Monad/Trans/Writer/Lazy.hs, dist/build/Control/Monad/Trans/Writer/Lazy.o ) [22 of 28] Compiling Control.Monad.Trans.Writer ( Control/Monad/Trans/Writer.hs, dist/build/Control/Monad/Trans/Writer.o ) [23 of 28] Compiling Control.Monad.Trans.Writer.Strict ( Control/Monad/Trans/Writer/Strict.hs, dist/build/Control/Monad/Trans/Writer/Strict.o ) [24 of 28] Compiling Data.Functor.Compose ( Data/Functor/Compose.hs, dist/build/Data/Functor/Compose.o ) [25 of 28] Compiling Data.Functor.Product ( Data/Functor/Product.hs, dist/build/Data/Functor/Product.o ) [26 of 28] Compiling Data.Functor.Sum ( Data/Functor/Sum.hs, dist/build/Data/Functor/Sum.o ) [27 of 28] Compiling Control.Applicative.Backwards ( Control/Applicative/Backwards.hs, dist/build/Control/Applicative/Backwards.o ) [28 of 28] Compiling Data.Functor.Reverse ( Data/Functor/Reverse.hs, dist/build/Data/Functor/Reverse.o ) In-place registering transformers-0.4.3.0... Running Haddock for transformers-0.4.3.0... Running hscolour for transformers-0.4.3.0... Preprocessing library transformers-0.4.3.0... Preprocessing library transformers-0.4.3.0... Haddock coverage: 100% ( 2 / 2) in 'Data.Functor.Identity' 100% ( 14 / 14) in 'Control.Monad.Trans.Class' 100% ( 5 / 5) in 'Control.Monad.Signatures' 100% ( 2 / 2) in 'Control.Monad.IO.Class' 100% ( 22 / 22) in 'Control.Monad.Trans.Cont' 100% ( 18 / 18) in 'Control.Monad.Trans.Reader' 100% ( 37 / 37) in 'Control.Monad.Trans.RWS.Lazy' 100% ( 2 / 2) in 'Control.Monad.Trans.RWS' 100% ( 37 / 37) in 'Control.Monad.Trans.RWS.Strict' 100% ( 34 / 34) in 'Control.Monad.Trans.State.Lazy' 100% ( 2 / 2) in 'Control.Monad.Trans.State' 100% ( 34 / 34) in 'Control.Monad.Trans.State.Strict' 100% ( 15 / 15) in 'Data.Functor.Classes' 100% ( 2 / 2) in 'Data.Functor.Constant' 100% ( 9 / 9) in 'Control.Applicative.Lift' 100% ( 19 / 19) in 'Control.Monad.Trans.Except' 100% ( 15 / 15) in 'Control.Monad.Trans.Error' 100% ( 7 / 7) in 'Control.Monad.Trans.Identity' 100% ( 7 / 7) in 'Control.Monad.Trans.List' 100% ( 12 / 12) in 'Control.Monad.Trans.Maybe' 100% ( 20 / 20) in 'Control.Monad.Trans.Writer.Lazy' 100% ( 2 / 2) in 'Control.Monad.Trans.Writer' 100% ( 20 / 20) in 'Control.Monad.Trans.Writer.Strict' 100% ( 2 / 2) in 'Data.Functor.Compose' 100% ( 2 / 2) in 'Data.Functor.Product' 100% ( 2 / 2) in 'Data.Functor.Sum' 100% ( 2 / 2) in 'Control.Applicative.Backwards' 100% ( 2 / 2) in 'Data.Functor.Reverse' Documentation created: dist/doc/html/transformers/index.html, dist/doc/html/transformers/transformers.txt Creating package registration file: /tmp/pkgConf-transformers-0.4.321615.0 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/transformers-0.4.3.0 Registering transformers-0.4.3.0... Installed transformers-0.4.3.0 Configuring mtl-2.2.1... Building mtl-2.2.1... Preprocessing library mtl-2.2.1... [ 1 of 22] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o ) [ 2 of 22] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o ) [ 3 of 22] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o ) [ 4 of 22] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o ) [ 5 of 22] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o ) [ 6 of 22] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o ) [ 7 of 22] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o ) [ 8 of 22] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o ) [ 9 of 22] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o ) [10 of 22] Compiling Control.Monad.Except ( Control/Monad/Except.hs, dist/build/Control/Monad/Except.o ) [11 of 22] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o ) [12 of 22] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o ) [13 of 22] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o ) [14 of 22] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o ) [15 of 22] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o ) [16 of 22] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o ) [17 of 22] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o ) [18 of 22] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o ) [19 of 22] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o ) [20 of 22] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o ) [21 of 22] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o ) [22 of 22] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o ) In-place registering mtl-2.2.1... Running Haddock for mtl-2.2.1... Running hscolour for mtl-2.2.1... Preprocessing library mtl-2.2.1... Preprocessing library mtl-2.2.1... Haddock coverage: 75% ( 3 / 4) in 'Control.Monad.Writer.Class' 100% ( 5 / 5) in 'Control.Monad.State.Class' 100% ( 3 / 3) in 'Control.Monad.Reader.Class' 80% ( 4 / 5) in 'Control.Monad.RWS.Class' 100% ( 4 / 4) in 'Control.Monad.Identity' 100% ( 3 / 3) in 'Control.Monad.Error.Class' 50% ( 1 / 2) in 'Control.Monad.Cont.Class' 100% ( 3 / 3) in 'Control.Monad.Trans' 93% ( 14 / 15) in 'Control.Monad.Error' 100% ( 19 / 19) in 'Control.Monad.Except' 100% ( 5 / 5) in 'Control.Monad.List' 95% ( 21 / 22) in 'Control.Monad.RWS.Lazy' 100% ( 2 / 2) in 'Control.Monad.RWS' 96% ( 22 / 23) in 'Control.Monad.Reader' 95% ( 21 / 22) in 'Control.Monad.RWS.Strict' 96% ( 24 / 25) in 'Control.Monad.State.Lazy' 100% ( 2 / 2) in 'Control.Monad.State' 96% ( 24 / 25) in 'Control.Monad.State.Strict' 89% ( 17 / 19) in 'Control.Monad.Writer.Lazy' 100% ( 2 / 2) in 'Control.Monad.Writer' 94% ( 17 / 18) in 'Control.Monad.Writer.Strict' 91% ( 20 / 22) in 'Control.Monad.Cont' Documentation created: dist/doc/html/mtl/index.html, dist/doc/html/mtl/mtl.txt Creating package registration file: /tmp/pkgConf-mtl-2.221615.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/mtl-2.2.1 Registering mtl-2.2.1... Installed mtl-2.2.1 Configuring SG-1.0... Building SG-1.0... Preprocessing library SG-1.0... [1 of 8] Compiling Data.SG.Vector ( Data/SG/Vector.hs, dist/build/Data/SG/Vector.o ) [2 of 8] Compiling Data.SG.Vector.Basic ( Data/SG/Vector/Basic.hs, dist/build/Data/SG/Vector/Basic.o ) [3 of 8] Compiling Data.SG.Geometry ( Data/SG/Geometry.hs, dist/build/Data/SG/Geometry.o ) Data/SG/Geometry.hs:64:13: Could not deduce (Show a) arising from a use of ‘+’ from the context (Num a) bound by the type signature for plusDir :: Num a => Pair a -> Pair a -> Pair a at Data/SG/Geometry.hs:64:3-9 Possible fix: add (Show a) to the context of the type signature for plusDir :: Num a => Pair a -> Pair a -> Pair a In the expression: (+) In an equation for ‘plusDir’: plusDir = (+) In the instance declaration for ‘Geometry Pair Pair LinePair’ Data/SG/Geometry.hs:65:12: Could not deduce (Show a) arising from a use of ‘-’ from the context (Num a) bound by the type signature for fromPt :: Num a => Pair a -> Pair a -> Pair a at Data/SG/Geometry.hs:65:3-8 Possible fix: add (Show a) to the context of the type signature for fromPt :: Num a => Pair a -> Pair a -> Pair a In the expression: (-) In an equation for ‘fromPt’: fromPt = (-) In the instance declaration for ‘Geometry Pair Pair LinePair’ Data/SG/Geometry.hs:70:13: Could not deduce (Show a) arising from a use of ‘+’ from the context (Num a) bound by the type signature for plusDir :: Num a => Triple a -> Triple a -> Triple a at Data/SG/Geometry.hs:70:3-9 Possible fix: add (Show a) to the context of the type signature for plusDir :: Num a => Triple a -> Triple a -> Triple a In the expression: (+) In an equation for ‘plusDir’: plusDir = (+) In the instance declaration for ‘Geometry Triple Triple LineTriple’ Data/SG/Geometry.hs:71:12: Could not deduce (Show a) arising from a use of ‘-’ from the context (Num a) bound by the type signature for fromPt :: Num a => Triple a -> Triple a -> Triple a at Data/SG/Geometry.hs:71:3-8 Possible fix: add (Show a) to the context of the type signature for fromPt :: Num a => Triple a -> Triple a -> Triple a In the expression: (-) In an equation for ‘fromPt’: fromPt = (-) In the instance declaration for ‘Geometry Triple Triple LineTriple’ Data/SG/Geometry.hs:164:8: Could not deduce (Eq a) arising from a use of ‘==’ from the context (Geometry rel pt ln, Coord2 rel, Coord2 pt, Fractional a) bound by the type signature for valueAtX :: (Geometry rel pt ln, Coord2 rel, Coord2 pt, Fractional a) => ln a -> a -> Maybe a at Data/SG/Geometry.hs:(161,13)-(162,25) Possible fix: add (Eq a) to the context of the type signature for valueAtX :: (Geometry rel pt ln, Coord2 rel, Coord2 pt, Fractional a) => ln a -> a -> Maybe a In the expression: xd == 0 In a stmt of a pattern guard for an equation for ‘valueAtX’: xd == 0 In an equation for ‘valueAtX’: valueAtX l tgt | xd == 0 = Nothing | otherwise = let t = (tgt - x) / xd in Just t where x = getX $ getLineStart l xd = getX $ getLineDir l Data/SG/Geometry.hs:177:8: Could not deduce (Eq a) arising from a use of ‘==’ from the context (Geometry rel pt ln, Coord2 rel, Coord2 pt, Fractional a) bound by the type signature for valueAtY :: (Geometry rel pt ln, Coord2 rel, Coord2 pt, Fractional a) => ln a -> a -> Maybe a at Data/SG/Geometry.hs:(174,13)-(175,25) Possible fix: add (Eq a) to the context of the type signature for valueAtY :: (Geometry rel pt ln, Coord2 rel, Coord2 pt, Fractional a) => ln a -> a -> Maybe a In the expression: yd == 0 In a stmt of a pattern guard for an equation for ‘valueAtY’: yd == 0 In an equation for ‘valueAtY’: valueAtY l tgt | yd == 0 = Nothing | otherwise = let t = (tgt - y) / yd in Just t where y = getY $ getLineStart l yd = getY $ getLineDir l Data/SG/Geometry.hs:190:8: Could not deduce (Eq a) arising from a use of ‘==’ from the context (Geometry rel pt ln, Coord3 rel, Coord3 pt, Fractional a) bound by the type signature for valueAtZ :: (Geometry rel pt ln, Coord3 rel, Coord3 pt, Fractional a) => ln a -> a -> Maybe a at Data/SG/Geometry.hs:(187,13)-(188,25) Possible fix: add (Eq a) to the context of the type signature for valueAtZ :: (Geometry rel pt ln, Coord3 rel, Coord3 pt, Fractional a) => ln a -> a -> Maybe a In the expression: zd == 0 In a stmt of a pattern guard for an equation for ‘valueAtZ’: zd == 0 In an equation for ‘valueAtZ’: valueAtZ l tgt | zd == 0 = Nothing | otherwise = let t = (tgt - z) / zd in Just t where z = getZ $ getLineStart l zd = getZ $ getLineDir l Failed to install SG-1.0 cabal: Error: some packages failed to install: GLUT-2.1.2.2 depends on OpenGL-2.2.3.1 which failed to install. OpenGL-2.2.3.1 failed during the building phase. The exception was: ExitFailure 1 SG-1.0 failed during the building phase. The exception was: ExitFailure 1 SGdemo-1.0.1 depends on SG-1.0 which failed to install.