Failure to install time package
lennart at augustsson.net
Thu Apr 16 05:24:59 EDT 2009
Another word of warning about the time library.
If one builds and installs it using cygwin it will detect that the
localtime_r() function exists, but the actual linking is against MinGW
libraries where it does not exists, so it will fail.
The package must be build using MinGW.
Of course, had the time package not been rudely removed from ghc
6.10.2 this would not have been a problem.
Does anyone have a server where I could put an alternate 6.10.2 binary
distribution for Windows?
One that includes the time package and cabal.exe.
On Tue, Apr 7, 2009 at 10:26 PM, Neil Mitchell <ndmitchell at gmail.com> wrote:
> Time is an important library, it got unbundled from GHC, and it seems
> Windows users can't install the time package!
> 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-188.8.131.52\Setup.hs, C:\Users\Neil\AppData\Local\Temp\time-184.108.40.206884
> \time-220.127.116.11\dist\setup\Main.o )
> Linking C:\Users\Neil\AppData\Local\Temp\time-18.104.22.168884\time-22.214.171.124\dist\setu
> p\setup.exe ...
> Configuring time-126.96.36.199...
> setup.exe: sh: runGenProcess: does not exist (No such file or directory)
> cabal: Error: some packages failed to install:
> time-188.8.131.52 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
> My guess is that it would work if I installed mingw, but that it
> hasn't been tested without. I consider this problem fatally serious -
> we may have managed to make GHC 6.10.2 unuseable for many Windows
> Libraries mailing list
> Libraries at haskell.org
More information about the Libraries