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-220.127.116.11\Setup.hs, C:\Users\Neil\AppData\Local\Temp\time-18.104.22.168884 \time-22.214.171.124\dist\setup\Main.o ) Linking C:\Users\Neil\AppData\Local\Temp\time-126.96.36.199884\time-188.8.131.52\dist\setu p\setup.exe ... Configuring time-184.108.40.206... setup.exe: sh: runGenProcess: does not exist (No such file or directory) cabal: Error: some packages failed to install: time-220.127.116.11 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.