Skip to content

HsTime.h isn't installed by the Windows installer

[I'm not sure if this is really a bug in the Windows installer maker or if it's a problem with building the library with ghc (rather than as a standalone cabal package). I can reproduce it on my Windows install, but not with the Debian packages]

Alistair Bayley reports in http://www.haskell.org/pipermail/libraries/2007-February/006864.html

If I try to compile this Main.hs:

module Main where
import Data.Time
main = getCurrentTime >>= print

with this ghc-6.6 command:

ghc --make Main -o test -O
  1. .. I get this error:
C:\DOCUME~1\bayleya\LOCALS~1\Temp\ghc728_0\ghc728_0.hc:8:20: HsTime.h:
No such file or directory
Edited by Ian Lynagh -
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information