#3162: Windows users can't compile time package
-----------------------------+----------------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.2 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3162>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs