[cgiapp] CGI::Application::Dispatch Install Issues

Ron Savage ron at savage.net.au
Fri Mar 7 17:02:34 EST 2008


Hi Todd

On Fri, 2008-03-07 at 09:34 -0600, Todd Ross wrote:
> I've seen quite a few posts on this list concerning 
> CGI::Application::Dispatch.  I'd like to try it out.  Installing it, 
> however, seems to be a problem.  Since there is no README or INSTALL 
> included in the archive, I'm following the normal Makefile.PL (or 
> Build.PL) procedures.

It's a marvellous package. Highly recommended.

> [me at unixbox1:~/perltemp/CGI-Application-Dispatch-2.12]> ls
> Build.PL     Changes      lib          Makefile.PL  MANIFEST     META.yml  
>   t            TODO

I just reinstalled this same version. See below.

> [me at unixbox1:~/perltemp/CGI-Application-Dispatch-2.12]> perl Makefile.PL
> This module can optionally use Apache::Test to test the mod_perl 
> functionality.
> Undefined subroutine &ExtUtils::MakeMaker::prompt called at Makefile.PL 
> line 31, <DATA> line 547.
 
Makefile.PL failed for me when trying to automatically install Apache::Test.
Forget Makefile.PL.

> [me at unixbox1:~/perltemp/CGI-Application-Dispatch-2.12]> perl Build.PL
> Can't locate object method "new" via package "Module::Build" (perhaps you 
> forgot to load "Module::Build"?) at Build.PL line 2.

Build.PL recommends Apache::Test so I installed it with:
shell> perl -MCPAN -e 'install Apache::Test'

After that, Build.PL worked perfectly.

Do you have Module::Build installed? If not, install it as I did with
Apache::Test. Do Apache::Test too, of course. Then try again, and tell
us what happens.

-- 
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html




More information about the cgiapp mailing list