On Tue, 2 Apr 2002, terry mcintyre wrote:

> Redhat Linux 7.2
> Apache 1.3.24
> Perl 5.6.1
> mod-perl-1.26
>
> make test fails with result:
>
> /usr/bin/perl t/TEST 0
> Can't locate object method "new" via package
> "URI::URL" (perhaps you forgot to load "URI::URL"?)
> at
> ../blib/lib/Apache/test.pm line 252.
> make: *** [run_tests] Error 255

I had the same problem today. What I did was to edit the test scripts
concerned (blib/lib/Apache/test.pm, etc) to add "use URI::URL;".

There is also a libwww module problem, with "$line" being undefined
in a "chunk" section, which I got around by adding "if ($line)...".

I am not sure what really caused the problem, but I also heard there
was a problem with the current version of Apache handling "chunks".

You might also have the problem of not being able to kill the test
httpd process.

Anyway, I managed to make "make test" successful and installed the
package. There was no real problem actually using the package for
me so far.

Regards,



Jie

Reply via email to