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