IF i make the make test:<br><br>t/02graceful.t ....... 1/? [Test::TCP] Child process does not block(PID: 32413, PPID: 32412) at /usr/local/share/perl5/Test/TCP.pm line 121.<br>t/02graceful.t ....... ok <br>t/03post.t ........... 32426 at t/03post.t line 9.<br>
Plack::Handler::Starlet: Accepting connections at <a href="http://0:50602/">http://0:50602/</a><br>127.0.0.1 - - [28/Nov/2012:23:50:18 +0100] "POST / HTTP/1.1" 200 3 "-" "libwww-perl/6.04"<br>
t/03post.t ........... ok <br>t/04-bumpy-life.t .... ok <br>t/05server-header.t .. 1/? <br># Failed test at t/05server-header.t line 14.<br>Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 15.<br>
<br># Failed test at t/05server-header.t line 15.<br># undef<br># doesn't match '(?-xism:Starlet)'<br>Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 16.<br>
<br># Failed test at t/05server-header.t line 19.<br>Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 20.<br>Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 21.<br>
<br># Failed test at t/05server-header.t line 21.<br># undef<br># doesn't match '(?-xism:Hello)'<br>[Test::TCP] Child process does not block(PID: 32430, PPID: 32429) at /usr/local/share/perl5/Test/TCP.pm line 121.<br>
# Looks like you failed 4 tests of 6.<br>t/05server-header.t .. Dubious, test returned 4 (wstat 1024, 0x400)<br>Failed 4/6 subtests <br>t/06remote_port.t .... 1/? <br># Failed test at t/06remote_port.t line 17.<br>Can't call method "sockport" on an undefined value at t/06remote_port.t line 18.<br>
[Test::TCP] Child process does not block(PID: 32437, PPID: 32436) at /usr/local/share/perl5/Test/TCP.pm line 121.<br># Tests were run but no plan was declared and done_testing() was not seen.<br>t/06remote_port.t .... Dubious, test returned 255 (wstat 65280, 0xff00)<br>
Failed 1/1 subtests <br> <br>Test Summary Report<br>-------------------<br>t/05server-header.t (Wstat: 1024 Tests: 6 Failed: 4)<br> Failed tests: 1-2, 4, 6<br> Non-zero exit status: 4<br>t/06remote_port.t (Wstat: 65280 Tests: 1 Failed: 1)<br>
Failed test: 1<br> Non-zero exit status: 255<br> Parse errors: No plan found in TAP output<br>Files=7, Tests=118, 7 wallclock secs ( 0.16 usr 0.12 sys + 2.65 cusr 1.52 csys = 4.45 CPU)<br>Result: FAIL<br>Failed 2/7 test programs. 5/118 subtests failed.<br>
make: *** [test_dynamic] Error 255<br><br><br><br><br>If i make <br><br><br>t/04-bumpy-life.t .... <br>ok 1 - min<br>ok 2 - max<br>1..2<br>ok<br>t/05server-header.t .. <br>not ok 1<br>not ok 2<br>ok 3<br> <br># Failed test at t/05server-header.t line 14.<br>
Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 15.<br> <br># Failed test at t/05server-header.t line 15.<br># undef<br># doesn't match '(?-xism:Starlet)'<br>
Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 16.<br>not ok 4<br> <br># Failed test at t/05server-header.t line 19.<br>Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 20.<br>
ok 5<br>Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 21.<br>not ok 6<br> <br># Failed test at t/05server-header.t line 21.<br># undef<br># doesn't match '(?-xism:Hello)'<br>
[Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at /usr/local/share/perl5/Test/TCP.pm line 121.<br>1..6<br># Looks like you failed 4 tests of 6.<br>Dubious, test returned 4 (wstat 1024, 0x400)<br>Failed 4/6 subtests <br>
t/06remote_port.t .... <br>not ok 1<br> <br># Failed test at t/06remote_port.t line 17.<br>Can't call method "sockport" on an undefined value at t/06remote_port.t line 18.<br>[Test::TCP] Child process does not block(PID: 32496, PPID: 32495) at /usr/local/share/perl5/Test/TCP.pm line 121.<br>
# Tests were run but no plan was declared and done_testing() was not seen.<br>Dubious, test returned 255 (wstat 65280, 0xff00)<br>Failed 1/1 subtests <br> <br>Test Summary Report<br>-------------------<br>t/05server-header.t (Wstat: 1024 Tests: 6 Failed: 4)<br>
Failed tests: 1-2, 4, 6<br> Non-zero exit status: 4<br>t/06remote_port.t (Wstat: 65280 Tests: 1 Failed: 1)<br> Failed test: 1<br> Non-zero exit status: 255<br> Parse errors: No plan found in TAP output<br>Files=7, Tests=118, 7 wallclock secs ( 0.17 usr 0.13 sys + 2.61 cusr 1.55 csys = 4.46 CPU)<br>
Result: FAIL<br><br><div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/27 Kevin Falcone <span dir="ltr"><<a href="mailto:falcone@bestpractical.com" target="_blank">falcone@bestpractical.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Nov 27, 2012 at 11:47:44AM +0100, Juanjo wrote:<br>
> I have some troubles with Plack::Handler::Starlet, in a frest install of Centos 6.3 X64 on a<br>
> esx5.1 host<br>
><br>
> Update system and installed prerequisites (gcc, make, CPAM, YAML...)<br>
<br>
</div>You probably want to grab the Starlet-0.16.tar.gz tarball off of CPAN<br>
manually (using <a href="http://metacpan.org" target="_blank">metacpan.org</a> or something) and then tar zxvf<br>
Starlet-0.16.tar.gz; perl Makefile.PL; make test; prove -lv<br>
t/05server-header.t and see if it gives you more information about<br>
what's happening.<br>
<br>
If there's nothing useful, you may want to diag() out the $port in<br>
that test and pause the test and make sure the test server is actually<br>
starting.<br>
<br>
-kevin<br>
<div><div class="h5"><br>
> Update to CPAN v19800<br>
> # cpan<br>
> cpan> install CPAN<br>
> cpan> reload CPAN<br>
> cpan> reload index<br>
> cpan> install Bundle::CPAN<br>
><br>
> All seems ok.<br>
><br>
> cpan[1]> install Bundle::CPAN<br>
> CPAN: Storable loaded ok (v2.20)<br>
> Reading '/root/.cpan/Metadata'<br>
> Database was generated on Tue, 27 Nov 2012 08:31:03 GMT<br>
> CPAN: Module::CoreList loaded ok (v2.18)<br>
> ExtUtils::MakeMaker is up to date (6.62).<br>
> Test::Harness is up to date (3.25).<br>
> ExtUtils::CBuilder is up to date (0.280205).<br>
> File::Temp is up to date (0.22).<br>
> Test::More is up to date (0.98).<br>
> Data::Dumper is up to date (2.136).<br>
> IO::Compress::Base is up to date (2.058).<br>
> Compress::Zlib is up to date (2.058).<br>
> IO::Zlib is up to date (1.10).<br>
> Archive::Tar is up to date (1.90).<br>
> Module::Build is up to date (0.4003).<br>
> File::Spec is up to date (3.33).<br>
> Digest::SHA is up to date (5.74).<br>
> File::HomeDir is up to date (1.00).<br>
> Archive::Zip is up to date (1.30).<br>
> Net::FTP is up to date (2.77).<br>
> Term::ReadKey is up to date (2.30).<br>
> Term::ReadLine::Perl is up to date (1.0303).<br>
> YAML is up to date (0.84).<br>
> Parse::CPAN::Meta is up to date (1.4404).<br>
> Text::Glob is up to date (0.09).<br>
> CPAN is up to date (1.9800).<br>
> File::Which is up to date (1.09).<br>
><br>
> But in a "make fixdeps" previously to install RT 4.0.5 y get this error:<br>
><br>
> Installing /usr/local/share/man/man3/Convert::Color.3pm<br>
> PEVANS/Convert-Color-0.08.tar.gz<br>
> ./Build install -- OK<br>
><br>
> SOME DEPENDENCIES WERE MISSING.<br>
> PSGI missing dependencies:<br>
> Plack::Handler::Starlet ...MISSING<br>
> Can't locate Plack/Handler/Starlet.pm in @INC (@INC contains: /usr/local/lib64/perl5<br>
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl<br>
> /usr/lib64/perl5 /usr/share/perl5 /root/tmp/rt-4.0.5)<br>
> CORE missing dependencies:<br>
> MIME::Entity ...MISSING<br>
> Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/local/lib64/perl5<br>
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl<br>
> /usr/lib64/perl5 /usr/share/perl5 /root/tmp/rt-4.0.5)<br>
> make: *** [fixdeps] Error 1<br>
><br>
> If i try to install Plack::Handler::Starlet manually i get this error:<br>
><br>
> cpan[1]> install Plack::Handler::Starlet<br>
> CPAN: Storable loaded ok (v2.20)<br>
><br>
> t/02graceful.t ....... 1/? [Test::TCP] Child process does not block(PID: 26280, PPID: 26279)<br>
> at /usr/local/share/perl5/Test/TCP.pm line 121.<br>
> t/02graceful.t ....... ok<br>
> t/03post.t ........... 26292 at t/03post.t line 9.<br>
</div></div>> Plack::Handler::Starlet: Accepting connections at [1]<a href="http://0:50778/" target="_blank">http://0:50778/</a><br>
<div><div class="h5">> 127.0.0.1 - - [27/Nov/2012:11:43:36 +0100] "POST / HTTP/1.1" 200 3 "-" "libwww-perl/6.04"<br>
> t/03post.t ........... ok<br>
> t/04-bumpy-life.t .... ok<br>
> t/05server-header.t .. 1/?<br>
> # Failed test at t/05server-header.t line 14.<br>
> Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 15.<br>
><br>
> # Failed test at t/05server-header.t line 15.<br>
> # undef<br>
> # doesn't match '(?-xism:Starlet)'<br>
> Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 16.<br>
><br>
> # Failed test at t/05server-header.t line 19.<br>
> Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 20.<br>
> Use of uninitialized value $this in pattern match (m//) at t/05server-header.t line 21.<br>
><br>
> # Failed test at t/05server-header.t line 21.<br>
> # undef<br>
> # doesn't match '(?-xism:Hello)'<br>
> [Test::TCP] Child process does not block(PID: 26296, PPID: 26295) at<br>
> /usr/local/share/perl5/Test/TCP.pm line 121.<br>
> # Looks like you failed 4 tests of 6.<br>
> t/05server-header.t .. Dubious, test returned 4 (wstat 1024, 0x400)<br>
> Failed 4/6 subtests<br>
> t/06remote_port.t .... 1/?<br>
> # Failed test at t/06remote_port.t line 17.<br>
> Can't call method "sockport" on an undefined value at t/06remote_port.t line 18.<br>
> [Test::TCP] Child process does not block(PID: 26303, PPID: 26302) at<br>
> /usr/local/share/perl5/Test/TCP.pm line 121.<br>
> # Tests were run but no plan was declared and done_testing() was not seen.<br>
> t/06remote_port.t .... Dubious, test returned 255 (wstat 65280, 0xff00)<br>
> Failed 1/1 subtests<br>
><br>
> But Test::TCP is installed and ok<br>
><br>
> cpan[2]> i Test::TCP<br>
> Module id = Test::TCP<br>
</div></div>> CPAN_USERID TOKUHIROM (Tokuhiro Matsuno <[2]<a href="mailto:tokuhirom%2Bcpan@gmail.com">tokuhirom+cpan@gmail.com</a>>)<br>
<div class="im">> CPAN_VERSION 1.18<br>
> CPAN_FILE T/TO/TOKUHIROM/Test-TCP-1.18.tar.gz<br>
> UPLOAD_DATE 2012-10-25<br>
> MANPAGE Test::TCP - testing TCP program<br>
> INST_FILE /usr/local/share/perl5/Test/TCP.pm<br>
> INST_VERSION 1.18<br>
><br>
> cpan[3]> install Test::TCP<br>
> Test::TCP is up to date (1.18).<br>
><br>
> Any help?<br>
><br>
> Thanks<br>
> Kindest regards.<br>
><br>
</div>> References<br>
><br>
> Visible links<br>
> 1. <a href="http://0:50778/" target="_blank">http://0:50778/</a><br>
> 2. mailto:<a href="mailto:tokuhirom%252Bcpan@gmail.com">tokuhirom%2Bcpan@gmail.com</a><br>
<br>
> --------<br>
> We're hiring! <a href="http://bestpractical.com/jobs" target="_blank">http://bestpractical.com/jobs</a><br>
<br>
<br>--------<br>
We're hiring! <a href="http://bestpractical.com/jobs" target="_blank">http://bestpractical.com/jobs</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Un saludo.<br>Juanjo Corral<br>
</div>