Skip Menu |

This queue is for tickets about the MasonX-ApacheHandler-WithCallbacks CPAN distribution.

Report information
The Basics
Id: 2867
Status: resolved
Worked: 1.5 hours (90 min)
Priority: 0/
Queue: MasonX-ApacheHandler-WithCallbacks

People
Owner: Nobody in particular
Requestors: slanning [...] theworld.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.98
Fixed in: (no value)



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. :)
Date: Mon, 30 Jun 2003 08:58:59 -0700
Subject: Re: [cpan #2867] installation
From: David Wheeler <david [...] kineticode.com>
To: bug-MasonX-ApacheHandler-WithCallbacks [...] rt.cpan.org
RT-Send-Cc:
On Monday, June 30, 2003, at 02:30 AM, Guest via RT wrote: Show quoted text
> > This message about MasonX-ApacheHandler-WithCallbacks 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=2867 > > > 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).
I'll bet that CPAN does fetch it automatically, but I should probably test for it in Makefile.PL and exit if it isn't installed. If it can't find your apache binary, that's something you should probably report for the Apache::Test module distribution (which includes Apache::TestMM). Show quoted text
> 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. :)
Again, that sounds like an Apache::Test issue. I suggest you report it to them. Regards, David -- David Wheeler AIM: dwTheory david@kineticode.com ICQ: 15726394 http://kineticode.com/ Yahoo!: dew7e Jabber: Theory@jabber.org Kineticode. Setting knowledge in motion.[sm]
I've fixed this in CVS. When I release 0.99 (probably in a week or so), it will be much smarter about handling situations where Apache::Test is not installed. CPAN.pm and CPANPLUS will install Apache::Test for you and then MasonX::ApacheHandler::WithCallbacks will successfully install, too. BTW, to get Apache::Test to use the right Apache binary, you should set either the APXS or the APACHE environment variable before your run the CPAN shell: % export APACHE=/usr/sbin/apache-perl % sudo perl -MCPAN -e shell This will force Apache::Test to use your Apache binary. Thanks for the report! David