Windows users can't compile time package
|Reported by:||NeilMitchell||Owned by:|
|Keywords:||Cc:||ashley@…, ndmitchell@…, fmartini@…, cjs@…|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Revisions:|
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-22.214.171.124\Setup.hs, C:\Users\Neil\AppData\Local\Temp\time-126.96.36.199884 \time-188.8.131.52\dist\setup\Main.o ) Linking C:\Users\Neil\AppData\Local\Temp\time-184.108.40.206884\time-220.127.116.11\dist\setu p\setup.exe ... Configuring time-18.104.22.168... setup.exe: sh: runGenProcess: does not exist (No such file or directory) cabal: Error: some packages failed to install: time-22.214.171.124 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.
Change History (6)
comment:2 Changed 6 years ago by igloo
- difficulty set to Unknown
- Resolution set to invalid
- Status changed from new to closed