*** setup configure Configuring reactive-glut-0.1.7... Dependency GLUT -any: using GLUT-2.2.0.0 Dependency OpenGL -any: using OpenGL-2.3.0.0 Dependency base -any: using base-4.1.0.0 Dependency old-time -any: using old-time-1.0.0.2 Dependency reactive >=0.10.5: using reactive-0.11 Dependency vector-space -any: using vector-space-0.5.7 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/reactive-glut-0.1.7/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/reactive-glut-0.1.7 Documentation installed in: /usr/local/tmp/archive/install/share/doc/reactive-glut-0.1.7 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/7618.c -o /tmp/7618 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/editline-0.2.1.0/include -I/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4/include -I/usr/local/tmp/archive/install/lib/GLUT-2.2.0.0/ghc-6.10.2/include -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/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 library reactive-glut-0.1.7... Building reactive-glut-0.1.7... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name reactive-glut-0.1.7 --make -hide-all-packages -i -idist/build -isrc -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 GLUT-2.2.0.0 -package OpenGL-2.3.0.0 -package base-4.1.0.0 -package old-time-1.0.0.2 -package reactive-0.11 -package vector-space-0.5.7 -O -Wall FRP.Reactive.GLUT.Adapter FRP.Reactive.GLUT.SimpleGL FRP.Reactive.GLUT.UI Test [1 of 4] Compiling FRP.Reactive.GLUT.UI ( src/FRP/Reactive/GLUT/UI.hs, dist/build/FRP/Reactive/GLUT/UI.o ) [2 of 4] Compiling FRP.Reactive.GLUT.SimpleGL ( src/FRP/Reactive/GLUT/SimpleGL.hs, dist/build/FRP/Reactive/GLUT/SimpleGL.o ) [3 of 4] Compiling FRP.Reactive.GLUT.Adapter ( src/FRP/Reactive/GLUT/Adapter.hs, dist/build/FRP/Reactive/GLUT/Adapter.o ) [4 of 4] Compiling Test ( src/Test.hs, dist/build/Test.o ) src/Test.hs:29:18: No instance for (G.MatrixComponent Double) arising from a use of `drawBox' at src/Test.hs:29:18-38 Possible fix: add an instance declaration for (G.MatrixComponent Double) In the first argument of `pure', namely `(drawBox (0 :: Double, 0))' In the first argument of `const', namely `(pure (drawBox (0 :: Double, 0)))' In the expression: const (pure (drawBox (0 :: Double, 0))) src/Test.hs:50:40: No instance for (G.VertexComponent Float) arising from a use of `vertexPF' at src/Test.hs:50:40-47 Possible fix: add an instance declaration for (G.VertexComponent Float) In the first argument of `mapM_', namely `vertexPF' In the second argument of `G.renderPrimitive', namely `(mapM_ vertexPF ps)' In the expression: G.renderPrimitive G.Polygon (mapM_ vertexPF ps) *** Trying again with preferred-versions *** setup configure Configuring reactive-glut-0.1.7... Dependency GLUT -any: using GLUT-2.2.0.0 Dependency OpenGL -any: using OpenGL-2.3.0.0 Dependency base -any && <4: using base-3.0.3.1 Dependency old-time -any: using old-time-1.0.0.2 Dependency reactive >=0.10.5: using reactive-0.11 Dependency vector-space -any: using vector-space-0.5.7 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/reactive-glut-0.1.7/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/reactive-glut-0.1.7 Documentation installed in: /usr/local/tmp/archive/install/share/doc/reactive-glut-0.1.7 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/7669.c -o /tmp/7669 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/editline-0.2.1.0/include -I/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4/include -I/usr/local/tmp/archive/install/lib/GLUT-2.2.0.0/ghc-6.10.2/include -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/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 library reactive-glut-0.1.7... Building reactive-glut-0.1.7... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name reactive-glut-0.1.7 --make -hide-all-packages -i -idist/build -isrc -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 GLUT-2.2.0.0 -package OpenGL-2.3.0.0 -package base-3.0.3.1 -package old-time-1.0.0.2 -package reactive-0.11 -package vector-space-0.5.7 -O -Wall FRP.Reactive.GLUT.Adapter FRP.Reactive.GLUT.SimpleGL FRP.Reactive.GLUT.UI Test [4 of 4] Compiling Test ( src/Test.hs, dist/build/Test.o ) src/Test.hs:29:18: No instance for (G.MatrixComponent Double) arising from a use of `drawBox' at src/Test.hs:29:18-38 Possible fix: add an instance declaration for (G.MatrixComponent Double) In the first argument of `pure', namely `(drawBox (0 :: Double, 0))' In the first argument of `const', namely `(pure (drawBox (0 :: Double, 0)))' In the expression: const (pure (drawBox (0 :: Double, 0))) src/Test.hs:50:40: No instance for (G.VertexComponent Float) arising from a use of `vertexPF' at src/Test.hs:50:40-47 Possible fix: add an instance declaration for (G.VertexComponent Float) In the first argument of `mapM_', namely `vertexPF' In the second argument of `G.renderPrimitive', namely `(mapM_ vertexPF ps)' In the expression: G.renderPrimitive G.Polygon (mapM_ vertexPF ps)