Something I hit while getting config directives in mp2 going. Upon encountering a LoadModule directive that loads a Perl module, Makefile.PL croaks like so:
Configuring Apache/2.0.41-dev mod_perl/1.99_08-dev Perl/v5.8.0 fileparse(): need a valid pathname at Apache-Test/lib/Apache/TestConfigParse.pm line 102 I'm not entirely sure how you'd want to handle that, so I just had it skip these so I could keep going (and maybe that *is* how you want to handle that). -- Stephen Clouse <[EMAIL PROTECTED]> Senior Programmer, IQ Coordinator Project Lead The IQ Group, Inc. <http://www.theiqgroup.com/>
Index: Apache-Test/lib/Apache/TestConfigParse.pm
===================================================================
RCS file:
/home/cvspublic/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm,v
retrieving revision 1.26
diff -u -r1.26 TestConfigParse.pm
--- Apache-Test/lib/Apache/TestConfigParse.pm 23 May 2002 17:26:38 -0000 1.26
+++ Apache-Test/lib/Apache/TestConfigParse.pm 1 Oct 2002 20:03:26 -0000
@@ -92,6 +92,10 @@
for my $args (@{ $c->{$directive} }) {
my $modname = $args->[0];
+ if ($modname =~ /::/) {
+ debug "Skipping LoadModule of Perl module $modname";
+ next;
+ }
my $file = $self->server_file_rel2abs($args->[1]);
unless (-e $file) {
msg03343/pgp00000.pgp
Description: PGP signature
