[Haskell] How do I get a recent cabal for Windows?

Neil Mitchell ndmitchell at gmail.com
Fri Sep 8 08:24:56 EDT 2006


Hi Andreas,

> Does it meant to create a new cabal with the setup or should I always use
> setup instead of runghc?

For installing Cabal, and ONLY cabal, do the ghc --make thingy, then
use setup.exe for installing Cabal. Do not use that setup ever again.

> If I do the "setup configure" ... "setup install" in the Cabal directory I
> get a new Cabal (1.1.5.9.2) but that chrases like the one created with
> another cabal if used on a new Setup.lhs (in my case comlib or cabal).
Hmm, can you explain your GHC crash (error message etc), it shouldn't...

> Why do you create the setup.exe? Can I always do "ghc --make -cpp Setup -o
> {libName}.exe"? Or can I copy the setup.exe (as cabalSetup.exe) in my PATH
> and use this?
The setup is a specific setup that will only install cabal, so you
don't want it on your path. The reason for creating the .exe is
because this particular cabal setup script is big and takes a while to
compile.

As for configure warnings, they are not warnings - just entirely
ignore them. It checks for everything and needs nothing.

Also, by having installed GHC 6.4.2 I mean just the MSI, as standard,
nothing fancy.

Thanks

Neil


More information about the Haskell mailing list