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

[prev] [thread] [next] [Date index for 2005/05/09]

From: Dorian Taylor
Subject: source scanning process seems to miss APR::Const::SUCCESS (and others)
Date: 18:12 on 09 May 2005
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

(message missing)

source scanning process seems to miss APR::Const::SUCCESS (and others)
Dorian Taylor 18:12 on 09 May 2005

Generated at 06:57 on 17 May 2005 by mariachi v0.52