Windows users can't compile time package
|Reported by:||NeilMitchell||Owned by:|
|Keywords:||Cc:||ashley@…, ndmitchell@…, fmartini@…, cjs@…|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
The time library got unbundled from GHC 6.10.2. Windows users who don't have Cygwin installed can't build the time library from Hackage. The end result is that an important and widely used library doesn't work with GHC 6.10.2. For many Windows users this will be a severe regression.
C:\Neil\hoogle>cabal install time --global Resolving dependencies... [1 of 1] Compiling Main ( C:\Users\Neil\AppData\Local\Temp\time-1.1. 2.32884\time-18.104.22.168\Setup.hs, C:\Users\Neil\AppData\Local\Temp\time-22.214.171.124884 \time-126.96.36.199\dist\setup\Main.o ) Linking C:\Users\Neil\AppData\Local\Temp\time-188.8.131.52884\time-184.108.40.206\dist\setu p\setup.exe ... Configuring time-220.127.116.11... setup.exe: sh: runGenProcess: does not exist (No such file or directory) cabal: Error: some packages failed to install: time-18.104.22.168 failed during the configure step. The exception was: exit: ExitFailure 1 C:\Neil\hoogle>ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.2
There are two solutions: 1) Fix the time package so it doesn't depend on
sh; 2) Bundle time with GHC.