[Haskell-cafe] help(!!)

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon May 12 06:25:39 EDT 2008


On Mon, 2008-05-12 at 04:00 -0500, Galchin, Vasili wrote:
> Hello,
> 
>        As I said in a Friday posting, I changed the version # of the
> cabal file that I am using, unix.cabal. Now my build environment is 
> broken and I am dead in the water:
> 
> vigalchin at ubuntu:~/FTP/Haskell/unix-2.2.0.0$ runhaskell Setup.hs
> configure
> Configuring unix-2.3.0.0...
> vigalchin at ubuntu:~/FTP/Haskell/unix-2.2.0.0$ runhaskell Setup.hs build
> Setup.hs: unix.cabal has been changed, please re-configure.

Yeah, configure seems to be failing without any error message.

> It seems like "runhaskell Setup.hs configure" isn't doing much after
> the unix.cabal change. How can I force the configure to really run? Do
> something with some of the config files??

Try doing a
$ runhaskell Setup.hs clean
first and then
$ runhaskell Setup.hs configure -v3
$ runhaskell Setup.hs build

and if it still fails you should be able to see what it was doing last.
If it is indeed still failing then send me the full output of
$ runhaskell Setup.hs configure -v3
and the version of Cabal you're using and the full package you're
working on (preferably as a link to a darcs repo or as a tarball). Don't
send it all to the whole mailing list though or we'll annoy people :-).

Duncan



More information about the Haskell-Cafe mailing list