atom feed6 messages in ru.sysoev.nginxRe: chunkin module is not working
FromSent OnAttachments
Yanxin Z.Mar 24, 2011 3:11 pm 
Francis DalyMar 24, 2011 4:33 pm 
Antoine BonavitaMar 25, 2011 5:59 am 
vetriMar 28, 2011 9:56 pm 
Alexander KunzMar 28, 2011 10:53 pm 
vetriMar 28, 2011 11:43 pm 
Subject:Re: chunkin module is not working
From:Antoine Bonavita (anto@gmail.com)
Date:Mar 25, 2011 5:59:53 am
List:ru.sysoev.nginx

On Thu, Mar 24, 2011 at 11:12 PM, Yanxin Z. <lis@ruby-forum.com> wrote:

Another question is test cmd: I have bunch of these errors: .......... t/pressure......dubious        Test returned status 2 (wstat 512, 0x200) t/random........Can't locate Test/Nginx/Socket.pm in @INC (@INC contains: inc lib t/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at t/lib/Test/Nginx/Socket/Chunkin.pm line 5. BEGIN failed--compilation aborted at t/lib/Test/Nginx/Socket/Chunkin.pm line 5. Compilation failed in require at t/random.t line 4. BEGIN failed--compilation aborted at t/random.t line 4. ..........

Could you help me to figure out the problem?

The problem wit the test command is that you should have Test::Nginx installed. You can get it from CPAN with something like that: perl -MCPAN -e 'install Test::Nginx'

If you're missing some dependencies, something like that can do the trick (did for me on Fedora Core 14): yum install perl-CPAN perl-Test-Base perl-Test-LongString perl-List-MoreUtils

And you don't have to run tests for the chunkin module to work...

Cheers,

Antoine.

Thank you so much. Yanxin