Interesting issue, check this out:
--
-- Mike
Mike Schilli
m...@pe...
-------- Original Message --------
Subject: Re: log4perl build error
Date: 8/12/2004, 1:53 AM
From: Paolo Campanella <pa...@mi...>
To: Mike Schilli <m...@pe...>
cc: log...@pe...
On Thu, 2004-08-12 at 06:11, Mike Schilli wrote:
> Paolo Campanella wrote on 8/11/2004, 8:00 AM:
>
> > Log-Log4perl-0.47 build failed as follows on my system:
> >
> > t/023Date............ok
> > t/024WarnDieCarp.....ok 9/50# Failed test (t/024WarnDieCarp.t at
> > line 142)
>
> Interesting, the 0.47 distribution on CPAN already shows the correct
> line number:
>
> http://search.cpan.org/src/MSCHILLI/Log-Log4perl-0.47/t/024WarnDieCarp.t
>
> Where did you get your L4p 0.47 from?
My sources are identical to yours.
Ah, I see the problem now: the following lines were automatically added
to the top of my 024WarnDieCarp.t:
=================================================
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
=================================================
This must be because I was installing via the cpan2rpm script (if I
re-run installation manually, the lines are not added, and there is no
error). A quick bit of research suggest that MakeMaker adds these lines.
So, it's unlikely to affect very many people. But perhaps there's some
workaround? Every other test in the package succeeds, even under
cpan2rpm.
Thanks
Paolo
|