chunkin module is not working

Antoine Bonavita antoine.bonavita at gmail.com
Fri Mar 25 16:00:30 MSK 2011


On Thu, Mar 24, 2011 at 11:12 PM, Yanxin Z. <lists at 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
>
> --
> Posted via http://www.ruby-forum.com/.
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list