[jifty-devel] FCGI dependencies broken with Plack

Chia-liang Kao clkao at bestpractical.com
Wed Mar 17 23:09:53 EDT 2010


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jifty.org/pipermail/jifty-devel/attachments/20100318/a38c0e97/attachment.htm 


More information about the jifty-devel mailing list