checking value of SIGXFSZ... 25 checking value of SIG_BLOCK... 1 checking value of SIG_SETMASK... 3 checking value of SIG_UNBLOCK... 2 checking for _SC_GETGR_R_SIZE_MAX... yes checking for _SC_GETPW_R_SIZE_MAX... yes checking return type of usleep... int checking return type of unsetenv... int checking for RTLD_NEXT from dlfcn.h... yes checking for RTLD_DEFAULT from dlfcn.h... yes checking for openpty... no checking for openpty in -lutil... yes checking for /dev/ptmx... no checking for /dev/ptc... no checking for dlopen in -ldl... no checking build system type... x86_64-unknown-openbsd5.5 checking host system type... x86_64-unknown-openbsd5.5 checking target system type... x86_64-unknown-openbsd5.5 checking for library containing sem_close... -lpthread configure: creating ./config.status config.status: creating unix.buildinfo config.status: creating include/HsUnixConfig.h configure: WARNING: unrecognized options: --with-compiler, --with-iconv-includes, --with-iconv-libraries, --with-gmp-includes, --with-gmp-libraries, --with-gcc ghc-cabal: Bad header file: execvpe.h The header file contains a compile error. You can re-run configure with the verbosity flag -v3 to see the error messages from the C compiler. libraries/unix/ghc.mk:4: recipe for target 'libraries/unix/dist-install/package-data.mk' failed gmake[1]: *** [libraries/unix/dist-install/package-data.mk] Error 1 Makefile:71: recipe for target 'all' failed gmake: *** [all] Error 2