Re: [cgiapp] error installing C::A::D
P Kishor wrote: 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 [..] 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. Have you tried local::lib? It's supposed to be suitable for shared environments. -- Richard Jones # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp## #### ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ####
Re: [cgiapp] another oddity installing CGI::Application::Dispatch
On 10/15/2009 08:10 PM, P Kishor wrote: What I don't like about the above is that the build script tried to futz with my Apache conf file (setting ulimit, which, on a Mac OS X machine, actually is problematic), and then tried to restart my Apache server (if I am reading the above output correctly). Dispatch runs under normal CGI and mod_perl (and needs to do different things under each) so it needs to run it's tests against mod_perl. This is done with Apache::Test, which does all it can to start Apache w/mod_perl (hence the ulimit juggling). In any case, C::A::D did not install under ~/perl, as is evident from the above. What gives? It failed the tests. This usually means something is strange with your mod_perl setup. Can you run the tests under verbose to get more output? Also, there's this line: [ error] error running tests (please examine t/logs/error_log) So looking in there would also reveal more information as to why it failed. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp## #### ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ####
Re: [cgiapp] another oddity installing CGI::Application::Dispatch
On Fri, Oct 16, 2009 at 8:17 AM, Michael Peters mpet...@plusthree.com wrote: On 10/15/2009 08:10 PM, P Kishor wrote: What I don't like about the above is that the build script tried to futz with my Apache conf file (setting ulimit, which, on a Mac OS X machine, actually is problematic), and then tried to restart my Apache server (if I am reading the above output correctly). Dispatch runs under normal CGI and mod_perl (and needs to do different things under each) so it needs to run it's tests against mod_perl. This is done with Apache::Test, which does all it can to start Apache w/mod_perl (hence the ulimit juggling). I will look into the other errors, but the above is not advised on Mac OS X. ulimit setting has a problem on Mac OS X, and is best removed. (lots of Google hits on this subject). Another thing -- perhaps a prompt would be advised here saying that We are going to change your Apache conf file, and your Apache server is going to be restarted. Type [restart] to continue, or [cancel the test] to skip the test. The default should be [cancel the test]. In any case, C::A::D did not install under ~/perl, as is evident from the above. What gives? It failed the tests. This usually means something is strange with your mod_perl setup. Can you run the tests under verbose to get more output? Also, there's this line: [ error] error running tests (please examine t/logs/error_log) So looking in there would also reveal more information as to why it failed. -- Michael Peters Plus Three, LP -- 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 === Sent from Madison, WI, United States # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp## #### ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ####
Re: [cgiapp] another oddity installing CGI::Application::Dispatch
On 10/16/2009 09:47 AM, P Kishor wrote: Another thing -- perhaps a prompt would be advised here saying that We are going to change your Apache conf file, and your Apache server is going to be restarted. Type [restart] to continue, or [cancel the test] to skip the test. The default should be [cancel the test]. It doesn't really work like that. Apache::Test doesn't change your apache config, it just uses the existing apache/mod_perl binary with it's own config file. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp## #### ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ####