ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
Re: CPAN tests fail Makefile.PL using Apache::TestMM
by Mark Hedges other posts by this author
Jul 4 2008 12:07AM messages near this date
Re: CPAN tests fail Makefile.PL using Apache::TestMM | Re: CPAN tests fail Makefile.PL using Apache::TestMM
On Thu, 3 Jul 2008, Fred Moyer wrote:
>  > I've been getting cpan-testers results like this.  What
>  > should I do?  Thanks... --m--
> 
>  See sub test in:
> 
>  http://search.cpan.org/src/PHRED/Apache-Dispatch-0.10/Makefile.PL

Wouldn't that Makefile.PL die if mod_perl is not installed,
instead of requiring all libs and then running the tests
with them when they are followed by the CPAN user?

Don't I want it to prompt CPAN to follow dependencies?  But
if I override &test in this way, how then do I run the tests
that need to be run once `make` has begun?

Aha, if I use ModPerl::MM then directives will work, nice.
Thanks!

>  In short, you override the test target in the Makefile.
>  I can't take credit for that code as I stole most of it
>  from Geoff's modules :)

Weird with the package namespace and MY:: and whatnot.  But
maybe it should just die if it can't require ModPerl::MM. If
you haven't installed mod_perl and you can't figure out what
to do next, maybe you shouldn't install this module.

>  I'm trying to abstract a bunch of this dirty work out in
>  Apache::Bootstrap, but that is primarily geared at dual
>  life mp1/mp2 modules, so I don't know how this conditional
>  test code will fit in.

Sounds like a headache! Yeah I have decided I am too lazy to
live in the past while simultaneously trying to keep up.
:-)

Mark
Thread:
Mark Hedges
Torsten Foertsch
Mark Hedges
Fred Moyer
Mark Hedges
Geoffrey Young

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved