[cgiapp] Installing CGI::Application::Dispatch

Paulo_odos pcortizo at odos.com.br
Tue Mar 31 08:07:26 EDT 2009


Dears, even at risk of proposing an off-topic, I'd like to know your 
opinion about this question. I consider the CGI::Application a gorgeous 
framework. It creates the "Best of the Worlds" connecting the MVC model 
with the CGI simplicity. In my opinion this is particularly valuable 
when you wish to use it in hosts with shared servers. This possibility 
extends considerably its use at the Internet because perl has a 
perl-efficient platform for internet begginers.
Congratulations to all involved.

The only thing we need is to install the modules required in the host. 
The biggers hosts, those which provide Linux with shell access and perl, 
allow some kind of automated installation. In my case, through CPanel 
BlueHost remains the options of:

i) install a module
ii) remove a module
iii) update a module to the last version

I Installed the CGI::Application (4.21) and lots of plugins without 
problems.

The CGI::Application::Dispatch installed was requesting the module 
correctly but wasn't sendind the right parameters, so I decided to 
update it. Unfortunnately it cannot install the version 2.16 or 
reinstall the old version.

The BlueHost support doesn't help enough, they said that what I can't 
install through CPanel just cannot be used.

I wonder if anyone has any tips to help, other than change the host.

Below is the report of the attempt to install. Despite they said that 
the modules below are pre-requisites not installed they are installed.

Test::LongString
CGI::Application
Exception::Class
Exception::Class::TryCatch


===========================================================

Creating missing directory /tmp/perl_install.work.zdNxqnc4hST_rm5e
Method: Perl Expect
Creating missing directory /tmp/perl_install.work.KcwLQu_jjEJg20nF
Testing connection speed...(using fast method)...Done
Ping:16.735 Testing connection speed to cpan.schatt.com using 
pureperl...(107266.67 bytes/s)...Done
Ping:157.974 Testing connection speed to cpan.wanadoo.nl using 
pureperl...(9781.25 bytes/s)...Done
Three usable mirrors located
Mirror Check passed for cpan.schatt.com (/index.html)
CPAN: Storable loaded ok (v2.18)
CPAN: LWP::UserAgent loaded ok (v5.822)
CPAN: Time::HiRes loaded ok (v1.9719)
Fetching with LWP:
  http://cpan.schatt.com/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.68)
Going to read 
/tmp/perl_install.work.KcwLQu_jjEJg20nF/.cpan/sources/authors/01mailrc.txt.gz
............................................................................DONE
Fetching with LWP:
  http://cpan.schatt.com/modules/02packages.details.txt.gz
Going to read 
/tmp/perl_install.work.KcwLQu_jjEJg20nF/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Sat, 28 Mar 2009 01:26:57 GMT
............................................................................DONE
Fetching with LWP:
  http://cpan.schatt.com/modules/03modlist.data.gz
Going to read 
/tmp/perl_install.work.KcwLQu_jjEJg20nF/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Going to write /tmp/perl_install.work.KcwLQu_jjEJg20nF/.cpan/Metadata
Running install for module 'CGI::Application::Dispatch'
Running make for M/MA/MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz
Fetching with LWP:
  
http://cpan.schatt.com/authors/id/M/MA/MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Fetching with LWP:
  http://cpan.schatt.com/authors/id/M/MA/MARKSTOS/CHECKSUMS
Checksum for 
/tmp/perl_install.work.KcwLQu_jjEJg20nF/.cpan/sources/authors/id/M/MA/MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz 
ok
CGI-Application-Dispatch-2.16/
CGI-Application-Dispatch-2.16/TODO
CGI-Application-Dispatch-2.16/lib/
CGI-Application-Dispatch-2.16/lib/CGI/
CGI-Application-Dispatch-2.16/lib/CGI/Application/
CGI-Application-Dispatch-2.16/lib/CGI/Application/Dispatch.pm
CGI-Application-Dispatch-2.16/lib/CGI/Application/Dispatch/
CGI-Application-Dispatch-2.16/lib/CGI/Application/Dispatch/Regexp.pm
CGI-Application-Dispatch-2.16/Changes
CGI-Application-Dispatch-2.16/META.yml
CGI-Application-Dispatch-2.16/Build.PL
CGI-Application-Dispatch-2.16/MANIFEST
CGI-Application-Dispatch-2.16/t/
CGI-Application-Dispatch-2.16/t/lib/
CGI-Application-Dispatch-2.16/t/lib/Module/
CGI-Application-Dispatch-2.16/t/lib/Module/Name.pm
CGI-Application-Dispatch-2.16/t/lib/MyApp/
CGI-Application-Dispatch-2.16/t/lib/MyApp/Dispatch.pm
CGI-Application-Dispatch-2.16/t/lib/MyApp/Module/
CGI-Application-Dispatch-2.16/t/lib/MyApp/Module/Bad.pm
CGI-Application-Dispatch-2.16/t/lib/MyApp/Module/Name.pm
CGI-Application-Dispatch-2.16/t/lib/MyApp/Module/Rest.pm
CGI-Application-Dispatch-2.16/t/lib/MyApp/DispatchTable.pm
CGI-Application-Dispatch-2.16/t/lib/MyApp/DispatchRest.pm
CGI-Application-Dispatch-2.16/t/conf/
CGI-Application-Dispatch-2.16/t/conf/modperl_extra.pl
CGI-Application-Dispatch-2.16/t/conf/extra.conf.in
CGI-Application-Dispatch-2.16/t/cgi.t
CGI-Application-Dispatch-2.16/t/handler.t
CPAN: File::Temp loaded ok (v0.21)

  CPAN.pm: Going to build M/MA/MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz

Checking whether your kit is complete...
Looks good

Checking prerequisites...
 - ERROR: Test::LongString is not installed
 - ERROR: CGI::Application is not installed
 - ERROR: Exception::Class is not installed
 - ERROR: Exception::Class::TryCatch is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the 
versions
of the modules indicated above before proceeding with this installation

Creating new 'Build' script for 'CGI-Application-Dispatch' version '2.16'
CPAN: Module::Build loaded ok (v0.32)
  MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz
  ./Build -- NOT OK
Running Build install
  Make had returned bad status, install seems impossible
perlmod--Install done



More information about the cgiapp mailing list