# Where is HsTimeConfig.h?

Simon Marlow simonmarhaskell at gmail.com
Fri Jul 14 08:41:31 EDT 2006

I believe the right way to build the package standalone is to use this Setup.hs
script:

import Distribution.Simple
main = defaultMainWithHooks defaultUserHooks

which should run the configure script as part of 'setup configure'.  You also
need to run autoconf to generate configure from configure.ac first.

Cheers,
Simon

Sigbjorn Finne wrote:
> Hs<name>Config.h is a by-product of a package's build config
> script, so if you've got access to a full source tree for the
> package in Q, perhaps you haven't run the autoconf script?
>
> --sigbjorn
>
> ----- Original Message ----- From: "Alistair Bayley" <alistair at abayley.org>
> Sent: Friday, July 14, 2006 04:55
> Subject: Where is HsTimeConfig.h?
>
>
>> I'm trying to build Ashley's time package with GHC6.4 on Windows XP,
>> and there are a few things it uses which seem to be in GHC6.6 only.
>> Some of them I can find in the GHC sources, but I am unable to locate
>> HsTimeConfig.h. When GHC is installed I'd expect to find it under
>> C:\ghc\ghc-6.4.1\include, but I can't tell where this maps to in the
>> ghc source tree.
>>
>> Thanks,
>> Alistair