Skip Menu |

This queue is for tickets about the Apache-Test CPAN distribution.

Report information
The Basics
Id: 3860
Status: resolved
Priority: 0/
Queue: Apache-Test

People
Owner: stas [...] stason.org
Requestors: william [...] knowmad.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.03
Fixed in: (no value)



Subject: make test is unable to locate httpd in PATH
While trying to install Apache::Test on a Perl 5.6.1 Linux system, I am getting the following error: !!! no test server configured, please specify an httpd or an apxs other than /usr/bin/apxs or put either in your PATH. For example: t/TEST -httpd /path/to/bin/httpd I placed the path to the httpd daemon in my PATH environment as recommended, but I continue to receive the above error. I tracked this error message back to Apache::TestRun which checks the value of httpd from the configuration. This gets set in Apache::TestConfig::configure_httpd. My debugging showed that this subroutine is only checking the /usr/sbin directory for the httpd file. Either I have something wrong with my setup or the configure_httpd subroutine is broken. BTW, I am using Bash as my shell. I was able to get past this hurdle by running the test suite using t/TEST -httpd /usr/local/apache/bin/httpd Thanks, William
Date: Wed, 01 Oct 2003 16:26:00 -0700
From: Stas Bekman <stas [...] stason.org>
To: test-dev [...] httpd.apache.org, Guest via RT <bug-Apache-Test [...] rt.cpan.org>
Subject: Re: [cpan #3860] make test is unable to locate httpd in PATH
RT-Send-Cc:
Show quoted text
> This message about Apache-Test was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=3860 > > > While trying to install Apache::Test on a Perl 5.6.1 Linux system, I am > getting the following error: > > !!! no test server configured, please specify an httpd or an apxs other > than /usr/bin/apxs or put either in your PATH. For example: > t/TEST -httpd /path/to/bin/httpd > > I placed the path to the httpd daemon in my PATH environment as > recommended, but I continue to receive the above error. I tracked this > error message back to Apache::TestRun which checks the value of httpd > from the configuration. This gets set in > Apache::TestConfig::configure_httpd. > > My debugging showed that this subroutine is only checking the /usr/sbin > directory for the httpd file. Either I have something wrong with my > setup or the configure_httpd subroutine is broken. BTW, I am using Bash > as my shell. > > I was able to get past this hurdle by running the test suite using > t/TEST -httpd /usr/local/apache/bin/httpd
Yup, it's still in flux and the error message should be improved. Glad to see that you've figure how to do it. We are working on improving things on that front and will provide an interactive question/answer setup in the future releases of Apache-Test. Thanks for bearing with us. Show quoted text
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com