Resolving dependencies... Downloading libltdl-0.1.0.1... [1 of 1] Compiling Main ( /tmp/libltdl-0.1.0.1-16624/libltdl-0.1.0.1/Setup.hs, /tmp/libltdl-0.1.0.1-16624/libltdl-0.1.0.1/dist/setup/Main.o ) Linking /tmp/libltdl-0.1.0.1-16624/libltdl-0.1.0.1/dist/setup/setup ... Configuring libltdl-0.1.0.1... 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... checking whether we are using the GNU C compiler... no checking whether gcc accepts -g... no checking for gcc option to accept ISO C89... unsupported checking how to run the C preprocessor... /lib/cpp configure: error: in `/tmp/libltdl-0.1.0.1-16624/libltdl-0.1.0.1': configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details Failed to install libltdl-0.1.0.1 cabal: Error: some packages failed to install: libltdl-0.1.0.1 failed during the configure step. The exception was: ExitFailure 1