Resolving dependencies... [1 of 1] Compiling Main ( /tmp/cabal-tmp-21643/libltdl-0.1.0.2/dist/setup/setup.hs, /tmp/cabal-tmp-21643/libltdl-0.1.0.2/dist/setup/Main.o ) Linking /tmp/cabal-tmp-21643/libltdl-0.1.0.2/dist/setup/setup ... Configuring libltdl-0.1.0.2... 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... configure: error: in `/tmp/cabal-tmp-21643/libltdl-0.1.0.2': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details Failed to install libltdl-0.1.0.2 cabal: Error: some packages failed to install: libltdl-0.1.0.2 failed during the configure step. The exception was: ExitFailure 1