[cgiapp] error installing C::A::D

P Kishor punk.kish at gmail.com
Thu Oct 15 19:30:13 EDT 2009


I am trying to set up my application on a shared web hosting service
(a2hosting.com)

Trying to install CGI::Application::Dispatch, using their web-based
interface, throws up the following error

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.35)
Copying lib/CGI/Application/Dispatch/Regexp.pm ->
blib/lib/CGI/Application/Dispatch/Regexp.pm
Copying lib/CGI/Application/Dispatch.pm -> blib/lib/CGI/Application/Dispatch.pm
Manifying blib/lib/CGI/Application/Dispatch/Regexp.pm ->
blib/libdoc/CGI::Application::Dispatch::Regexp.3pm
Manifying blib/lib/CGI/Application/Dispatch.pm ->
blib/libdoc/CGI::Application::Dispatch.3pm
  MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz
  ./Build -- OK
Running Build install
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/lib/perl5/site_perl/5.8.8/CGI/Application'
mkdir /usr/lib/perl5/site_perl/5.8.8/CGI: Permission denied at
/usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 457

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at /usr/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm line 2988
  MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz
  ./Build install  -- NOT OK


Seems like the build script wants to install stuff in /usr/lib/...
but, of course, I don't have access to /usr/lib... on a shared host.
They provide ~/perl as the destination.

What am I to do?


-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================


More information about the cgiapp mailing list