after upgrading to Plack 0.9935 and Jifty HEAD, the problem is gone.






________________________________
From: Chia-liang Kao <cl...@bestpractical.com>
To: Nifty apps in a Jiffy <jifty-devel@lists.jifty.org>
Sent: Thu, March 18, 2010 4:09:53 AM
Subject: Re: [jifty-devel] FCGI dependencies broken with Plack

Hi,


On 2010/3/12, at 下午 8:39, Stanislav Sinyagin wrote:

hi,
>
>just upgraded to the latest GIT head. Out of the box, the makefile does not 
>install FCGI 
>pre-requisites, and Plack tests look like this:
>
>t/Plack-Handler/apache1.t ....................... skipped: Test requires 
>module 'Apache::Constants' but it's not found
>t/Plack-Handler/apache2.t ....................... skipped: TEST_APACHE2 is not 
>set
>t/Plack-Handler/cgi.t ........................... skipped: Test requires 
>module 'HTTP::Request::AsCGI' but it's not found
>t/Plack-Handler/fcgi.t .......................... skipped: Test requires 
>module 'FCGI::ProcManager' but it's not found
>t/Plack-Handler/fcgi_client.t ................... skipped: Test requires 
>module 'FCGI::Client' but it's not found
>t/Plack-Handler/http_server_simple.t ............ skipped: Test requires 
>module 'HTTP::Server::Simple::PSGI' but it's not found
>t/Plack-Handler/standalone-prefork.t ............ skipped: Test requires 
>module 'Parallel::Prefork' but it's not found
>
>
>as a result, my FCGI installation stopped working.
>It still doesn't work after I installed FCGI::ProcManager and FCGI::Client:
>
>

I've added FCGI::ProcManager to dependency, thanks!

2010-03-12 13:37:52: (mod_fastcgi.c.2618) FastCGI-stderr: Can't call method 
"read" without a package or object reference at 
/usr/lib/perl5/site_perl/5.8.8/Plack/Request.pm line 94.
>
>
I can't seem to reproduce this... how is your fastcgi instance being configured?


I am using FCGI::ProcManager 0.19 and Plack 0.9917

my apache conf is something like:

FastCgiIpcDir /tmp/fastcgi-foo

FastCgiServer /path/to/my-jifty-project/bin/jifty -initial-env 
PATH=/Users/clkao/perl5.10/bin:/bin:/usr/bin:/usr/local/bin -initial-env 
JIFTY_COMMAND=fastcgi -processes 3 -idle-timeout 1200
ScriptAlias /  /path/to/my-jifty-project/bin/jifty/

Cheers,
CLK
_______________________________________________
jifty-devel mailing list
jifty-devel@lists.jifty.org
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel

Reply via email to