Subject: | installation |
MasonX::ApacheHandler::WithCallbacks 0.98
perl 5.8.0 built for i386-linux-thread-multi, on Debian
----
CPAN.pm: Going to build
D/DW/DWHEELER/MasonX-ApacheHandler-WithCallbacks-0.98.tar.gz
Can't locate Apache/TestMM.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0
/usr/local/lib/site_perl .) at Makefile.PL line 5.
BEGIN failed--compilation aborted at Makefile.PL line 5.
Obviously I don't have Apache::TestMM, but for some reason
CPAN doesn't fetch it automatically. I note that Apache::TestMM
did not install initially on Debian because httpd isn't in $PATH
(in fact they call the apache binary 'apache' instead of 'httpd',
which I'll agree is moronic).
After installing Apache::TestMM,
*** root mode: changing the fs ownership to 'nobody' (65534:65534)
/usr/sbin/httpd -X -d
/root/.cpan/build/MasonX-ApacheHandler-WithCallbacks-0.98/t -f
/root/.cpan/build/MasonX-ApacheHandler-WithCallbacks-0.98/t/conf/httpd.conf
-DAPACHE1 -DPERL_USEITHREADS
Syntax error on line 13 of
/root/.cpan/build/MasonX-ApacheHandler-WithCallbacks-0.98/t/conf/extra.conf:
using Apache/1.3.27
waiting for server to start: .Invalid command 'PerlSetVar', perhaps mis-spelled
or defined by a module not included in the server configuration
!!!
Oh, it needs the mod_perl-based httpd (apache-perl on Debian).
And so changing the symlink, it finally installs. :)