Resolving dependencies... Configuring X11-1.4.5... 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 /usr/pkg/lib, headers /usr/pkg/include checking whether -R must be followed by a space... no 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... /usr/bin/grep checking for egrep... /usr/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: creating include/X11_extras_config.h Preprocessing library X11-1.4.5... Building X11-1.4.5... Warning: orphan instances: instance GHC.Read.Read [Graphics.X11.Xlib.Types.Rectangle] = Graphics.X11.Xlib.Extras.$f1 Resolving dependencies... Configuring X11-1.4.5... 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 /usr/pkg/lib, headers /usr/pkg/include checking whether -R must be followed by a space... no 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... /usr/bin/grep checking for egrep... /usr/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: creating include/X11_extras_config.h Preprocessing library X11-1.4.5... Building X11-1.4.5... Warning: orphan instances: instance GHC.Read.Read [Graphics.X11.Xlib.Types.Rectangle] = Graphics.X11.Xlib.Extras.$f1 Resolving dependencies... Configuring X11-1.4.5... 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 /usr/pkg/lib, headers /usr/pkg/include checking whether -R must be followed by a space... no 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... /usr/bin/grep checking for egrep... /usr/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: creating include/X11_extras_config.h Preprocessing library X11-1.4.5... Building X11-1.4.5... [ 1 of 24] Compiling Graphics.X11.Xlib.Types ( dist/build/Graphics/X11/Xlib/Types.hs, dist/build/Graphics/X11/Xlib/Types.o ) [ 2 of 24] Compiling Graphics.X11.Types ( dist/build/Graphics/X11/Types.hs, dist/build/Graphics/X11/Types.o ) [ 3 of 24] Compiling Graphics.X11.Xlib.Display ( Graphics/X11/Xlib/Display.hs, dist/build/Graphics/X11/Xlib/Display.o ) [ 4 of 24] Compiling Graphics.X11.Xlib.Event ( dist/build/Graphics/X11/Xlib/Event.hs, dist/build/Graphics/X11/Xlib/Event.o ) [ 5 of 24] Compiling Graphics.X11.Xlib.Screen ( Graphics/X11/Xlib/Screen.hs, dist/build/Graphics/X11/Xlib/Screen.o ) [ 6 of 24] Compiling Graphics.X11.Xlib.Window ( Graphics/X11/Xlib/Window.hs, dist/build/Graphics/X11/Xlib/Window.o ) [ 7 of 24] Compiling Graphics.X11.Xlib.Context ( Graphics/X11/Xlib/Context.hs, dist/build/Graphics/X11/Xlib/Context.o ) [ 8 of 24] Compiling Graphics.X11.Xlib.Color ( Graphics/X11/Xlib/Color.hs, dist/build/Graphics/X11/Xlib/Color.o ) [ 9 of 24] Compiling Graphics.X11.Xlib.Font ( dist/build/Graphics/X11/Xlib/Font.hs, dist/build/Graphics/X11/Xlib/Font.o ) [10 of 24] Compiling Graphics.X11.Xlib.Atom ( dist/build/Graphics/X11/Xlib/Atom.hs, dist/build/Graphics/X11/Xlib/Atom.o ) [11 of 24] Compiling Graphics.X11.Xlib.Region ( Graphics/X11/Xlib/Region.hs, dist/build/Graphics/X11/Xlib/Region.o ) [12 of 24] Compiling Graphics.X11.Xlib.Image ( Graphics/X11/Xlib/Image.hs, dist/build/Graphics/X11/Xlib/Image.o ) [13 of 24] Compiling Graphics.X11.Xlib.Misc ( dist/build/Graphics/X11/Xlib/Misc.hs, dist/build/Graphics/X11/Xlib/Misc.o ) [14 of 24] Compiling Graphics.X11.ExtraTypes.AP ( dist/build/Graphics/X11/ExtraTypes/AP.hs, dist/build/Graphics/X11/ExtraTypes/AP.o ) [15 of 24] Compiling Graphics.X11.ExtraTypes.DEC ( dist/build/Graphics/X11/ExtraTypes/DEC.hs, dist/build/Graphics/X11/ExtraTypes/DEC.o ) [16 of 24] Compiling Graphics.X11.ExtraTypes.HP ( dist/build/Graphics/X11/ExtraTypes/HP.hs, dist/build/Graphics/X11/ExtraTypes/HP.o ) [17 of 24] Compiling Graphics.X11.ExtraTypes.Sun ( dist/build/Graphics/X11/ExtraTypes/Sun.hs, dist/build/Graphics/X11/ExtraTypes/Sun.o ) [18 of 24] Compiling Graphics.X11.ExtraTypes.XF86 ( dist/build/Graphics/X11/ExtraTypes/XF86.hs, dist/build/Graphics/X11/ExtraTypes/XF86.o ) [19 of 24] Compiling Graphics.X11.ExtraTypes.XorgDefault ( dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs, dist/build/Graphics/X11/ExtraTypes/XorgDefault.o ) [20 of 24] Compiling Graphics.X11.ExtraTypes ( Graphics/X11/ExtraTypes.hs, dist/build/Graphics/X11/ExtraTypes.o ) [21 of 24] Compiling Graphics.X11.Xlib ( Graphics/X11/Xlib.hs, dist/build/Graphics/X11/Xlib.o ) [22 of 24] Compiling Graphics.X11.Xlib.Extras ( dist/build/Graphics/X11/Xlib/Extras.hs, dist/build/Graphics/X11/Xlib/Extras.o ) Warning: orphan instances: instance GHC.Read.Read [Graphics.X11.Xlib.Types.Rectangle] = Graphics.X11.Xlib.Extras.$f1 In file included from /usr/pkg/lib/ghc-6.8.3/include/Stg.h:183, from /usr/pkg/lib/ghc-6.8.3/include/Rts.h:19, from dist/build/Graphics/X11/Xlib/Extras_stub.c:2:0: /usr/pkg/lib/ghc-6.8.3/include/Regs.h:28:17: error: gmp.h: No such file or directory In file included from /usr/pkg/lib/ghc-6.8.3/include/Stg.h:183, from /usr/pkg/lib/ghc-6.8.3/include/Rts.h:19, from dist/build/Graphics/X11/Xlib/Extras_stub.c:2:0: /usr/pkg/lib/ghc-6.8.3/include/Regs.h:121:0: error: expected specifier-qualifier-list before 'MP_INT' In file included from dist/build/Graphics/X11/Xlib/Extras_stub.c:2:0: /usr/pkg/lib/ghc-6.8.3/include/Rts.h:203:0: error: expected ')' before '*' token /usr/pkg/lib/ghc-6.8.3/include/Rts.h:204:0: error: expected ')' before '*' token cabal: Error: some packages failed to install: X11-1.4.5 failed during the building phase. The exception was: exit: ExitFailure 1 xmonad-0.8.1 depends on X11-1.4.5 which failed to install.