*** setup configure Configuring X11-1.4.3... Dependency base -any: using base-4.0.0.0 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.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/X11-1.4.3/ghc-6.10.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/X11-1.4.3 Documentation installed in: /usr/local/tmp/archive/install/share/doc/X11-1.4.3 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.15.1 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.2 found on system at: /usr/bin/gcc Using ghc version 6.10.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.1 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.3.0 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 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 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 whether to build Xinerama... yes 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 X11/extensions/Xinerama.h usability... yes checking X11/extensions/Xinerama.h presence... yes checking for X11/extensions/Xinerama.h... yes checking whether to include X.org keysyms... yes checking X11/keysym.h usability... yes checking X11/keysym.h presence... yes checking for X11/keysym.h... yes checking X11/DECkeysym.h usability... yes checking X11/DECkeysym.h presence... yes checking for X11/DECkeysym.h... yes checking X11/Sunkeysym.h usability... yes checking X11/Sunkeysym.h presence... yes checking for X11/Sunkeysym.h... yes checking X11/ap_keysym.h usability... yes checking X11/ap_keysym.h presence... yes checking for X11/ap_keysym.h... yes checking X11/HPkeysym.h usability... yes checking X11/HPkeysym.h presence... yes checking for X11/HPkeysym.h... yes checking X11/XF86keysym.h usability... yes checking X11/XF86keysym.h presence... yes checking for X11/XF86keysym.h... yes checking X11/keysymdef.h usability... yes checking X11/keysymdef.h presence... yes checking for X11/keysymdef.h... yes configure: creating ./config.status config.status: creating config.mk config.status: creating X11.buildinfo config.status: creating include/HsX11Config.h config.status: include/HsX11Config.h is unchanged config.status: creating include/X11_extras_config.h config.status: include/X11_extras_config.h is unchanged *** setup build Reading parameters from ./X11.buildinfo Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library X11-1.4.3... Creating dist/build/Graphics/X11 (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/Types.hs Graphics/X11/Types.hsc Creating dist/build/Graphics/X11/Xlib (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/Xlib/Atom.hs Graphics/X11/Xlib/Atom.hsc Creating dist/build/Graphics/X11/Xlib (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/Xlib/Event.hs Graphics/X11/Xlib/Event.hsc Creating dist/build/Graphics/X11/Xlib (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/Xlib/Font.hs Graphics/X11/Xlib/Font.hsc Creating dist/build/Graphics/X11/Xlib (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/Xlib/Misc.hs Graphics/X11/Xlib/Misc.hsc Creating dist/build/Graphics/X11/Xlib (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/Xlib/Types.hs Graphics/X11/Xlib/Types.hsc Creating dist/build/Graphics/X11/Xlib (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/Xlib/Extras.hs Graphics/X11/Xlib/Extras.hsc Creating dist/build/Graphics/X11 (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/Xinerama.hs Graphics/X11/Xinerama.hsc Creating dist/build/Graphics/X11/ExtraTypes (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/ExtraTypes/AP.hs Graphics/X11/ExtraTypes/AP.hsc Creating dist/build/Graphics/X11/ExtraTypes (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/ExtraTypes/DEC.hs Graphics/X11/ExtraTypes/DEC.hsc Creating dist/build/Graphics/X11/ExtraTypes (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/ExtraTypes/HP.hs Graphics/X11/ExtraTypes/HP.hsc Creating dist/build/Graphics/X11/ExtraTypes (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/ExtraTypes/Sun.hs Graphics/X11/ExtraTypes/Sun.hsc Creating dist/build/Graphics/X11/ExtraTypes (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/ExtraTypes/XF86.hs Graphics/X11/ExtraTypes/XF86.hsc Creating dist/build/Graphics/X11/ExtraTypes (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --cflag=-I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.1/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.1/base-4.0.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/integer-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.1 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs Graphics/X11/ExtraTypes/XorgDefault.hsc Building X11-1.4.3... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name X11-1.4.3 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -optP-include -optPdist/build/autogen/cabal_macros.h -#include "HsXlib.h" -#include "HsAllKeysyms.h" -odir dist/build -hidir dist/build -stubdir dist/build -package base-4.0.0.0 -O -funbox-strict-fields -Wall -fno-warn-unused-binds -XForeignFunctionInterface -XCPP Graphics.X11 Graphics.X11.Types Graphics.X11.Xlib Graphics.X11.Xlib.Atom Graphics.X11.Xlib.Color Graphics.X11.Xlib.Context Graphics.X11.Xlib.Display Graphics.X11.Xlib.Event Graphics.X11.Xlib.Font Graphics.X11.Xlib.Misc Graphics.X11.Xlib.Region Graphics.X11.Xlib.Screen Graphics.X11.Xlib.Types Graphics.X11.Xlib.Window Graphics.X11.Xlib.Image Graphics.X11.Xlib.Extras Graphics.X11.Xinerama Graphics.X11.ExtraTypes Graphics.X11.ExtraTypes.AP Graphics.X11.ExtraTypes.DEC Graphics.X11.ExtraTypes.HP Graphics.X11.ExtraTypes.Sun Graphics.X11.ExtraTypes.XF86 Graphics.X11.ExtraTypes.XorgDefault Graphics/X11/Xlib/Event.hsc:70:7: Could not find module `Data.Generics': it is a member of package base-3.0.3.0, which is hidden