Chris Devers <[EMAIL PROTECTED]> writes:

[...]

> The second half of the libapreq install asks me to do the following:
> 
>     $ /sw/bin/perl Makefile.PL -apxs /usr/local/apache/sbin/apxs
>     $ make
>     $ make test
> 
> And that's where everything explodes:
> 
>     $ make test
>     /sw/bin/perl -Iblib/arch -Iblib/lib \
>     t/TEST -clean
>     *** setting ulimit to allow core files
>     ulimit -c unlimited; t/TEST -clean
>     APXS (/usr/local/apache/sbin/apxs) query for SYSCONFDIR failed

That error is new to me...

>     APACHE_USER=www APACHE_GROUP=www APACHE_PORT= APACHE= APXS= \
                                                                 ^^^

also Apache::Test isn't picking up your APXS setting.
As a random guess, try using 

  % perl Makefile.PL -httpd /usr/local/apache/sbin/httpd
  % make test

and see if that works.  Otherwise, the INSTALL document 
recommends using environment settings for APXS or APACHE
instead of the command-line argument.

> If this person's problem was resolved, it seems to have happened offline:
> I don't see any conclusion from him/her, just a handful of suggestions
> that might or might not have helped him. Based on a suggestion Randy Kobes
> gave in that thread, I tried giving Makefile.PL the httpd binary, as:
> 
>     % /sw/bin/perl Makefile.PL \
>     > -apxs /usr/local/apache/sbin/apxs \
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Have you tried dropping this argument?

>     > -httpd /usr/local/apache/sbin/httpd

> So. libapreq fails on make test, when running against Fink's Perl5.8, a
> hand-rolled Apache 1.3.27 / mod_perl 1.27 combo running on OSX 10.2.6.
> 
> In a nutshell.

Is mod_so compiled into your httpd?  It isn't a requirement for
libapreq, but that may cause the "-apxs" argument to do unhelpful 
things to the test suite.
 
-- 
Joe Schaefer

Reply via email to