On Tue, Nov 27, 2012 at 11:47:44AM +0100, Juanjo wrote: > I have some troubles with Plack::Handler::Starlet, in a frest install of > Centos 6.3 X64 on a > esx5.1 host > > Update system and installed prerequisites (gcc, make, CPAM, YAML...)
You probably want to grab the Starlet-0.16.tar.gz tarball off of CPAN manually (using metacpan.org or something) and then tar zxvf Starlet-0.16.tar.gz; perl Makefile.PL; make test; prove -lv t/05server-header.t and see if it gives you more information about what's happening. If there's nothing useful, you may want to diag() out the $port in that test and pause the test and make sure the test server is actually starting. -kevin > Update to CPAN v19800 > # cpan > cpan> install CPAN > cpan> reload CPAN > cpan> reload index > cpan> install Bundle::CPAN > > All seems ok. > > cpan[1]> install Bundle::CPAN > CPAN: Storable loaded ok (v2.20) > Reading '/root/.cpan/Metadata' > Database was generated on Tue, 27 Nov 2012 08:31:03 GMT > CPAN: Module::CoreList loaded ok (v2.18) > ExtUtils::MakeMaker is up to date (6.62). > Test::Harness is up to date (3.25). > ExtUtils::CBuilder is up to date (0.280205). > File::Temp is up to date (0.22). > Test::More is up to date (0.98). > Data::Dumper is up to date (2.136). > IO::Compress::Base is up to date (2.058). > Compress::Zlib is up to date (2.058). > IO::Zlib is up to date (1.10). > Archive::Tar is up to date (1.90). > Module::Build is up to date (0.4003). > File::Spec is up to date (3.33). > Digest::SHA is up to date (5.74). > File::HomeDir is up to date (1.00). > Archive::Zip is up to date (1.30). > Net::FTP is up to date (2.77). > Term::ReadKey is up to date (2.30). > Term::ReadLine::Perl is up to date (1.0303). > YAML is up to date (0.84). > Parse::CPAN::Meta is up to date (1.4404). > Text::Glob is up to date (0.09). > CPAN is up to date (1.9800). > File::Which is up to date (1.09). > > But in a "make fixdeps" previously to install RT 4.0.5 y get this error: > > Installing /usr/local/share/man/man3/Convert::Color.3pm > PEVANS/Convert-Color-0.08.tar.gz > ./Build install -- OK > > SOME DEPENDENCIES WERE MISSING. > PSGI missing dependencies: > Plack::Handler::Starlet ...MISSING > Can't locate Plack/Handler/Starlet.pm in @INC (@INC contains: > /usr/local/lib64/perl5 > /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl > /usr/share/perl5/vendor_perl > /usr/lib64/perl5 /usr/share/perl5 /root/tmp/rt-4.0.5) > CORE missing dependencies: > MIME::Entity ...MISSING > Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/local/lib64/perl5 > /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl > /usr/share/perl5/vendor_perl > /usr/lib64/perl5 /usr/share/perl5 /root/tmp/rt-4.0.5) > make: *** [fixdeps] Error 1 > > If i try to install Plack::Handler::Starlet manually i get this error: > > cpan[1]> install Plack::Handler::Starlet > CPAN: Storable loaded ok (v2.20) > > t/02graceful.t ....... 1/? [Test::TCP] Child process does not block(PID: > 26280, PPID: 26279) > at /usr/local/share/perl5/Test/TCP.pm line 121. > t/02graceful.t ....... ok > t/03post.t ........... 26292 at t/03post.t line 9. > Plack::Handler::Starlet: Accepting connections at [1]http://0:50778/ > 127.0.0.1 - - [27/Nov/2012:11:43:36 +0100] "POST / HTTP/1.1" 200 3 "-" > "libwww-perl/6.04" > t/03post.t ........... ok > t/04-bumpy-life.t .... ok > t/05server-header.t .. 1/? > # Failed test at t/05server-header.t line 14. > Use of uninitialized value $this in pattern match (m//) at > t/05server-header.t line 15. > > # Failed test at t/05server-header.t line 15. > # undef > # doesn't match '(?-xism:Starlet)' > Use of uninitialized value $this in pattern match (m//) at > t/05server-header.t line 16. > > # Failed test at t/05server-header.t line 19. > Use of uninitialized value $this in pattern match (m//) at > t/05server-header.t line 20. > Use of uninitialized value $this in pattern match (m//) at > t/05server-header.t line 21. > > # Failed test at t/05server-header.t line 21. > # undef > # doesn't match '(?-xism:Hello)' > [Test::TCP] Child process does not block(PID: 26296, PPID: 26295) at > /usr/local/share/perl5/Test/TCP.pm line 121. > # Looks like you failed 4 tests of 6. > t/05server-header.t .. Dubious, test returned 4 (wstat 1024, 0x400) > Failed 4/6 subtests > t/06remote_port.t .... 1/? > # Failed test at t/06remote_port.t line 17. > Can't call method "sockport" on an undefined value at t/06remote_port.t > line 18. > [Test::TCP] Child process does not block(PID: 26303, PPID: 26302) at > /usr/local/share/perl5/Test/TCP.pm line 121. > # Tests were run but no plan was declared and done_testing() was not seen. > t/06remote_port.t .... Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 1/1 subtests > > But Test::TCP is installed and ok > > cpan[2]> i Test::TCP > Module id = Test::TCP > CPAN_USERID TOKUHIROM (Tokuhiro Matsuno <[2][email protected]>) > CPAN_VERSION 1.18 > CPAN_FILE T/TO/TOKUHIROM/Test-TCP-1.18.tar.gz > UPLOAD_DATE 2012-10-25 > MANPAGE Test::TCP - testing TCP program > INST_FILE /usr/local/share/perl5/Test/TCP.pm > INST_VERSION 1.18 > > cpan[3]> install Test::TCP > Test::TCP is up to date (1.18). > > Any help? > > Thanks > Kindest regards. > > References > > Visible links > 1. http://0:50778/ > 2. mailto:tokuhirom%[email protected] > -------- > We're hiring! http://bestpractical.com/jobs
pgpkI3Jki5ic0.pgp
Description: PGP signature
-------- We're hiring! http://bestpractical.com/jobs
