<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">after upgrading to Plack 0.9935 and Jifty HEAD, the problem is gone.<br><br><br><div><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Chia-liang Kao &lt;clkao@bestpractical.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Nifty apps in a Jiffy &lt;jifty-devel@lists.jifty.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, March 18, 2010 4:09:53 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [jifty-devel] FCGI dependencies broken with Plack<br></font><br>
<meta http-equiv="x-dns-prefetch-control" content="off">Hi,<div><br><div><div>On 2010/3/12, at 下午 8:39, Stanislav Sinyagin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>hi,<br><br>just upgraded to the latest GIT head. Out of the box, the makefile does not install FCGI <br>pre-requisites, and Plack tests look like this:<br><br>t/Plack-Handler/apache1.t ....................... skipped: Test requires module 'Apache::Constants' but it's not found<br>t/Plack-Handler/apache2.t ....................... skipped: TEST_APACHE2 is not set<br>t/Plack-Handler/cgi.t ........................... skipped: Test requires module 'HTTP::Request::AsCGI' but it's not found<br>t/Plack-Handler/fcgi.t .......................... skipped: Test requires module 'FCGI::ProcManager' but it's not found<br>t/Plack-Handler/fcgi_client.t ................... skipped: Test requires module 'FCGI::Client' but it's not
 found<br>t/Plack-Handler/http_server_simple.t ............ skipped: Test requires module 'HTTP::Server::Simple::PSGI' but it's not found<br>t/Plack-Handler/standalone-prefork.t ............ skipped: Test requires module 'Parallel::Prefork' but it's not found<br><br><br>as a result, my FCGI installation stopped working.<br>It still doesn't work after I installed FCGI::ProcManager and FCGI::Client:<br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144fae"><br></font></font></div></blockquote><div><br></div><div><div>I've added FCGI::ProcManager to dependency, thanks!</div><div><br></div></div><blockquote type="cite"><div>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.<br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span"
 color="#144fae"><br></font></font></div></blockquote><div><br></div>I can't seem to reproduce this... how is your fastcgi instance being configured?<br><div><br></div><div>I am using FCGI::ProcManager 0.19 and Plack 0.9917</div><div><br></div><div>my apache conf is something like:</div><div><br></div><div><div>FastCgiIpcDir /tmp/fastcgi-foo</div><div><br></div><div>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</div><div>ScriptAlias / &nbsp;/path/to/my-jifty-project/bin/jifty/</div></div></div></div><div><br></div><div>Cheers,</div><div>CLK</div><div><br></div><meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
</div></body></html>