Compiling module using Data.Time with -O fails; can't find HsTime.h

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 ... 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 Is this me doing something I shouldn't, or is there something wrong with the way the library has been distributed? Alistair

Hi Alistair, On Tue, Feb 06, 2007 at 09:00:17AM +0000, Alistair Bayley wrote:
C:\DOCUME~1\bayleya\LOCALS~1\Temp\ghc728_0\ghc728_0.hc:8:20: HsTime.h: No such file or directory
Is this me doing something I shouldn't,
No, this should work.
or is there something wrong with the way the library has been distributed?
I can reproduce this with my installation by the Windows installer, but not the Debian packages which build time as a standalone cabal package. I've made a ticket for it: http://hackage.haskell.org/trac/ghc/ticket/1135 Thanks Ian
participants (2)
-
Alistair Bayley
-
Ian Lynagh