*** setup configure Configuring GLUT-2.1.2.0... Flags chosen: split-base=True Dependency OpenGL >=2.2: using OpenGL-2.4.0.1 Dependency array -any: using array-0.3.0.0 Dependency base >=3: using base-4.2.0.0 Dependency containers -any: using containers-0.3.0.0 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/GLUT-2.1.2.0/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/GLUT-2.1.2.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/GLUT-2.1.2.0 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 sh configure --with-compiler=ghc --prefix=/usr/local/tmp/archive/install checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-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 windows.h usability... no checking windows.h presence... no checking for windows.h... no checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking for GLUT library... no checking for GL/glut.h... (cached) yes checking GLUT/glut.h usability... no checking GLUT/glut.h presence... no checking for GLUT/glut.h... no checking for windows.h... (cached) no configure: creating ./config.status config.status: creating GLUT.buildinfo config.status: creating include/HsGLUTConfig.h config.status: include/HsGLUTConfig.h is unchanged config.status: creating include/HsGLUT.h config.status: include/HsGLUT.h is unchanged Reading parameters from ./GLUT.buildinfo *** setup haddock Reading parameters from ./GLUT.buildinfo Running Haddock for GLUT-2.1.2.0... /usr/local/bin/haddock --use-contents=/package/GLUT-2.1.2.0 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library GLUT-2.1.2.0... Running hscolour for GLUT-2.1.2.0... Creating dist/doc/html/GLUT (and its parents) Creating dist/doc/html/GLUT/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/GLUT/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT.html Graphics/UI/GLUT.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Begin.html Graphics/UI/GLUT/Begin.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Callbacks.html Graphics/UI/GLUT/Callbacks.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Callbacks-Global.html Graphics/UI/GLUT/Callbacks/Global.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Callbacks-Window.html Graphics/UI/GLUT/Callbacks/Window.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Colormap.html Graphics/UI/GLUT/Colormap.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Debugging.html Graphics/UI/GLUT/Debugging.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-DeviceControl.html Graphics/UI/GLUT/DeviceControl.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Fonts.html Graphics/UI/GLUT/Fonts.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-GameMode.html Graphics/UI/GLUT/GameMode.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Initialization.html Graphics/UI/GLUT/Initialization.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Menu.html Graphics/UI/GLUT/Menu.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Objects.html Graphics/UI/GLUT/Objects.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Overlay.html Graphics/UI/GLUT/Overlay.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-State.html Graphics/UI/GLUT/State.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Window.html Graphics/UI/GLUT/Window.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Callbacks-Registration.html Graphics/UI/GLUT/Callbacks/Registration.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Constants.html Graphics/UI/GLUT/Constants.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Extensions.html Graphics/UI/GLUT/Extensions.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-QueryUtils.html Graphics/UI/GLUT/QueryUtils.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Types.html Graphics/UI/GLUT/Types.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 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT.hs Graphics/UI/GLUT.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Begin.hs Graphics/UI/GLUT/Begin.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Callbacks.hs Graphics/UI/GLUT/Callbacks.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Callbacks/Global.hs Graphics/UI/GLUT/Callbacks/Global.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Callbacks/Window.hs Graphics/UI/GLUT/Callbacks/Window.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Colormap.hs Graphics/UI/GLUT/Colormap.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Debugging.hs Graphics/UI/GLUT/Debugging.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/DeviceControl.hs Graphics/UI/GLUT/DeviceControl.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Fonts.hs Graphics/UI/GLUT/Fonts.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/GameMode.hs Graphics/UI/GLUT/GameMode.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Initialization.hs Graphics/UI/GLUT/Initialization.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Menu.hs Graphics/UI/GLUT/Menu.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Objects.hs Graphics/UI/GLUT/Objects.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Overlay.hs Graphics/UI/GLUT/Overlay.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/State.hs Graphics/UI/GLUT/State.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Window.hs Graphics/UI/GLUT/Window.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Callbacks/Registration.hs Graphics/UI/GLUT/Callbacks/Registration.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Constants.hs Graphics/UI/GLUT/Constants.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Extensions.hs Graphics/UI/GLUT/Extensions.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/QueryUtils.hs Graphics/UI/GLUT/QueryUtils.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16403/Graphics/UI/GLUT/Types.hs Graphics/UI/GLUT/Types.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall Creating dist/doc/html/GLUT/ (and its parents) /usr/local/bin/haddock --use-contents=/package/GLUT-2.1.2.0 --prologue=dist/doc/html/GLUT/haddock-prolog16403.txt --dump-interface=dist/doc/html/GLUT/GLUT.haddock --optghc=-package-name --optghc=GLUT-2.1.2.0 --hide=Graphics.UI.GLUT.Callbacks.Registration --hide=Graphics.UI.GLUT.Constants --hide=Graphics.UI.GLUT.Extensions --hide=Graphics.UI.GLUT.QueryUtils --hide=Graphics.UI.GLUT.Types --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/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.0/doc/html,/usr/local/share/doc/ghc/html/libraries/array-0.3.0.0/array.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/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.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.haddock --odir=dist/doc/html/GLUT/ --title=GLUT-2.1.2.0: A binding for the OpenGL Utility Toolkit --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=-Iinclude --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=array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98 --optghc=-package-id --optghc=base-4.2.0.0-c9182baf5cf44f2e72b2298fa160086c --optghc=-package-id --optghc=containers-0.3.0.0-409fe3b8f0dda25b98e03716d26be411 --optghc=-O --optghc=-DCALLCONV=ccall --optghc=-XCPP --optghc=-XForeignFunctionInterface -B/usr/local/lib/ghc-6.12.1 dist/build/tmp16403/Graphics/UI/GLUT.hs dist/build/tmp16403/Graphics/UI/GLUT/Begin.hs dist/build/tmp16403/Graphics/UI/GLUT/Callbacks.hs dist/build/tmp16403/Graphics/UI/GLUT/Callbacks/Global.hs dist/build/tmp16403/Graphics/UI/GLUT/Callbacks/Window.hs dist/build/tmp16403/Graphics/UI/GLUT/Colormap.hs dist/build/tmp16403/Graphics/UI/GLUT/Debugging.hs dist/build/tmp16403/Graphics/UI/GLUT/DeviceControl.hs dist/build/tmp16403/Graphics/UI/GLUT/Fonts.hs dist/build/tmp16403/Graphics/UI/GLUT/GameMode.hs dist/build/tmp16403/Graphics/UI/GLUT/Initialization.hs dist/build/tmp16403/Graphics/UI/GLUT/Menu.hs dist/build/tmp16403/Graphics/UI/GLUT/Objects.hs dist/build/tmp16403/Graphics/UI/GLUT/Overlay.hs dist/build/tmp16403/Graphics/UI/GLUT/State.hs dist/build/tmp16403/Graphics/UI/GLUT/Window.hs dist/build/tmp16403/Graphics/UI/GLUT/Callbacks/Registration.hs dist/build/tmp16403/Graphics/UI/GLUT/Constants.hs dist/build/tmp16403/Graphics/UI/GLUT/Extensions.hs dist/build/tmp16403/Graphics/UI/GLUT/QueryUtils.hs dist/build/tmp16403/Graphics/UI/GLUT/Types.hs Graphics/UI/GLUT/Begin.hs:26:7: Could not find module `Graphics.Rendering.OpenGL.GL.StateVar': It is a member of the hidden package `OpenGL-2.2.3.0'. Perhaps you need to add `OpenGL' to the build-depends in your .cabal file. It is a member of the hidden package `OpenGL-2.2.2.0'. Perhaps you need to add `OpenGL' to the build-depends in your .cabal file. It is a member of the hidden package `OpenGL-2.2.1.1'. Perhaps you need to add `OpenGL' to the build-depends in your .cabal file. It is a member of the hidden package `OpenGL-2.1'. Perhaps you need to add `OpenGL' to the build-depends in your .cabal file. Use -v to see a list of the files searched for. *** Trying again with preferred-versions *** setup configure Configuring GLUT-2.1.2.0... Flags chosen: split-base=True Dependency OpenGL >=2.2: using OpenGL-2.4.0.1 Dependency array -any: using array-0.3.0.0 Dependency base ==3.*: using base-3.0.3.2 Dependency containers -any: using containers-0.3.0.0 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/GLUT-2.1.2.0/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/GLUT-2.1.2.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/GLUT-2.1.2.0 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 sh configure --with-compiler=ghc --prefix=/usr/local/tmp/archive/install checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-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 windows.h usability... no checking windows.h presence... no checking for windows.h... no checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking for GLUT library... no checking for GL/glut.h... (cached) yes checking GLUT/glut.h usability... no checking GLUT/glut.h presence... no checking for GLUT/glut.h... no checking for windows.h... (cached) no configure: creating ./config.status config.status: creating GLUT.buildinfo config.status: creating include/HsGLUTConfig.h config.status: include/HsGLUTConfig.h is unchanged config.status: creating include/HsGLUT.h config.status: include/HsGLUT.h is unchanged Reading parameters from ./GLUT.buildinfo *** setup haddock Reading parameters from ./GLUT.buildinfo Running Haddock for GLUT-2.1.2.0... /usr/local/bin/haddock --use-contents=/package/GLUT-2.1.2.0 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library GLUT-2.1.2.0... Running hscolour for GLUT-2.1.2.0... Creating dist/doc/html/GLUT (and its parents) Creating dist/doc/html/GLUT/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/GLUT/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT.html Graphics/UI/GLUT.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Begin.html Graphics/UI/GLUT/Begin.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Callbacks.html Graphics/UI/GLUT/Callbacks.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Callbacks-Global.html Graphics/UI/GLUT/Callbacks/Global.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Callbacks-Window.html Graphics/UI/GLUT/Callbacks/Window.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Colormap.html Graphics/UI/GLUT/Colormap.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Debugging.html Graphics/UI/GLUT/Debugging.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-DeviceControl.html Graphics/UI/GLUT/DeviceControl.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Fonts.html Graphics/UI/GLUT/Fonts.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-GameMode.html Graphics/UI/GLUT/GameMode.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Initialization.html Graphics/UI/GLUT/Initialization.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Menu.html Graphics/UI/GLUT/Menu.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Objects.html Graphics/UI/GLUT/Objects.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Overlay.html Graphics/UI/GLUT/Overlay.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-State.html Graphics/UI/GLUT/State.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Window.html Graphics/UI/GLUT/Window.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Callbacks-Registration.html Graphics/UI/GLUT/Callbacks/Registration.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Constants.html Graphics/UI/GLUT/Constants.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Extensions.html Graphics/UI/GLUT/Extensions.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-QueryUtils.html Graphics/UI/GLUT/QueryUtils.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/GLUT/src/Graphics-UI-GLUT-Types.html Graphics/UI/GLUT/Types.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 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT.hs Graphics/UI/GLUT.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Begin.hs Graphics/UI/GLUT/Begin.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Callbacks.hs Graphics/UI/GLUT/Callbacks.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Callbacks/Global.hs Graphics/UI/GLUT/Callbacks/Global.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Callbacks/Window.hs Graphics/UI/GLUT/Callbacks/Window.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Colormap.hs Graphics/UI/GLUT/Colormap.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Debugging.hs Graphics/UI/GLUT/Debugging.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/DeviceControl.hs Graphics/UI/GLUT/DeviceControl.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Fonts.hs Graphics/UI/GLUT/Fonts.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/GameMode.hs Graphics/UI/GLUT/GameMode.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Initialization.hs Graphics/UI/GLUT/Initialization.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Menu.hs Graphics/UI/GLUT/Menu.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Objects.hs Graphics/UI/GLUT/Objects.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Overlay.hs Graphics/UI/GLUT/Overlay.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/State.hs Graphics/UI/GLUT/State.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Window.hs Graphics/UI/GLUT/Window.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Callbacks/Registration.hs Graphics/UI/GLUT/Callbacks/Registration.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Constants.hs Graphics/UI/GLUT/Constants.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Extensions.hs Graphics/UI/GLUT/Extensions.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/QueryUtils.hs Graphics/UI/GLUT/QueryUtils.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp17802/Graphics/UI/GLUT/Types.hs Graphics/UI/GLUT/Types.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall Creating dist/doc/html/GLUT/ (and its parents) /usr/local/bin/haddock --use-contents=/package/GLUT-2.1.2.0 --prologue=dist/doc/html/GLUT/haddock-prolog17802.txt --dump-interface=dist/doc/html/GLUT/GLUT.haddock --optghc=-package-name --optghc=GLUT-2.1.2.0 --hide=Graphics.UI.GLUT.Callbacks.Registration --hide=Graphics.UI.GLUT.Constants --hide=Graphics.UI.GLUT.Extensions --hide=Graphics.UI.GLUT.QueryUtils --hide=Graphics.UI.GLUT.Types --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/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.0/doc/html,/usr/local/share/doc/ghc/html/libraries/array-0.3.0.0/array.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/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.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.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/GLUT/ --title=GLUT-2.1.2.0: A binding for the OpenGL Utility Toolkit --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=-Iinclude --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=array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98 --optghc=-package-id --optghc=base-3.0.3.2-52acef427378232ec569bca0486ee48f --optghc=-package-id --optghc=containers-0.3.0.0-409fe3b8f0dda25b98e03716d26be411 --optghc=-O --optghc=-DCALLCONV=ccall --optghc=-XCPP --optghc=-XForeignFunctionInterface -B/usr/local/lib/ghc-6.12.1 dist/build/tmp17802/Graphics/UI/GLUT.hs dist/build/tmp17802/Graphics/UI/GLUT/Begin.hs dist/build/tmp17802/Graphics/UI/GLUT/Callbacks.hs dist/build/tmp17802/Graphics/UI/GLUT/Callbacks/Global.hs dist/build/tmp17802/Graphics/UI/GLUT/Callbacks/Window.hs dist/build/tmp17802/Graphics/UI/GLUT/Colormap.hs dist/build/tmp17802/Graphics/UI/GLUT/Debugging.hs dist/build/tmp17802/Graphics/UI/GLUT/DeviceControl.hs dist/build/tmp17802/Graphics/UI/GLUT/Fonts.hs dist/build/tmp17802/Graphics/UI/GLUT/GameMode.hs dist/build/tmp17802/Graphics/UI/GLUT/Initialization.hs dist/build/tmp17802/Graphics/UI/GLUT/Menu.hs dist/build/tmp17802/Graphics/UI/GLUT/Objects.hs dist/build/tmp17802/Graphics/UI/GLUT/Overlay.hs dist/build/tmp17802/Graphics/UI/GLUT/State.hs dist/build/tmp17802/Graphics/UI/GLUT/Window.hs dist/build/tmp17802/Graphics/UI/GLUT/Callbacks/Registration.hs dist/build/tmp17802/Graphics/UI/GLUT/Constants.hs dist/build/tmp17802/Graphics/UI/GLUT/Extensions.hs dist/build/tmp17802/Graphics/UI/GLUT/QueryUtils.hs dist/build/tmp17802/Graphics/UI/GLUT/Types.hs Graphics/UI/GLUT/Begin.hs:26:7: Could not find module `Graphics.Rendering.OpenGL.GL.StateVar': It is a member of the hidden package `OpenGL-2.2.3.0'. Perhaps you need to add `OpenGL' to the build-depends in your .cabal file. It is a member of the hidden package `OpenGL-2.2.2.0'. Perhaps you need to add `OpenGL' to the build-depends in your .cabal file. It is a member of the hidden package `OpenGL-2.2.1.1'. Perhaps you need to add `OpenGL' to the build-depends in your .cabal file. It is a member of the hidden package `OpenGL-2.1'. Perhaps you need to add `OpenGL' to the build-depends in your .cabal file. Use -v to see a list of the files searched for.