You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dorian Taylor <do...@foobarsystems.com> on 2005/05/09 19:12:43 UTC

source scanning process seems to miss APR::Const::SUCCESS (and others)

Using Debian testing with the packaged versions of Apache 2.0.54-prefork
and APR 0.9.6, I ran make source_scan on the -current (rc6) tarball.
It seems that only the constant groups fopen, fprot and filetype
were found. I can only presume after looking at Apache2::ParseSource,
that the required apr headers are never seen. 

I added the following which seemed to clear it up:

--- ../mod_perl-2.0.0-RC5/lib/Apache2/ParseSource.pm    2005-04-14 05:19:34.000000000 -0700
+++ lib/Apache2/ParseSource.pm  2005-05-09 10:00:08.000000000 -0700
@@ -115,6 +115,8 @@
 sub include_dirs {
     my $self = shift;
     ($self->config->apxs('-q' => 'INCLUDEDIR'),
+    $self->config->apxs('-q' => 'APR_INCLUDEDIR'),
+    $self->config->apxs('-q' => 'APU_INCLUDEDIR'),
      $self->config->mp_include_dir);
 }

i'm currently running a make test (which seems to pass minus
content_length_header.t, but that's another issue).

.dorian