[Haskell-cafe] runghc Setup.hs doitall

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Jan 18 13:50:17 EST 2009


On Sun, 2009-01-18 at 12:28 -0600, Jeff Wheeler wrote:
> On Sun, 2009-01-18 at 18:24 +0000, Duncan Coutts wrote:
> 
> > > In my experience, it usually fails because of missing dependencies like
> > > zlib-dev on my own system, but those are easy to fix, at which point I
> > > can rerun the bootstrap script.
> > 
> > Patches accepted.
> 
> Without digressing too much, I don't think much can be done here. I
> would not (and should not) expect the bootstrap.sh file to use apt to
> get the missing dependencies as I had to do.
> 
> I don't think there's any general solution to this, beyond better error
> handling (which apparently you just improved).

It'll still fall over when it fails to find the zlib C lib. That's a
slightly more general issue:

        Check for required C libraries during configure
        http://hackage.haskell.org/trac/hackage/ticket/262

Again, patches gratefully accepted :-)

Duncan



More information about the Haskell-Cafe mailing list