GHC 6.2.1 and FedoraCore2: ar-related build problem, looked like readline problem

Sven Panne Sven.Panne at aedion.de
Fri Sep 3 14:44:48 EDT 2004


[ Ooops, I've read Simon's reply *after* I've replied... ]

Henrik Nilsson wrote:
> As Simon M. said, it seems the version of "ar" shipeed with FC2 is
> broken. It returns a 0 exit code when called with what it believes
> to be a non-existing file ("-input").

That's what I've assumed.

> Hopefully the shell-script snippet I sent, or something like it,
> can be used as a work-around.

The correct way would probably be testing the exit code *and* stderr.
There's already some support for this kind of stuff in our aclocal.m4
IIRC, I'll have a look into it...

Cheers,
    S.



More information about the Glasgow-haskell-bugs mailing list