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 data-default-class-0.1.2.0 Starting old-locale-1.0.0.7 Starting semigroups-0.19 Starting dlist-0.8.0.6 Building old-locale-1.0.0.7 Building data-default-class-0.1.2.0 Building semigroups-0.19 Building dlist-0.8.0.6 Completed semigroups-0.19 Starting stm-delay-0.1.1.1 Completed old-locale-1.0.0.7 Starting wild-bind-0.1.2.4 Completed data-default-class-0.1.2.0 Starting data-default-instances-old-locale-0.0.1 Building stm-delay-0.1.1.1 Building wild-bind-0.1.2.4 Building data-default-instances-old-locale-0.0.1 Completed dlist-0.8.0.6 Starting data-default-instances-containers-0.0.1 Building data-default-instances-containers-0.0.1 Completed data-default-instances-old-locale-0.0.1 Starting data-default-instances-dlist-0.0.1 Completed stm-delay-0.1.1.1 Starting fold-debounce-0.2.0.8 Building data-default-instances-dlist-0.0.1 Building fold-debounce-0.2.0.8 Completed data-default-instances-containers-0.0.1 Completed data-default-instances-dlist-0.0.1 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 Completed wild-bind-0.1.2.4 Completed fold-debounce-0.2.0.8 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-29890/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-29890/X11-1.9' cabal: Error: some packages failed to install: X11-1.9-Fmq4QbYpsd5OMgvJkPFaT failed during the configure step. The exception was: ExitFailure 1 wild-bind-x11-0.2.0.7-2UPjvl7W8xyBohuIFMBBkS depends on wild-bind-x11-0.2.0.7 which failed to install.