httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [ar2] PATCH: Set PERL_PATH correctly in Makefile.PL
Date Thu, 11 Dec 2003 07:22:38 GMT
Edward J. Sabol wrote:
> Randy wrote:
> 
>>Thanks, Ed - the above works fine on my Win32 system.
> 
> 
> Thanks for testing it, Randy.
> 
> Unfortunately, this patch doesn't solve the identical problem with "make
> test". Apache::TestMM is generating the t/TEST scripts incorrectly.
> Apache::TestMM wraps ExtUtils::MakeMaker, so you'd think it would get it
> right, but it also inherits some functionality from Apache::Build. And
> Apache::Build overrides ExtUtils::MakeMaker's value of $(PERL) with it's own
> value obtained from my old nemesis, $Config{perlpath}. From the code, it
> would appear that Apache::Build is doing it intentionally, but the reasoning
> eludes me. And it's not clear if the problem should be fixed in Apache::Build
> or just in Apache::Test. Perhaps I should continue this aspect of the
> discussion to test-dev@httpd.apache.org?
> 
> Or I could just break down and ask my system administrator to change
> Config.pm to have the correct value for $Config{perlpath}... Nah, that would
> be too easy! :-)

The issue of $^X vs. $Config{perlpath} has been discussed many times, 
especially on p5p and it was never resolved. Therefore if you have a robust 
solution a patch against modperl-2.0/lib/Apache/Build.pm would be very 
welcome. Please post it to the modperl dev list.

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


Mime
View raw message