httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: resolving Apache::Test vs. Apache::test collision
Date Tue, 17 Jun 2003 00:02:15 GMT
David Wheeler wrote:
> On Monday, June 16, 2003, at 02:42  AM, Stas Bekman wrote:
>> OK, here is the patch that nukes Apache/ Please test it on 
>> case-insensitive systems (if you don't have Apache/, please add 
>> it just to test). Once you confirm that it works, I release 
>> Apache::Test 1.03, so we can go ahead with the new libapreq release.
> Applied to CVS copy.
> If this is what you mean, it should work:
> mercury% perl Makefile.PL
>     generating script t/TEST
> Makefile.PL has found old copies of Apache/ which will
> be removed to prevent collisions with Apache::Test.
> CPAN authors are advised to either use Apache::testold or port their
> test suite to Apache::Test which works with both mod_perl generations.
> unlink /usr/local/lib/perl5/site_perl/5.8.0/darwin/Apache/
> !!! Failed to delete 
> /usr/local/lib/perl5/site_perl/5.8.0/darwin/Apache/, please make 
> sure to delete 
> /usr/local/lib/perl5/site_perl/5.8.0/darwin/Apache/ at 
> Makefile.PL line 106.
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Apache::Test
> So I deleted /usr/local/lib/perl5/site_perl/5.8.0/darwin/Apache/ 
> and all is well.

Any idea why has it failed to delete the file? I've copied the code from 
forceunlink sub in MakeMaker (which is called on UNINST=1), it changes the 
mode to 0666 and then attempts to delete the file.

> Gonna try to carve out some time this week to port 
> MasonX::ApacheHandler::WithCallbacks to Apache::Test :-)


Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message