Beginners
Threads by month
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- 2 participants
- 4643 discussions
21 Feb '16
Hello !
I tried to build xmonad on Mac OS X 10.11.3 El Capitan and, it fails. For details see the below log.
Installed is the latest Haskell Platform 7.10.3 and the latest CLI tools for Xcode. The platform itself works because I build Hakyll before without problems.
Thanks for ideas.
The username is replaced by USER.
Configuring X11-1.6.1.2...
Dependency base ==4.8.2.0: using base-4.8.2.0
Dependency data-default ==0.5.3: using data-default-0.5.3
Using Cabal-1.22.5.0 compiled by ghc-7.10
Using compiler: ghc-7.10.3
Using install prefix: /Users/USER/Library/Haskell
Binaries installed in: /Users/USER/Library/Haskell/bin
Libraries installed in:
/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/X11-1.6.1.2
Private binaries installed in:
/Users/USER/Library/Haskell/libexec
Data files installed in:
/Users/USER/Library/Haskell/share/ghc-7.10.3-x86_64/X11-1.6.1.2
Documentation installed in:
/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/X11-1.6.1.2/doc
Configuration files installed in:
/Users/USER/Library/Haskell/etc
Using alex version 3.1.4 found on system at: /usr/local/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
Using gcc version 4.2.1 found on system at: /usr/bin/gcc
Using ghc version 7.10.3 found on system at: /usr/local/bin/ghc
Using ghc-pkg version 7.10.3 found on system at: /usr/local/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.16.1 found on system at: /usr/local/bin/haddock
Using happy version 1.19.5 found on system at: /usr/local/bin/happy
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /usr/local/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs
Using hscolour version 1.22 found on system at: /usr/local/bin/HsColour
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /usr/bin/tar
No uhc found
sh ./configure '--with-compiler=ghc' '--prefix=/Users/USER/Library/Haskell' '--bindir=/Users/USER/Library/Haskell/bin' '--libdir=/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib' '--libexecdir=/Users/USER/Library/Haskell/libexec' '--datadir=/Users/USER/Library/Haskell/share' '--sysconfdir=/Users/USER/Library/Haskell/etc' '--with-gcc=/usr/bin/gcc'
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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/X11/lib, headers /usr/X11/include
checking whether -R must be followed by a space... neither works
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 X11/extensions/Xrandr.h usability... yes
checking X11/extensions/Xrandr.h presence... yes
checking for X11/extensions/Xrandr.h... yes
checking whether to build XScreenSaver... yes
checking X11/extensions/scrnsaver.h usability... yes
checking X11/extensions/scrnsaver.h presence... yes
checking for X11/extensions/scrnsaver.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
checking X11/cursorfont.h usability... yes
checking X11/cursorfont.h presence... yes
checking for X11/cursorfont.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
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
Reading parameters from ./X11.buildinfo
Reading parameters from ./X11.buildinfo
Component build order: library
creating dist/build
creating dist/build/autogen
Building X11-1.6.1.2...
/usr/local/bin/ghc-pkg init dist/package.conf.inplace
Preprocessing library X11-1.6.1.2...
creating dist/build/Graphics/X11
creating dist/build/Graphics
creating dist/build/Graphics/X11
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Types.hs Graphics/X11/Types.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Atom.hs Graphics/X11/Xlib/Atom.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Cursor.hs Graphics/X11/Xlib/Cursor.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Event.hs Graphics/X11/Xlib/Event.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Font.hs Graphics/X11/Xlib/Font.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Misc.hs Graphics/X11/Xlib/Misc.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Types.hs Graphics/X11/Xlib/Types.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Extras.hs Graphics/X11/Xlib/Extras.hsc
creating dist/build/Graphics/X11
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xinerama.hs Graphics/X11/Xinerama.hsc
creating dist/build/Graphics/X11
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xrandr.hs Graphics/X11/Xrandr.hsc
creating dist/build/Graphics/X11
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/XScreenSaver.hs Graphics/X11/XScreenSaver.hsc
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/AP.hs Graphics/X11/ExtraTypes/AP.hsc
In file included from AP.hsc:166:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/DEC.hs Graphics/X11/ExtraTypes/DEC.hsc
In file included from DEC.hsc:111:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/HP.hs Graphics/X11/ExtraTypes/HP.hsc
In file included from HP.hsc:504:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/Sun.hs Graphics/X11/ExtraTypes/Sun.hsc
In file included from Sun.hsc:236:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/XF86.hs Graphics/X11/ExtraTypes/XF86.hsc
In file included from XF86.hsc:775:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs Graphics/X11/ExtraTypes/XorgDefault.hsc
In file included from XorgDefault.hsc:10047:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Internal.hs Graphics/X11/Xlib/Internal.hsc
Building library...
creating dist/build
/usr/local/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -optP-include -optPdist/build/autogen/cabal_macros.h -this-package-key X11_IWliEAOAW3jLTNM8XZxGwo -hide-all-packages -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 -XHaskell98 -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.Cursor 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.Xrandr Graphics.X11.XScreenSaver 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.Internal -funbox-strict-fields -Wall -fno-warn-unused-binds
[ 1 of 28] Compiling Graphics.X11.Xlib.Internal ( dist/build/Graphics/X11/Xlib/Internal.hs, dist/build/Graphics/X11/Xlib/Internal.o )
[ 2 of 28] Compiling Graphics.X11.Types ( dist/build/Graphics/X11/Types.hs, dist/build/Graphics/X11/Types.o )
Graphics/X11/Types.hsc:61:1: Warning: Tab character
[ 3 of 28] Compiling Graphics.X11.Xlib.Types ( dist/build/Graphics/X11/Xlib/Types.hs, dist/build/Graphics/X11/Xlib/Types.o )
[ 4 of 28] Compiling Graphics.X11.Xlib.Display ( Graphics/X11/Xlib/Display.hs, dist/build/Graphics/X11/Xlib/Display.o )
[ 5 of 28] Compiling Graphics.X11.Xlib.Event ( dist/build/Graphics/X11/Xlib/Event.hs, dist/build/Graphics/X11/Xlib/Event.o )
[ 6 of 28] Compiling Graphics.X11.Xlib.Screen ( Graphics/X11/Xlib/Screen.hs, dist/build/Graphics/X11/Xlib/Screen.o )
[ 7 of 28] Compiling Graphics.X11.Xlib.Window ( Graphics/X11/Xlib/Window.hs, dist/build/Graphics/X11/Xlib/Window.o )
[ 8 of 28] Compiling Graphics.X11.Xlib.Context ( Graphics/X11/Xlib/Context.hs, dist/build/Graphics/X11/Xlib/Context.o )
[ 9 of 28] Compiling Graphics.X11.Xlib.Color ( Graphics/X11/Xlib/Color.hs, dist/build/Graphics/X11/Xlib/Color.o )
[10 of 28] Compiling Graphics.X11.Xlib.Font ( dist/build/Graphics/X11/Xlib/Font.hs, dist/build/Graphics/X11/Xlib/Font.o )
Graphics/X11/Xlib/Font.hsc:23:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:58:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:73:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:82:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:83:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:84:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:85:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:87:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:94:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:95:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:96:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:98:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:102:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:107:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:111:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:115:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:138:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:139:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:140:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:141:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:142:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:143:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:144:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:148:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:149:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:150:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:151:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:152:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:153:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:154:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:155:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:156:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:157:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:164:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:165:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:166:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:167:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:168:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:169:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:170:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:171:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:172:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:173:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:174:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:175:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:177:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:178:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:179:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:186:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:187:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:189:1: Warning: Tab character
[11 of 28] Compiling Graphics.X11.Xlib.Cursor ( dist/build/Graphics/X11/Xlib/Cursor.hs, dist/build/Graphics/X11/Xlib/Cursor.o )
[12 of 28] Compiling Graphics.X11.Xlib.Atom ( dist/build/Graphics/X11/Xlib/Atom.hs, dist/build/Graphics/X11/Xlib/Atom.o )
[13 of 28] Compiling Graphics.X11.Xlib.Region ( Graphics/X11/Xlib/Region.hs, dist/build/Graphics/X11/Xlib/Region.o )
[14 of 28] Compiling Graphics.X11.Xlib.Image ( Graphics/X11/Xlib/Image.hs, dist/build/Graphics/X11/Xlib/Image.o )
[15 of 28] Compiling Graphics.X11.Xlib.Misc ( dist/build/Graphics/X11/Xlib/Misc.hs, dist/build/Graphics/X11/Xlib/Misc.o )
Graphics/X11/Xlib/Misc.hsc:698:10: Warning:
Orphan instance: instance Default VisualInfo
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
[16 of 28] Compiling Graphics.X11.Xrandr ( dist/build/Graphics/X11/Xrandr.hs, dist/build/Graphics/X11/Xrandr.o )
[17 of 28] Compiling Graphics.X11.ExtraTypes.AP ( dist/build/Graphics/X11/ExtraTypes/AP.hs, dist/build/Graphics/X11/ExtraTypes/AP.o )
[18 of 28] Compiling Graphics.X11.ExtraTypes.DEC ( dist/build/Graphics/X11/ExtraTypes/DEC.hs, dist/build/Graphics/X11/ExtraTypes/DEC.o )
[19 of 28] Compiling Graphics.X11.ExtraTypes.HP ( dist/build/Graphics/X11/ExtraTypes/HP.hs, dist/build/Graphics/X11/ExtraTypes/HP.o )
[20 of 28] Compiling Graphics.X11.ExtraTypes.Sun ( dist/build/Graphics/X11/ExtraTypes/Sun.hs, dist/build/Graphics/X11/ExtraTypes/Sun.o )
[21 of 28] Compiling Graphics.X11.ExtraTypes.XF86 ( dist/build/Graphics/X11/ExtraTypes/XF86.hs, dist/build/Graphics/X11/ExtraTypes/XF86.o )
[22 of 28] Compiling Graphics.X11.ExtraTypes.XorgDefault ( dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs, dist/build/Graphics/X11/ExtraTypes/XorgDefault.o )
[23 of 28] Compiling Graphics.X11.ExtraTypes ( Graphics/X11/ExtraTypes.hs, dist/build/Graphics/X11/ExtraTypes.o )
Graphics/X11/ExtraTypes.hs:16:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:17:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:18:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:19:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:20:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:21:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:22:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:23:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:25:1: Warning: Tab character
[24 of 28] Compiling Graphics.X11.Xlib ( Graphics/X11/Xlib.hs, dist/build/Graphics/X11/Xlib.o )
Graphics/X11/Xlib.hs:23:1: Warning: Tab character
Graphics/X11/Xlib.hs:24:1: Warning: Tab character
Graphics/X11/Xlib.hs:26:1: Warning: Tab character
Graphics/X11/Xlib.hs:27:1: Warning: Tab character
Graphics/X11/Xlib.hs:29:1: Warning: Tab character
Graphics/X11/Xlib.hs:30:1: Warning: Tab character
Graphics/X11/Xlib.hs:31:1: Warning: Tab character
Graphics/X11/Xlib.hs:33:1: Warning: Tab character
Graphics/X11/Xlib.hs:47:1: Warning: Tab character
[25 of 28] Compiling Graphics.X11.Xlib.Extras ( dist/build/Graphics/X11/Xlib/Extras.hs, dist/build/Graphics/X11/Xlib/Extras.o )
[26 of 28] Compiling Graphics.X11.Xinerama ( dist/build/Graphics/X11/Xinerama.hs, dist/build/Graphics/X11/Xinerama.o )
[27 of 28] Compiling Graphics.X11.XScreenSaver ( dist/build/Graphics/X11/XScreenSaver.hs, dist/build/Graphics/X11/XScreenSaver.o )
[28 of 28] Compiling Graphics.X11 ( Graphics/X11.hs, dist/build/Graphics/X11.o )
/usr/local/bin/ghc --make -fbuilding-cabal-package -O -prof -osuf p_o -hisuf p_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -optP-include -optPdist/build/autogen/cabal_macros.h -this-package-key X11_IWliEAOAW3jLTNM8XZxGwo -hide-all-packages -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 -XHaskell98 -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.Cursor 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.Xrandr Graphics.X11.XScreenSaver 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.Internal -funbox-strict-fields -Wall -fno-warn-unused-binds -prof -auto-all
[ 1 of 28] Compiling Graphics.X11.Xlib.Internal ( dist/build/Graphics/X11/Xlib/Internal.hs, dist/build/Graphics/X11/Xlib/Internal.p_o )
[ 2 of 28] Compiling Graphics.X11.Types ( dist/build/Graphics/X11/Types.hs, dist/build/Graphics/X11/Types.p_o )
Graphics/X11/Types.hsc:61:1: Warning: Tab character
[ 3 of 28] Compiling Graphics.X11.Xlib.Types ( dist/build/Graphics/X11/Xlib/Types.hs, dist/build/Graphics/X11/Xlib/Types.p_o )
[ 4 of 28] Compiling Graphics.X11.Xlib.Display ( Graphics/X11/Xlib/Display.hs, dist/build/Graphics/X11/Xlib/Display.p_o )
[ 5 of 28] Compiling Graphics.X11.Xlib.Event ( dist/build/Graphics/X11/Xlib/Event.hs, dist/build/Graphics/X11/Xlib/Event.p_o )
[ 6 of 28] Compiling Graphics.X11.Xlib.Screen ( Graphics/X11/Xlib/Screen.hs, dist/build/Graphics/X11/Xlib/Screen.p_o )
[ 7 of 28] Compiling Graphics.X11.Xlib.Window ( Graphics/X11/Xlib/Window.hs, dist/build/Graphics/X11/Xlib/Window.p_o )
[ 8 of 28] Compiling Graphics.X11.Xlib.Context ( Graphics/X11/Xlib/Context.hs, dist/build/Graphics/X11/Xlib/Context.p_o )
[ 9 of 28] Compiling Graphics.X11.Xlib.Color ( Graphics/X11/Xlib/Color.hs, dist/build/Graphics/X11/Xlib/Color.p_o )
[10 of 28] Compiling Graphics.X11.Xlib.Font ( dist/build/Graphics/X11/Xlib/Font.hs, dist/build/Graphics/X11/Xlib/Font.p_o )
Graphics/X11/Xlib/Font.hsc:23:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:58:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:73:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:82:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:83:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:84:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:85:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:87:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:94:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:95:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:96:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:98:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:102:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:107:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:111:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:115:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:138:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:139:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:140:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:141:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:142:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:143:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:144:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:148:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:149:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:150:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:151:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:152:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:153:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:154:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:155:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:156:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:157:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:164:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:165:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:166:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:167:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:168:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:169:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:170:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:171:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:172:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:173:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:174:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:175:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:177:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:178:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:179:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:186:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:187:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:189:1: Warning: Tab character
[11 of 28] Compiling Graphics.X11.Xlib.Cursor ( dist/build/Graphics/X11/Xlib/Cursor.hs, dist/build/Graphics/X11/Xlib/Cursor.p_o )
[12 of 28] Compiling Graphics.X11.Xlib.Atom ( dist/build/Graphics/X11/Xlib/Atom.hs, dist/build/Graphics/X11/Xlib/Atom.p_o )
[13 of 28] Compiling Graphics.X11.Xlib.Region ( Graphics/X11/Xlib/Region.hs, dist/build/Graphics/X11/Xlib/Region.p_o )
[14 of 28] Compiling Graphics.X11.Xlib.Image ( Graphics/X11/Xlib/Image.hs, dist/build/Graphics/X11/Xlib/Image.p_o )
[15 of 28] Compiling Graphics.X11.Xlib.Misc ( dist/build/Graphics/X11/Xlib/Misc.hs, dist/build/Graphics/X11/Xlib/Misc.p_o )
Graphics/X11/Xlib/Misc.hsc:698:10: Warning:
Orphan instance: instance Default VisualInfo
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
[16 of 28] Compiling Graphics.X11.Xrandr ( dist/build/Graphics/X11/Xrandr.hs, dist/build/Graphics/X11/Xrandr.p_o )
[17 of 28] Compiling Graphics.X11.ExtraTypes.AP ( dist/build/Graphics/X11/ExtraTypes/AP.hs, dist/build/Graphics/X11/ExtraTypes/AP.p_o )
[18 of 28] Compiling Graphics.X11.ExtraTypes.DEC ( dist/build/Graphics/X11/ExtraTypes/DEC.hs, dist/build/Graphics/X11/ExtraTypes/DEC.p_o )
[19 of 28] Compiling Graphics.X11.ExtraTypes.HP ( dist/build/Graphics/X11/ExtraTypes/HP.hs, dist/build/Graphics/X11/ExtraTypes/HP.p_o )
[20 of 28] Compiling Graphics.X11.ExtraTypes.Sun ( dist/build/Graphics/X11/ExtraTypes/Sun.hs, dist/build/Graphics/X11/ExtraTypes/Sun.p_o )
[21 of 28] Compiling Graphics.X11.ExtraTypes.XF86 ( dist/build/Graphics/X11/ExtraTypes/XF86.hs, dist/build/Graphics/X11/ExtraTypes/XF86.p_o )
[22 of 28] Compiling Graphics.X11.ExtraTypes.XorgDefault ( dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs, dist/build/Graphics/X11/ExtraTypes/XorgDefault.p_o )
[23 of 28] Compiling Graphics.X11.ExtraTypes ( Graphics/X11/ExtraTypes.hs, dist/build/Graphics/X11/ExtraTypes.p_o )
Graphics/X11/ExtraTypes.hs:16:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:17:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:18:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:19:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:20:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:21:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:22:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:23:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:25:1: Warning: Tab character
[24 of 28] Compiling Graphics.X11.Xlib ( Graphics/X11/Xlib.hs, dist/build/Graphics/X11/Xlib.p_o )
Graphics/X11/Xlib.hs:23:1: Warning: Tab character
Graphics/X11/Xlib.hs:24:1: Warning: Tab character
Graphics/X11/Xlib.hs:26:1: Warning: Tab character
Graphics/X11/Xlib.hs:27:1: Warning: Tab character
Graphics/X11/Xlib.hs:29:1: Warning: Tab character
Graphics/X11/Xlib.hs:30:1: Warning: Tab character
Graphics/X11/Xlib.hs:31:1: Warning: Tab character
Graphics/X11/Xlib.hs:33:1: Warning: Tab character
Graphics/X11/Xlib.hs:47:1: Warning: Tab character
[25 of 28] Compiling Graphics.X11.Xlib.Extras ( dist/build/Graphics/X11/Xlib/Extras.hs, dist/build/Graphics/X11/Xlib/Extras.p_o )
[26 of 28] Compiling Graphics.X11.Xinerama ( dist/build/Graphics/X11/Xinerama.hs, dist/build/Graphics/X11/Xinerama.p_o )
[27 of 28] Compiling Graphics.X11.XScreenSaver ( dist/build/Graphics/X11/XScreenSaver.hs, dist/build/Graphics/X11/XScreenSaver.p_o )
[28 of 28] Compiling Graphics.X11 ( Graphics/X11.hs, dist/build/Graphics/X11.p_o )
Building C Sources...
creating dist/build
/usr/local/bin/ghc -c -fPIC -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/fdset.c
/usr/local/bin/ghc -c -dynamic -fPIC -osuf dyn_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/fdset.c
/usr/local/bin/ghc -c -prof -fPIC -osuf p_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/fdset.c
creating dist/build
/usr/local/bin/ghc -c -fPIC -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/auxiliaries.c
/usr/local/bin/ghc -c -dynamic -fPIC -osuf dyn_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/auxiliaries.c
/usr/local/bin/ghc -c -prof -fPIC -osuf p_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/auxiliaries.c
creating dist/build
/usr/local/bin/ghc -c -fPIC -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/XUtils.c
/usr/local/bin/ghc -c -dynamic -fPIC -osuf dyn_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/XUtils.c
/usr/local/bin/ghc -c -prof -fPIC -osuf p_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/XUtils.c
Linking...
[(InstalledPackageId
"base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25",PackageIdentifier {pkgName =
PackageName {unPackageName = "base"}, pkgVersion = Version {versionBranch =
[4,8,2,0], versionTags = []}},ModuleRenaming True []),(InstalledPackageId
"data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2",PackageIdentifier
{pkgName = PackageName {unPackageName = "data-default"}, pkgVersion = Version
{versionBranch = [0,5,3], versionTags = []}},ModuleRenaming True [])]
/usr/bin/ar -r -s dist/build/objs-34820/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo.a dist/build/Graphics/X11.o dist/build/Graphics/X11/Types.o dist/build/Graphics/X11/Xlib.o dist/build/Graphics/X11/Xlib/Atom.o dist/build/Graphics/X11/Xlib/Color.o dist/build/Graphics/X11/Xlib/Context.o dist/build/Graphics/X11/Xlib/Cursor.o dist/build/Graphics/X11/Xlib/Display.o dist/build/Graphics/X11/Xlib/Event.o dist/build/Graphics/X11/Xlib/Font.o dist/build/Graphics/X11/Xlib/Misc.o dist/build/Graphics/X11/Xlib/Region.o dist/build/Graphics/X11/Xlib/Screen.o dist/build/Graphics/X11/Xlib/Types.o dist/build/Graphics/X11/Xlib/Window.o dist/build/Graphics/X11/Xlib/Image.o dist/build/Graphics/X11/Xlib/Extras.o dist/build/Graphics/X11/Xinerama.o dist/build/Graphics/X11/Xrandr.o dist/build/Graphics/X11/XScreenSaver.o dist/build/Graphics/X11/ExtraTypes.o dist/build/Graphics/X11/ExtraTypes/AP.o dist/build/Graphics/X11/ExtraTypes/DEC.o dist/build/Graphics/X11/ExtraTypes/HP.o dist/build/Graphics/X11/ExtraTypes/Sun.o dist/build/Graphics/X11/ExtraTypes/XF86.o dist/build/Graphics/X11/ExtraTypes/XorgDefault.o dist/build/Graphics/X11/Xlib/Internal.o dist/build/cbits/fdset.o dist/build/cbits/auxiliaries.o dist/build/cbits/XUtils.o
ar: creating archive dist/build/objs-34820/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo.a
/usr/bin/ar -r -s dist/build/objs-34820/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo_p.a dist/build/Graphics/X11.p_o dist/build/Graphics/X11/Types.p_o dist/build/Graphics/X11/Xlib.p_o dist/build/Graphics/X11/Xlib/Atom.p_o dist/build/Graphics/X11/Xlib/Color.p_o dist/build/Graphics/X11/Xlib/Context.p_o dist/build/Graphics/X11/Xlib/Cursor.p_o dist/build/Graphics/X11/Xlib/Display.p_o dist/build/Graphics/X11/Xlib/Event.p_o dist/build/Graphics/X11/Xlib/Font.p_o dist/build/Graphics/X11/Xlib/Misc.p_o dist/build/Graphics/X11/Xlib/Region.p_o dist/build/Graphics/X11/Xlib/Screen.p_o dist/build/Graphics/X11/Xlib/Types.p_o dist/build/Graphics/X11/Xlib/Window.p_o dist/build/Graphics/X11/Xlib/Image.p_o dist/build/Graphics/X11/Xlib/Extras.p_o dist/build/Graphics/X11/Xinerama.p_o dist/build/Graphics/X11/Xrandr.p_o dist/build/Graphics/X11/XScreenSaver.p_o dist/build/Graphics/X11/ExtraTypes.p_o dist/build/Graphics/X11/ExtraTypes/AP.p_o dist/build/Graphics/X11/ExtraTypes/DEC.p_o dist/build/Graphics/X11/ExtraTypes/HP.p_o dist/build/Graphics/X11/ExtraTypes/Sun.p_o dist/build/Graphics/X11/ExtraTypes/XF86.p_o dist/build/Graphics/X11/ExtraTypes/XorgDefault.p_o dist/build/Graphics/X11/Xlib/Internal.p_o dist/build/cbits/fdset.p_o dist/build/cbits/auxiliaries.p_o dist/build/cbits/XUtils.p_o
ar: creating archive dist/build/objs-34820/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo_p.a
/usr/local/bin/ghc -shared -dynamic -lXss -lXinerama -lX11 -lXrandr -lXext '-dynload deploy' -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1 -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2 -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3 -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS -optl-Wl,-rpath,/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7 -this-package-key X11_IWliEAOAW3jLTNM8XZxGwo -no-auto-link-packages -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 dist/build/Graphics/X11.dyn_o dist/build/Graphics/X11/Types.dyn_o dist/build/Graphics/X11/Xlib.dyn_o dist/build/Graphics/X11/Xlib/Atom.dyn_o dist/build/Graphics/X11/Xlib/Color.dyn_o dist/build/Graphics/X11/Xlib/Context.dyn_o dist/build/Graphics/X11/Xlib/Cursor.dyn_o dist/build/Graphics/X11/Xlib/Display.dyn_o dist/build/Graphics/X11/Xlib/Event.dyn_o dist/build/Graphics/X11/Xlib/Font.dyn_o dist/build/Graphics/X11/Xlib/Misc.dyn_o dist/build/Graphics/X11/Xlib/Region.dyn_o dist/build/Graphics/X11/Xlib/Screen.dyn_o dist/build/Graphics/X11/Xlib/Types.dyn_o dist/build/Graphics/X11/Xlib/Window.dyn_o dist/build/Graphics/X11/Xlib/Image.dyn_o dist/build/Graphics/X11/Xlib/Extras.dyn_o dist/build/Graphics/X11/Xinerama.dyn_o dist/build/Graphics/X11/Xrandr.dyn_o dist/build/Graphics/X11/XScreenSaver.dyn_o dist/build/Graphics/X11/ExtraTypes.dyn_o dist/build/Graphics/X11/ExtraTypes/AP.dyn_o dist/build/Graphics/X11/ExtraTypes/DEC.dyn_o dist/build/Graphics/X11/ExtraTypes/HP.dyn_o dist/build/Graphics/X11/ExtraTypes/Sun.dyn_o dist/build/Graphics/X11/ExtraTypes/XF86.dyn_o dist/build/Graphics/X11/ExtraTypes/XorgDefault.dyn_o dist/build/Graphics/X11/Xlib/Internal.dyn_o dist/build/cbits/fdset.dyn_o dist/build/cbits/auxiliaries.dyn_o dist/build/cbits/XUtils.dyn_o -o dist/build/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo-ghc7.10.3.dylib
ld: library not found for -lXss
clang: error: linker command failed with exit code 1 (use -v to see invocation)
EOF
1
1
I am a Haskell beginner. I've tried to write a tiny VM-like thing but ran
into a problems with IO and evaluation order.
Here is the full source code of this VM:
https://gist.github.com/mamontov-cpp/c4d8e2e46e7541c0c646 . This code is
supposed to read 4 strings and output them in reverse order.
While it seems to read some strings, it requests much more than one string
from user on each step of evaluation of meta-program, stored as array in
main function (which is just wrong).
I assume the problem with this program, is that the main state, being
immutable, seems to get re-evaluated on several steps inside of internal
parts of runProgram and runInstructionOrStop, forcing it to repeat
requesting data from user.
So, how can I prevent this main state from being re-evaluated in following
code ? Or is there any other problems, which I don't see?
2
2
I am a Haskell beginner. I have used arrows occasionally to move 2-tuples
around, but don't understand more than that.
I'm interested in know what's the connection between arrows and 2-tuples. I
don't really understand most of the Control.Arrow docs, but it seems that a
lot of stuff about arrows doesn't mention 2-tuples. Yet the operators
(***), (&&&), first, and second seem to be common. Is there some way to
explain the link?
Also, the main instance of Arrow seems to be (->). There is also something
about Kleisli monads, but I don't know what those are. Is there an another
big use case for arrows besides (->)? Don't worry about explaining it all,
just a quick mention would be fine and I can investigate it myself.
D
2
4
Hello Haskellers,
I have used Haskell for a bit on Linux and Windows, and now started using OS X 10.11.
I wanted to run a program using the GLUT bindings, and it complains about "user error (unknown GLUT entry glutSetOption)”
when I set certain options with ($=), for example actionOnWindowClose.
A bit of googling did not gain me much other than that glutSetOption is available in freeGlut, which is not the standard GLUT on Mac OS X, it seems.
Does anyone have an idea how to get around this? Can I replace OS X’s GLUT with FreeGLUT?
Thanks a bundle,
Christian
1
0
I'm having a bad time using the State monad to generate random numbers
without carrying around a lot of StdGens manually.
I have this snippet in the IO monad:
... IO stuff ...
gen <- getStdGen
let (numPlayers, numMatches) = (evalState genRandVariables gen) ::
(Integer, Integer)
... More IO stuff ...
where maxRandPlayers = 10 :: Integer
minRandMatches = 10 :: Integer
maxRandMatches = 100 :: Integer
genRandVariables = (do
np <- randomR (1, maxRandPlayers) --minimum 1 other player
nm <- randomR (minRandMatches, maxRandMatches)
return (np, nm)) :: State StdGen (Integer, Integer)
I get this error message:
test/Jakway/Blackjack/Tests/IntegrationTests/MatchTests.hs:53:23:
Couldn't match expected type ‘StateT
StdGen
Data.Functor.Identity.Identity Integer’
with actual type ‘g0 -> (Integer, g0)’
Probable cause: ‘randomR’ is applied to too few arguments
In a stmt of a 'do' block: np <- randomR (1, maxRandPlayers)
In the expression:
(do { np <- randomR (1, maxRandPlayers);
nm <- randomR (minRandMatches, maxRandMatches);
return (np, nm) }) ::
State StdGen (Integer, Integer)
test/Jakway/Blackjack/Tests/IntegrationTests/MatchTests.hs:54:23:
Couldn't match expected type ‘StateT
StdGen
Data.Functor.Identity.Identity Integer’
with actual type ‘g1 -> (Integer, g1)’
Probable cause: ‘randomR’ is applied to too few arguments
In a stmt of a 'do' block:
nm <- randomR (minRandMatches, maxRandMatches)
In the expression:
(do { np <- randomR (1, maxRandPlayers);
nm <- randomR (minRandMatches, maxRandMatches);
return (np, nm) }) ::
State StdGen (Integer, Integer)
What's really baffling to me is I feel like this is how it *should*
look--that the whole point of the state monad is to *not* have to
explicitly pass the StdGen to randomR. What am I doing wrong?
3
4
class C a b
instance C Int a -- when a /= Int
instance C a a -- when a == a
how would you do this without IncoherentInstances?
1
0
Hello,
I am playing with FFI and I need to extract from a C API a list of pointers.
I have two methods available
c_get_first_item :: Ptr List -> IO (Ptr Item)
c_get_next_item :: Ptr List -> Ptr Item -> IO (Ptr Item)
I would like to obtain a [Ptr Item]
I try to used whileM but I did not find how to inject the first item in the loop.
whileM (return . ( /= nullPtr)) (c_get_next_item list item)
the c_get_next_item return a nullPtr when there is no remaining item.
what is the haskell way in order to extract a list of pointer using these C methods ?
thanks for your help
Frederic
2
2
Hello,
I am working on a Vector class, heavily based on the paper "Faking It:
Simulating Dependent Types in Haskell" by Connor McBride.
Here is a stripped down version of my code:
---
{-# LANGUAGE RankNTypes #-}
import Control.Applicative
import Data.Functor
infixr 5 :.
data Cons u t = (:.) t (u t) deriving (Show)
data Nil t = Nil deriving (Show)
class (Applicative v, Functor v) => Vector v where
wrap :: (forall u. Vector u => s -> f (u t) -> f (Cons u t)) -> f (Nil t)
-> v s -> f (v t)
instance (Vector u) => Vector (Cons u) where
wrap f n (x:.xs) = f x (wrap f n xs)
instance Vector Nil where
wrap _ n Nil = n
instance (Applicative u) => Applicative (Cons u) where
pure x = x:.(pure x)
(f:.fs) <*> (x:.xs) = (f x):.(fs <*> xs)
instance Applicative Nil where
pure _ = Nil
_ <*> _ = Nil
instance (Functor u) => Functor (Cons u) where
fmap f (x:.xs) = (f x):.(fmap f xs)
instance Functor Nil where
fmap _ Nil = Nil
transpose :: (Vector w, Vector u) => w (u t) -> u (w t)
transpose v = wrap (\x xs -> (:.) <$> x <*> xs) (pure Nil) v
---
I am having trouble understanding the type signature of 'wrap'. This is how
I interpret it:
(function that takes an 's' and container of 'u t' and returns a container
of 'Cons u t') ->
(container of 'Nil') ->
(a vector of 's') ->
(a container with the same type as the container of Nil, but containing v t
instead)
What doesn't make sense to me is how the signature seems to imply that the
structure of the container in the return type is the same as the structure
of the container holding the Nils, but in 'transpose' the container holding
Nil seems to be infinite.
Can someone help me to understand what is going on here?
Thanks,
Ben
1
0
hello,
I am starting with Haskell and trying some little exercices on my own. I
successfully implemented a reverse polish notation evaluator and I want to
improve it a little using *Maybe*
All i want is to implement a function that can returned available
functions according to its string name
i.e return (+) when gived "+"
I also want to return Nothing if the operation is not available (not
implemented yet).
So my function should Maybe return a (float -> float -> float)
My current implementation is
operation :: String -> Maybe Float -> Float -> Float
operation op
| op == "+" = Just (+)
| op == "-" = Just (-)
| op == "*" = Just (*)
| op == "/" = Just (/)
| otherwise = Nothing
but it failed to compile with the following error :
rpn.hs:64:18:
Couldn't match expected type `Maybe Float -> Float -> Float'
with actual type `Maybe a0'
In the expression: Nothing
In an equation for `operation':
operation op
| op == "+" = Just (+)
| op == "-" = Just (-)
| op == "*" = Just (*)
| op == "/" = Just (/)
| otherwise = Nothing
I don't understand the error :( Do I have to explicitly type the Nothing
return ?
Could you guide me to a solution or explain me what I am doing wrong,
please ?
Thanks in advance
Olivier
4
4
08 Feb '16
Dear all,
I just started to learn Haskell with learnyouahaskell.com and at the very
beginning, I met a strange issue with following simple function:
-- why does work with "toZero 10" but not for "toZero -10"?toZero ::
(Integral t) => t -> [t]toZero 0 = [0]toZero x = if x > 0 then x :
toZero (x - 1)
else x : toZero (x + 1)
This function works as expected for positive arguments, e.g., "toZero 10"
gives me [10,9,8,7,6,5,4,3,2,1,0]. However, GHCI will raise following error
if I give it a negative argument, e.g., "toZero -10":
*Main> toZero -10
<interactive>:12:1:
Non type-variable argument in the constraint: Num (t -> [t])
(Use FlexibleContexts to permit this)
When checking that ‘it’ has the inferred type
it :: forall t. (Integral t, Num (t -> [t])) => t -> [t]
This seems strange to me as 10 and -10 has exactly the same type "Num a =>
a". I've done with chapter 1~10 of learnyouahaskell.com but still has no
idea on why this error. Anybody can help to explain this?
Thanks a lot.
Regards
Zhiyi Xie
3
3