Where is HsTimeConfig.h?

2006-07-14 Thread Alistair Bayley

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
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Where is HsTimeConfig.h?

2006-07-14 Thread Sigbjorn Finne

HsnameConfig.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 [EMAIL PROTECTED]

To: glasgow-haskell-users@haskell.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


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Where is HsTimeConfig.h?

2006-07-14 Thread Simon Marlow
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:

HsnameConfig.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 [EMAIL PROTECTED]
To: glasgow-haskell-users@haskell.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


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Where is HsTimeConfig.h?

2006-07-14 Thread Alistair Bayley

On 14/07/06, Sigbjorn Finne [EMAIL PROTECTED] wrote:

HsnameConfig.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?


That would be true, I haven't run the autoconf script. Normally this
is simply ./configure, right? I don't have one of those, I guess
because now this package is part of the base libraries (I got it from
http://darcs.haskell.org/packages/time). How would I run autoconf in
this case?

Alistair
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Where is HsTimeConfig.h?

2006-07-14 Thread Alistair Bayley

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.


Ahh.. OK then. I don't seem to have autoconf on my mingw system, so
its off to mingw.org I go...

thanks,
Alistair
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Where is HsTimeConfig.h?

2006-07-14 Thread Alistair Bayley

On 14/07/06, Alistair Bayley [EMAIL PROTECTED] wrote:

 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.

Ahh.. OK then. I don't seem to have autoconf on my mingw system, so
its off to mingw.org I go...


Right then, now that I've run autoconf, runhaskell Setup.hs
configure fails because I don't have HsTimeConfig.h.in. How do I get
one of those?

Alistair
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RE: Where is HsTimeConfig.h?

2006-07-14 Thread Simon Marlow
On 14 July 2006 14:19, Alistair Bayley wrote:

 On 14/07/06, Alistair Bayley [EMAIL PROTECTED] wrote:
 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. 
 
 Ahh.. OK then. I don't seem to have autoconf on my mingw system, so
 its off to mingw.org I go...
 
 Right then, now that I've run autoconf, runhaskell Setup.hs
 configure fails because I don't have HsTimeConfig.h.in. How do I get
 one of those?

Ah.  'autoreconf' rather than 'autoconf', my apologies.

Cheers,
Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re[2]: Where is HsTimeConfig.h?

2006-07-14 Thread Bulat Ziganshin
Hello Alistair,

Friday, July 14, 2006, 6:14:28 PM, you wrote:

 darcs get --partial http://www.cse.unsw.edu.au/~dons/code/fps
 darcs get http://darcs.haskell.org/packages/Win32
 darcs get http://semantic.org/TimeLib/TimeLib
 darcs get http://darcs.haskell.org/packages/time

praising for cabal-get :)

-- 
Best regards,
 Bulatmailto:[EMAIL PROTECTED]

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users