On Wednesday 31 March 2004 08:57 am, Geoffrey Young wrote:
> >>APACHE_TEST_HTTPD=/PATH/TO/HTTPD make test
> >>
> >>or
> >>
> >>t/TEST -httpd=/path/to/httpd
> >>
> >>etc. please refer to the documentation for more options.
> >
> > OK, I used option 1 above, however, it seems that the test suite
> > _insists_ on testing auth using mod_auth_digest.c (which is not ready
> > yet in 2.1).
>
> for the record that's not true: mod_auth_digest works just fine in both 2.0
> and 2.1.  the problem you're having (below) is that the 2.0 and 2.1
> versions of mod_auth_digest are incompatable due to a change in the
> authentication mechanism in apache core.
>

I stand corrected. mod_auth_digest is alive and well in 2.1. I
thought is was not because the mod_perl test was kicking in with
another version.

>
> > The generated http.conf file does this:
> >
> > ...
> > <IfModule !mod_auth_digest.c>
> >     LoadModule auth_digest_module
> > "/usr/apache2/lib/apache/mod_auth_digest.so" </IfModule>
> > ...
> >
> > which brings in a copy of mod_auth_digest.so from another test 2.0 server
> > and the 2.1 server will not start:
>
> yes, that's a problem, similar to ones I've seen before.  please try the
> suggestions I made before: start with 'make realclean',  remove all traces
> of TestConfigData.pm from both your installed perl tree as well as your
> local Apache-Test tree.  also, try removing Apache/BuildConfig.pm from both
> places as well, just in case - I generally start my nightly build scripts
> with
>
>   find /perl/ -name "Apache*" -exec sudo rm -rf {} \;
>
> as I also said, I haven't had any problems running or testing both 2.0 and
> 2.1, but there is some config bleeding that has been present as long as I
> can remember but that has been thus far elusive.

Geoff - I came up with a scheme that doesn't require such extreme
measures. I install all my perl modules by server - not in the perl
path - as:

/home/test/apache2.0
/home/test/apache2.0/lib - .a and .so libraries
/home/test/apache2.0/lib/apache - .so apache mods
/home/test/apache2.0/perl_mods/lib - .pm perl
/home/test/apache2.0/perl_mods/auto - .so etc. perl arch/auto

and likewise for apache2.1

In my http.conf (via a startup script), I do a:

 use lib ("/home/test/apache2.0/perl_mods/lib",
          "/home/test/apache2.0/perl_mods/auto");

and everybody is happy.

NOW, I am testing mod_perl2 (cvs) with Apache2.1 - and -
seg faults _everywhere_. Has anyone tried it yet (I know it is not
supported yet, but I am just wondering)?

I've got core dumps, and will plow into them tonight.

Aloha => Beau;


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to