>> Step 1 - configuring HGL-3.1 Configuring HGL-3.1... configure: Dependency base-any: using base-2.0 configure: Dependency X11-any: using X11-1.2.2 configure: Using install prefix: /home/user2 configure: Binaries installed in: /home/user2/bin configure: Libraries installed in: /home/user2/lib/HGL-3.1/ghc-6.6 configure: Private binaries installed in: /home/user2/libexec configure: Data files installed in: /home/user2/share/HGL-3.1 configure: Documentation installed in: /home/user2/share/doc/HGL-3.1 configure: Using compiler: /usr/bin/ghc configure: Compiler flavor: GHC configure: Compiler version: 6.6 configure: Using package tool: /usr/bin/ghc-pkg configure: Using alex version 2.1.0 found on system at: /usr/bin/alex configure: Using ar found on system at: /usr/bin/ar configure: No c2hs found configure: Using cpphs version 0.7 found on system at: /usr/bin/cpphs configure: No ffihugs found configure: Using ghc version 6.6 found on system at: /usr/bin/ghc configure: Using ghc-pkg version 6.6 found on system at: /usr/bin/ghc-pkg configure: No greencard found configure: Using haddock version 0.8 found on system at: /usr/bin/haddock configure: Using happy version 1.16 found on system at: /usr/bin/happy configure: No hmake found configure: Using hsc2hs version 0.66 found on system at: /usr/bin/hsc2hs configure: Using hscolour version 1.8 found on system at: /usr/local/bin/HsColour configure: No hugs found configure: No jhc found configure: Using ld found on system at: /usr/bin/ld configure: No nhc found configure: No pfesetup found configure: Using ranlib found on system at: /usr/bin/ranlib configure: Using tar found on system at: /bin/tar /bin/sh configure --with-hc=ghc --prefix=/home/user2 checking for gcc... gcc checking for C compiler default output... 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 ANSI C... none needed 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 configure: creating ./config.status config.status: creating config.mk config.status: creating HGL.buildinfo config.status: creating include/HsHGLConfig.h >> Step 2 - building HGL-3.1 Reading parameters from /home/user2/HGL-3.1/HGL.buildinfo Preprocessing library HGL-3.1... Building HGL-3.1... [ 1 of 27] Compiling Graphics.HGL.Internals.Utilities ( Graphics/HGL/Internals/Utilities.hs, dist/build/Graphics/HGL/Internals/Utilities.o ) [ 2 of 27] Compiling Graphics.HGL.Internals.Flag ( Graphics/HGL/Internals/Flag.hs, dist/build/Graphics/HGL/Internals/Flag.o ) [ 3 of 27] Compiling Graphics.HGL.Internals.Types ( Graphics/HGL/Internals/Types.hs, dist/build/Graphics/HGL/Internals/Types.o ) [ 4 of 27] Compiling Graphics.HGL.X11.Types ( Graphics/HGL/X11/Types.hs, dist/build/Graphics/HGL/X11/Types.o ) [ 5 of 27] Compiling Graphics.HGL.Internals.Draw ( Graphics/HGL/Internals/Draw.hs, dist/build/Graphics/HGL/Internals/Draw.o ) [ 6 of 27] Compiling Graphics.HGL.X11.Timer ( Graphics/HGL/X11/Timer.hs, dist/build/Graphics/HGL/X11/Timer.o ) [ 7 of 27] Compiling Graphics.HGL.X11.DC ( Graphics/HGL/X11/DC.hs, dist/build/Graphics/HGL/X11/DC.o ) Graphics/HGL/X11/DC.hs:47:9: Couldn't match expected type `Foreign.C.Types.CInt' against inferred type `Int' In the fifth argument of `X.createPixmap', namely `depth' In the expression: X.createPixmap (disp dc) (drawable dc) width height depth In a case alternative: Nothing -> X.createPixmap (disp dc) (drawable dc) width height depth >> Terminated due to an error.