httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William McKee <will...@knowmad.com>
Subject Re: Failures in TestRun.pm with A::T 1.09
Date Thu, 11 Mar 2004 23:52:45 GMT
On Thu, Mar 11, 2004 at 02:19:46PM -0800, Stas Bekman wrote:
> You mean the current cvs without any patches starts just fine. It's only 
> when you run tests you get this problem?

Here's something to chew on. I appear to have several copies of
TestRun.pm installed on my system due to recompiling Perl. While trying
to "fix" my system (i.e., cook the TestRun.pm file) so that I can get
back to paying the bills, I came across the following discrepancy
between @INC settings.


The following is the error message I'm getting:

 Can't locate Apache/TestRun.pm in @INC (@INC contains:
 /home/quicktel/QT-Web/t /home/quicktel/QT-Web/blib/lib
 /home/quicktel/QT-Web/blib/arch /home/quicktel/QT-Web/t/response
 /usr/local/lib/perl5/5.8.2/i686-linux /usr/local/lib/perl5/5.8.2
 /usr/local/lib/perl5/site_perl/5.8.2/i686-linux
 /usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl
 /usr/share/perl5/ /home/quicktel/QT-Web/t/
 /home/quicktel/QT-Web/t/lib/perl)


Here's the @INC from running perl -V:

 Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
    Built under linux
      Compiled at Mar 11 2004 05:52:10
        @INC:
        /usr/local/lib/perl5/5.8.3/i686-linux
        /usr/local/lib/perl5/5.8.3
        /usr/local/lib/perl5/site_perl/5.8.3/i686-linux
        /usr/local/lib/perl5/site_perl/5.8.3
        /usr/local/lib/perl5/site_perl/5.8.2/i686-linux
        /usr/local/lib/perl5/site_perl/5.8.2
        /usr/local/lib/perl5/site_perl
        .

The 5.8.3 branch isn't even showing up in the project where I'm working.
I tried running 'make clean' and rebuilding via perl Makefile.PL but
that made no difference. Also a 'make realclean' had no effect on the
path. It's almost acting like the server is running a different perl
binary. Turns out it is because I've been manually linking /usr/bin/perl
to /usr/local/bin/perl5.8.x.

Unfortunately, fixing that oversite has not appeared to make any
difference in the error message meaning that the version of Perl running
Apache is 5.8.2. Dang, that means I need to rebuild mod_perl. I always
forget that step.

OK, I was up all night last night and am stopping here for the night.
I'll rebuild mod_perl tomorrow and try again. I don't suspect this will
make any difference since these messages started coming up when I was
running 5.8.2. It's worth a try though.


Thanks,
William

-- 
Knowmad Services Inc.
http://www.knowmad.com

Mime
View raw message