On 14/07/06, Simon Marlow <[EMAIL PROTECTED]> wrote:
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.


Success! I think...  Thanks for your help.

After a fair bit of dependency chasing, here's what I've done:

darcs get --partial http://www.cse.unsw.edu.au/~dons/code/fps
normal cabal configure, build, install

darcs get http://darcs.haskell.org/packages/Win32
Edit Win32.cabal, add fps to build-depends.
normal cabal configure, build, install

darcs get http://semantic.org/TimeLib/TimeLib
There are two packages here: time and fixed. Ignore time.
Go into fixed and do cabal configure, build, install

darcs get http://darcs.haskell.org/packages/time
Edit time.cabal, add fixed and Win32 to build-depends.
create Setup.hs:
 import Distribution.Simple
 main = defaultMainWithHooks defaultUserHooks
From MSYS shell, not Windows cmd.exe:
 autoreconf
 runhaskell Setup.hs configure
 runhaskell Setup.hs build
 runhaskell Setup.hs install


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

Reply via email to