Resolving dependencies... [1 of 1] Compiling Main ( /tmp/time-1.2-14417/time-1.2/Setup.hs, /tmp/time-1.2-14417/time-1.2/dist/setup/Main.o ) /tmp/time-1.2-14417/time-1.2/Setup.hs:16:42: Warning: In the use of `runTests' (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!" Linking /tmp/time-1.2-14417/time-1.2/dist/setup/setup ... Configuring time-1.2... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E 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 time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for gmtime_r... yes checking for localtime_r... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking whether time.h and sys/time.h may both be included... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether altzone is declared... no configure: creating ./config.status config.status: creating include/HsTimeConfig.h config.status: include/HsTimeConfig.h is unchanged Building time-1.2... Preprocessing library time-1.2... Data/Time/Clock/TAI.hs:2:0: fatal error: HsConfigure.h: No such file or directory compilation terminated. Failed to install time-1.2 cabal: Error: some packages failed to install: time-1.2 failed during the building phase. The exception was: ExitFailure 1