Skip Menu |

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 25545
Status: resolved
Priority: 0/
Queue: mod_perl

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.0.2
Fixed in: (no value)



Subject: Allowing Automated CPANPLUS Tests
Dear all, Hi. This is imacat from Taiwan. I'm running CPAN tests. I found that mod_perl 2 requires Makefile.PL arguments or interactive input, and hence does not allow automated tests, like mod_perl 1.x before. Setting Makefile.PL arguments requires setting CPANPLUS makemakerflags configuration. When testing a module that depends on mod_perl 2 and hence build mod_perl only to satisfy its dependency, setting makemakerflags affects all the modules in this dependency tree and hence is not an option. This is not only true for testing, but also true for building and installing with CPAN or CPANPLUS. If mod_perl Apache2::Build can implement some way to allow automatic testing, like, for example, using environment variables MP_APXS, MP_USE_STATIC and MP_AP_PREFIX, or like @adirs in mod_perl 1.x, it would help a lot testing and reporting the problems.
mod_perl 2.0.5 now looks in $PATH for apxs and httpd, and uses them if found. If they aren't found, it falls back to detection methods used in 2.0.4, which can be interactive in some cases. I'm going to mark this one as resolved. Please re-open it if you try 2.0.5 and it is not to your satisfaction.