|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
another oddity installing CGI::Application::DispatchI decided to try a potential alternative route to using various
modules on a shared web host. I thought I would install them into a local (non-root) directory on my computer, and then upload them to the web host. As long as the modules are pure perl, they should work, no? So, I re-configured cpan to install modules under ~/perl. I was able to install CGI::Simple and CGI::Application successfully under ~/perl, but C::A::D failed again. I got the following error MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz ./Build -- OK Running Build test /usr/local/bin/perl -I /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/blib/lib -I /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/blib/arch t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/local/bin/perl /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/t/TEST -clean /usr/local/bin/perl -I /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/blib/lib -I /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/blib/arch t/TEST -bugreport -verbose=0 [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/local/bin/perl /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/t/TEST -bugreport -verbose=0 /usr/sbin/httpd -d /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/t -f /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/t/conf/httpd.conf -D APACHE2 using Apache/2.2.11 (prefork MPM) waiting 60 seconds for server to start: .... waiting 60 seconds for server to start: ok (waited 3 secs) server localhost:8529 started t/cgi........ok t/handler.... # Failed test at t/handler.t line 27. t/handler....NOK 1/61 # Failed test at t/handler.t line 215. t/handler....NOK 2/61 # Failed test at t/handler.t line 37. t/handler....NOK 3/61 t/handler....NOK 4/61# Failed test at t/handler.t line 215. # Failed test at t/handler.t line 47. t/handler....NOK 6/61 # Failed test at t/handler.t line 215. # Failed test at t/handler.t line 59. t/handler....NOK 7/61 # Failed test at t/handler.t line 215. t/handler....NOK 8/61 # Failed test at t/handler.t line 65. t/handler....NOK 9/61 # Failed test at t/handler.t line 215. t/handler....NOK 10/61 # Failed test at t/handler.t line 75. t/handler....NOK 11/61 # Failed test at t/handler.t line 215. t/handler....ok 13/61 # Failed test 'not found - no module' # at t/handler.t line 88. # got: '500' t/handler....NOK 14/61# expected: '404' t/handler....ok 17/61 # Failed test 'not found: no run mode' # at t/handler.t line 98. # got: '500' # expected: '404' t/handler....NOK 18/61 t/handler....NOK 20/61# Failed test 'server error: invalid characters' # at t/handler.t line 103. # got: '500' # expected: '400' # Failed test at t/handler.t line 111. t/handler....NOK 21/61 # Failed test at t/handler.t line 215. t/handler....NOK 22/61 t/handler....NOK 23/61# Failed test at t/handler.t line 215. # Failed test at t/handler.t line 117. t/handler....NOK 24/61 t/handler....NOK 25/61# Failed test at t/handler.t line 215. # Failed test at t/handler.t line 215. t/handler....NOK 26/61 # Failed test at t/handler.t line 123. t/handler....NOK 27/61 # Failed test at t/handler.t line 215. t/handler....NOK 28/61 # Failed test at t/handler.t line 215. t/handler....NOK 29/61 # Failed test at t/handler.t line 133. t/handler....NOK 30/61 # Failed test at t/handler.t line 215. t/handler....NOK 31/61 # Failed test at t/handler.t line 215. t/handler....NOK 32/61 # Failed test at t/handler.t line 143. t/handler....NOK 33/61 # Failed test at t/handler.t line 215. t/handler....NOK 34/61 t/handler....NOK 35/61# Failed test at t/handler.t line 215. # Failed test at t/handler.t line 149. t/handler....NOK 36/61 # Failed test at t/handler.t line 215. t/handler....NOK 37/61 # Failed test at t/handler.t line 215. t/handler....NOK 38/61 # Failed test at t/handler.t line 155. t/handler....NOK 39/61 # Failed test at t/handler.t line 215. t/handler....NOK 40/61 t/handler....NOK 41/61# Failed test at t/handler.t line 215. # Failed test at t/handler.t line 161. t/handler....NOK 42/61 # Failed test at t/handler.t line 215. t/handler....NOK 43/61 # Failed test at t/handler.t line 215. t/handler....NOK 44/61 # Failed test at t/handler.t line 167. t/handler....NOK 45/61 # Failed test at t/handler.t line 215. t/handler....NOK 46/61 # Failed test at t/handler.t line 215. t/handler....NOK 47/61 # Failed test at t/handler.t line 178. t/handler....NOK 48/61 t/handler....NOK 49/61# Failed test at t/handler.t line 215. # Failed test at t/handler.t line 183. # Failed test at t/handler.t line 215. t/handler....NOK 51/61 # Failed test at t/handler.t line 188. t/handler....NOK 52/61 # Failed test at t/handler.t line 215. t/handler....NOK 53/61 # Failed test at t/handler.t line 193. # Failed test at t/handler.t line 215. t/handler....NOK 55/61 # Failed test at t/handler.t line 198. t/handler....NOK 56/61 # Failed test at t/handler.t line 215. t/handler....ok 58/61 # Failed test at t/handler.t line 204. t/handler....NOK 59/61 # Failed test at t/handler.t line 215. t/handler....ok 61/61# Looks like you failed 54 tests of 61. t/handler....dubious Test returned status 54 (wstat 13824, 0x3600) DIED. FAILED tests 1-12, 14, 18, 20-57, 59-60 Failed 54/61 tests, 11.48% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/handler.t 54 13824 61 54 1-12 14 18 20-57 59-60 Failed 1/2 test scripts. 54/89 subtests failed. Files=2, Tests=89, 12 wallclock secs ( 0.46 cusr + 0.09 csys = 0.55 CPU) Failed 1/2 test programs. 54/89 subtests failed. [warning] server localhost:8529 shutdown [ error] error running tests (please examine t/logs/error_log) MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz ./Build test -- OK Running Build install Prepending /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/blib/arch /Users/punkish/.cpan/build/CGI-Application-Dispatch-2.16-87kGqY/blib/lib to PERL5LIB for 'install' Skipping /usr/local/lib/perl5/site_perl/5.8.8/CGI/Application/Dispatch.pm (unchanged) Skipping /usr/local/lib/perl5/site_perl/5.8.8/CGI/Application/Dispatch/Regexp.pm (unchanged) Installing /usr/local/man/man3/CGI::Application::Dispatch.3 Installing /usr/local/man/man3/CGI::Application::Dispatch::Regexp.3 Writing /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/CGI/Application/Dispatch/.packlist MARKSTOS/CGI-Application-Dispatch-2.16.tar.gz sudo ./Build install -- OK ############ 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). In any case, C::A::D did not install under ~/perl, as is evident from the above. What gives? -- 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: another oddity installing CGI::Application::DispatchOn 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: another oddity installing CGI::Application::DispatchOn Fri, Oct 16, 2009 at 8:17 AM, Michael Peters <mpeters@...> 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: another oddity installing CGI::Application::DispatchOn 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/ ## ## ## ################################################################ |
| Free embeddable forum powered by Nabble | Forum Help |