httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McEntire <>
Subject Problem building Apache::Test module on RHEL WS 3.0
Date Wed, 01 Dec 2004 20:46:55 GMT
   I checked the archived mailing lists but didn't find any references to 
this question. I had one hit in Google, but it was someone asking 
basically the same question and there was no answer in the thread. So here 
I go, hope someone can help!

   I first tried to build Apache::Test v1.16 via PERL CPAN. I gave a 
warning message because I was running as root and it needed to drop priv 
to nobody but that meant all dirs needed to be rwx for nobody down to 
.../Apache-Test-1.16/t. The make test process gave an informative 
suggestion that this can be accomplished by moving Apache-Test-1.16 into 
/tmp. I did that and then did a find to chmod all dirs below and including 
Apache-Test-1.16 to 777.

   I did a make clean
   perl Makefile.PL
   make test

This time I get a different error message, it appears to success past the 
original 'nobody' problem. The output is:

[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /tmp/Apache-Test-1.16/t/TEST -bugreport 
APXS (/usr/sbin/apxs) query for SBINDIR failed
APXS (/usr/sbin/apxs) query for TARGET failed
APXS (/usr/sbin/apxs) query for SYSCONFDIR failed
APXS (/usr/sbin/apxs) query for LIBEXECDIR failed
APXS (/usr/sbin/apxs) query for LIBEXECDIR failed
[warning] root mode: changing the files ownership to 'nobody' (99:99)
[warning] testing whether 'nobody' is able to -rwx /tmp/Apache-Test-1.16/t
"/usr/bin/perl" -Mlib=lib -MApache::TestRun -e 'eval { 
Apache::TestRun::run_root_fs_test(99, 99, q[/tmp/Apache-Test-1.16/t]) }';

[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/usr/sbin/httpd  -d /tmp/Apache-Test-1.16/t -f 
/tmp/Apache-Test-1.16/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.0.46 (prefork MPM)

waiting 60 seconds for server to start: .Syntax error on line 92 of 
Invalid command 'TypesConfig', perhaps mis-spelled or defined by a module 
not included in the server configuration
[  error]
server has died with status 255 (t/logs/error_log wasn't created, start 
the server in the debug mode)
make: *** [run_tests] Error 143

- - -

I've attached /tmp/Apache-Test-1.16/t/conf/httpd.conf to this e-mail. 
Specifically, line 92 is:

TypesConfig "/tmp/Apache-Test-1.16/t/conf/mime.types"

Is TypesConfig not recognized by Apache/2.0.46 (the latest Apache that 
comes with RedHat Enterprise Linux Workstation version 3.0)?

I thought about exiting the t/conf/httpd.conf file but it says not to 
right at the top.

Also, during make test, it asks where apxs is installed but says, "If you 
don't have it installed it's not a problem. Just press Enter."

I don't know if that is related to this or not, but I did see APXS ... 
failed messages during the make test.

Thanks for any help! If you need anymore details or need to run some 
tests, I'll be happy to.
View raw message