Windows users can't compile time package
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-1.1.2.3\Setup.hs, C:\Users\Neil\AppData\Local\Temp\time-1.1.2.32884
\time-1.1.2.3\dist\setup\Main.o )
Linking C:\Users\Neil\AppData\Local\Temp\time-1.1.2.32884\time-1.1.2.3\dist\setu
p\setup.exe ...
Configuring time-1.1.2.3...
setup.exe: sh: runGenProcess: does not exist (No such file or directory)
cabal: Error: some packages failed to install:
time-1.1.2.3 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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | ashley@semantic.org, ndmitchell@gmail.com |
Operating system | |
Architecture |