make test of Apache::SSI
Hi, I am installing Apache::SSI under Mod_perl.. When I ran make test I have permission denied when it trying to start httpd , therefore the test failed. My httpd was running under (root, other) as the (user, group). At perl Makefile.PL I specified the user as root and group as other, but still can't get permission to run the test, May be this test is not important, but Is there any body knows how to successfully test the build? Thanks, PC Wang
Re: make test of Apache::SSI
On Mon, 15 May 2000, Wang, Pin-Chieh wrote: I am installing Apache::SSI under Mod_perl.. When I ran make test I have permission denied when it trying to start httpd , therefore the test failed. It doesn't work for me either. I think Ken was going to make this test optional. Anyway, if you're using CPAN to install (which I assume you are, because this wouldn't be a problem for you otherwise) you can just do a "force install". - Perrin
Re: make test of Apache::SSI
On Mon, 15 May 2000, Ken Williams wrote: I'd prefer to figure out why the test is failing, because most of the real testing is done using that test. But it's difficult because I've never seen the test fail. Looks like the problem lies in this line in t/real.t: my $HTTPD = "/home/ken/http/httpd"; This results in the following message, even if I supply a path to my httpd: t/real..Starting http server... /home/ken/http/httpd doesn't exist or isn't executable. Edit real.t if you want to test with a real apache server. Aborting real.t at real.t line 79. Shouldn't the path I give to the Makefile.PL override this one? By the way, this one does let me skip the test if I want to. Maybe it was Filter's test that didn't have an opt-out. - Perrin
Re: make test of Apache::SSI
[EMAIL PROTECTED] (Perrin Harkins) wrote: On Mon, 15 May 2000, Ken Williams wrote: I'd prefer to figure out why the test is failing, because most of the real testing is done using that test. But it's difficult because I've never seen the test fail. Looks like the problem lies in this line in t/real.t: my $HTTPD = "/home/ken/http/httpd"; Oh my goodness! I thought I fixed that long ago. The path isn't being set by the user anywhere. I'll release a new version with the fixes now. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum
RE: make test of Apache::SSI
The message is T/fake ..ok T/real ..Starting http server...cat: cannot open t/httpd.pid Sh: usage: kill [ [ -sig ] id...| -l ] I looked t/real.t file where user, group are pwang,user respectively, port is 80. Thanks, PC Wang -Original Message- From: Ken Williams [mailto:[EMAIL PROTECTED]] Sent: Monday, May 15, 2000 4:29 PM To: Perrin Harkins Cc: '[EMAIL PROTECTED]'; Wang, Pin-Chieh Subject:Re: make test of Apache::SSI [EMAIL PROTECTED] (Perrin Harkins) wrote: On Mon, 15 May 2000, Wang, Pin-Chieh wrote: I am installing Apache::SSI under Mod_perl.. When I ran make test I have permission denied when it trying to start httpd , therefore the test failed. It doesn't work for me either. I think Ken was going to make this test optional. Anyway, if you're using CPAN to install (which I assume you are, because this wouldn't be a problem for you otherwise) you can just do a "force install". I'd prefer to figure out why the test is failing, because most of the real testing is done using that test. But it's difficult because I've never seen the test fail. What permission is denied? Permission to start httpd? Perhaps you could capture the httpd.conf file that's generated and try starting the server by hand using that file. It shouldn't be too tough to figure out why it's failing if you try that (though Apache's error messages often leave a lot to the imagination). Let me know. --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum