Jens Porup wrote:
Greetings all,

When I try to install Apache::Test on my Debian-based Libranet Linux system,
make test fails as below.

I have searched the archives--correctly, I hope!--but nothing has turned up.

speculation--does this have something to do with Debian calling apache
/usr/sbin/apache, as opposed to /usr/sbin/httpd? I've tried creating symlinks
between the two possible locations of the executable, and even a t/httpd
symlink, but to no avail.

Any help with this would be much appreciated.

No, it fails due to the fact that you unpacked it under /root, since Apache running with user nobody can't access the files under /root. Move your .cpan directory to /tmp or some other place that is readable by 'nobody' and it'll work.


I'll upload a new version soon that detects this problem early and explains it. Some time later we will have a workaround for this. (need to copy some files from t/ to /tmp and run the server from /tmp/t...).

Regards,

Jens


[EMAIL PROTECTED]:~/.cpan/build/Apache-Test-1.03# make test /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -clean *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -clean APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \ /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -verbose=0 *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -verbose=0 *** root mode: changing the fs ownership to 'nobody' (65534:65534) /usr/sbin/httpd -X -d /root/.cpan/build/Apache-Test-1.03/t -f /root/.cpan/build/Apache-Test-1.03/t/conf/httpd.conf -DAPACHE1 -DPERL_USEITHREADS using Apache/1.3.27

waiting for server to start: .
waiting for server to start: ok (waited 0 secs)
server localhost:8529 started
ping.......ok
request....NOK 1# Failed test 1 in request.t at line 11
request....NOK 5# Failed test 5 in request.t at line 16
request....NOK 8# Failed test 8 in request.t at line 20
request....NOK 9# Failed test 9 in request.t at line 22
request....FAILED tests 1, 5, 8-9
        Failed 4/9 tests, 55.56% okay
                Failed Test Stat Wstat Total Fail  Failed  List of Failed
                
-------------------------------------------------------------------------------
                request.t                  9    4  44.44%  1 5 8-9
                *** server localhost:8529 shutdown
                !!! error running tests (please examine t/logs/error_log)
                make: *** [run_tests] Error 1
[EMAIL PROTECTED]:~/.cpan/build/Apache-Test-1.03#






--


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to