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 dlist-0.8.0.7 Starting integer-logarithms-1.0.3 Starting hashable-1.3.0.0 Building data-default-class-0.1.2.0 Building integer-logarithms-1.0.3 Building dlist-0.8.0.7 Building hashable-1.3.0.0 Completed data-default-class-0.1.2.0 Starting old-locale-1.0.0.7 Completed integer-logarithms-1.0.3 Starting primes-0.2.1.0 Building old-locale-1.0.0.7 Building primes-0.2.1.0 Completed dlist-0.8.0.7 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Completed old-locale-1.0.0.7 Starting split-0.2.3.3 Completed hashable-1.3.0.0 Starting data-default-instances-containers-0.0.1 Completed primes-0.2.1.0 Starting data-default-instances-dlist-0.0.1 Building split-0.2.3.3 Building data-default-instances-containers-0.0.1 Building data-default-instances-dlist-0.0.1 Completed data-default-instances-containers-0.0.1 Starting data-default-instances-old-locale-0.0.1 Completed data-default-instances-dlist-0.0.1 Building data-default-instances-old-locale-0.0.1 Completed split-0.2.3.3 Completed data-default-instances-old-locale-0.0.1 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 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-77uwiPLn8DlBI3Wf6uvftr.log ): cabal: Entering directory '/tmp/cabal-tmp-980/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-980/X11-1.9' Completed primitive-0.7.0.0 cabal: Error: some packages failed to install: X11-1.9-77uwiPLn8DlBI3Wf6uvftr failed during the configure step. The exception was: ExitFailure 1 posplyu-0.1.0-CQiXA1OXqNGA1RIi2LaH0c depends on posplyu-0.1.0 which failed to install.