Perlbal - Re[2]: 2nd questions from PerlBal novice

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > May 2007 > Re[2]: 2nd questions from PerlBal novice





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re[2]: 2nd questions from PerlBal novice
Brad Fitzpatrick

2007-05-15, 1:12 pm

So sendfile (as implemented in Sys::Syscall) doesn't work on FreeBSD,
which is why it doesn't work in Perlbal.

Really, Perlbal should be updated to not use Sys::Syscall's sendfile and
instead use the better (and portable) implementation in IO::AIO, and then
we remove the older Linux::AIO support.


On Tue, 15 May 2007, Galtsev Igor wrote:

> "make test" procedure for Sys-Syscall-0.22 is failed too.
>
> # make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00-use.........ok
> t/01-epoll.......skipped
> all skipped: test good only for Linux 2.6+
> t/02-sendfile....ok 1/2got rv = -1 from sendfile at t/02-sendfile.t line 53.
> # Looks like you planned 2 tests but only ran 1.
> # Looks like your test died just after 1.
> t/02-sendfile....dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED test 2
> Failed 1/2 tests, 50.00% okay
> Failed Test Stat Wstat Total Fail List of Failed
> -------------------------------------------------------------------------------
> t/02-sendfile.t 255 65280 2 2 2
> 1 test skipped.
> Failed 1/3 test scripts. 1/3 subtests failed.
> Files=3, Tests=3, 1 wallclock secs ( 0.27 cusr + 0.07 csys = 0.34 CPU)
> Failed 1/3 test programs. 1/3 subtests failed.
> *** Error code 255
>
> Stop in /usr/home/inst/Sys-Syscall-0.22.
>
>
> BF> Does "make test" succeed for Sys-Syscall and Perlbal?
> BF> I think it's a Sys-Syscall issue on FreeBSD.
>
>
> BF> On Mon, 14 May 2007, Galtsev Igor wrote:
>
>
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com