Nick Phillips wrote:

But there could be something wrong with the code, since it shouldn't be able to find /usr/lib/perl5 if you run with perl from /usr/local. Can you try to patch it so this won't happen? You don't give much detail about what did you try so I can't tell whether it's a problem on your side or with the code.

I'm not actually using perl from /usr/local, just trying to install Apache::Test with INSTALLDIRS=site, which will/should put it into /usr/local. So it
shouldn't have a problem with test.pm in the vendor installdirs. I guess
I'll probably just upgrade to Debian's "testing" distribution, which has a
newer mod perl 1 (and perl 5.8, and no doubt a whole boatload of different
problems ;-/). It should be becoming "stable" fairly soon anyway...
Thanks again,
Nick



Looking at it, I guess install-pl should just be a little more conservative,
and rather than just checking @INC, check only under the installdirs into
which it will be installed.

Yes and No. It makes sense on case-sensitive filesystems. But it doesn't on case-insensitive filesystems. If you don't check @INC and install Apache/Test.pm into a different directory (perl INSTALLDIRS=site) you will have the exact problem the uninstall tries to resolve: When some code will say: use Apache::Test, a case-insensitive filesystem may find Apache/test.pm before Apache/Test.pm and load it, wrecking havoc. So, there is no choice but nuke any occurence of Apache/test.pm.


As you have noted newer mod_perl 1 releases don't have this problem, so within the next 6 months or so most people will migrate to these new versions and the problem will disappear by itself...

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to