Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting dlist-0.8.0.6 Starting extensible-exceptions-0.1.1.4 Starting old-locale-1.0.0.7 Starting data-default-class-0.1.2.0 Building dlist-0.8.0.6 Building data-default-class-0.1.2.0 Building extensible-exceptions-0.1.1.4 Building old-locale-1.0.0.7 Completed extensible-exceptions-0.1.1.4 Starting random-1.1 Completed old-locale-1.0.0.7 Starting semigroups-0.18.5 Completed data-default-class-0.1.2.0 Starting setlocale-1.0.0.8 Building random-1.1 Building semigroups-0.18.5 Building setlocale-1.0.0.8 Completed dlist-0.8.0.6 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed semigroups-0.18.5 Starting old-time-1.1.0.3 Completed setlocale-1.0.0.8 Starting data-default-instances-old-locale-0.0.1 Building data-default-instances-old-locale-0.0.1 Completed random-1.1 Starting data-default-instances-containers-0.0.1 Completed data-default-instances-old-locale-0.0.1 Starting data-default-instances-dlist-0.0.1 Building old-time-1.1.0.3 Building data-default-instances-containers-0.0.1 Building data-default-instances-dlist-0.0.1 Completed data-default-instances-dlist-0.0.1 Completed data-default-instances-containers-0.0.1 Starting data-default-0.7.1.1 Completed utf8-string-1.0.1.1 Building data-default-0.7.1.1 Completed old-time-1.1.0.3 Completed data-default-0.7.1.1 Starting X11-1.9 Failed to install X11-1.9 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/X11-1.9-Fmq4QbYpsd5OMgvJkPFaT.log ): cabal: Entering directory '/tmp/cabal-tmp-31072/X11-1.9' Configuring X11-1.9... configure: WARNING: unrecognized options: --with-compiler checking for gcc... /usr/bin/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 /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking how to run the C preprocessor... /usr/bin/gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking whether to build Xinerama... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking X11/extensions/Xinerama.h usability... no checking X11/extensions/Xinerama.h presence... no checking for X11/extensions/Xinerama.h... no WARNING: Xinerama headers not found. Building without Xinerama support checking X11/extensions/Xrandr.h usability... no checking X11/extensions/Xrandr.h presence... no checking for X11/extensions/Xrandr.h... no configure: error: X11/extensions/Xrandr.h (from libXrandr) is required cabal: Leaving directory '/tmp/cabal-tmp-31072/X11-1.9' cabal: Error: some packages failed to install: TaskMonad-1.0.1-F1mEiHmXQJeEO6otKxhnQv depends on TaskMonad-1.0.1 which failed to install. X11-1.9-Fmq4QbYpsd5OMgvJkPFaT failed during the configure step. The exception was: ExitFailure 1 X11-xft-0.3.1-Ke77gdP809cLJjG45AIUPQ depends on X11-xft-0.3.1 which failed to install. xmonad-0.15-BiSTj36ZVNk6pVZT7WnVRd depends on xmonad-0.15 which failed to install. xmonad-contrib-0.15-2fE0ySpwIDyEM5gwCUpWvz depends on xmonad-contrib-0.15 which failed to install.