p5-RedisDB / RedisDB

Perl extension to access Redis
22 stars 11 forks source link

hangs on Windows, perl <= 5.10.1 #15

Closed chorny closed 10 years ago

chorny commented 10 years ago
Attempt to free unreferenced scalar: SV 0x10b614c, Perl interpreter: 0x3e432c at C:/strawberry/perl/site/lib/Try/Tiny.pm line 84.
    not ok 1 - Ping
    #   Failed test 'Ping'
    #   at t/network.t line 66.
    # died: Your vendor has not defined POSIX macro EWOULDBLOCK, used at C:\strawberry\cpan\build\RedisDB-2.21_01-OSqCJq\blib\lib/RedisDB.pm line 399.
    not ok 2 - pong
    #   Failed test 'pong'
    #   at t/network.t line 67.
    #          got: undef
    #     expected: 'PONG'
    not ok 3 - Connection restored
    #   Failed test 'Connection restored'
    #   at t/network.t line 70.
    # died: You can't use RedisDB::execute when you have replies to fetch. at t/network.t line 70.
    not ok 4 - key is set
    #   Failed test 'key is set'
    #   at t/network.t line 71.
    #          got: undef
    #     expected: 'OK'
    ok 5 - Died on unclean disconnect
You can't use RedisDB::execute when you have replies to fetch. at t/network.t line 74.
(hangs here)

It may be simpler to just die "OS unsupported" in Makefile.PL for this OS/perl combination.

trinitum commented 10 years ago

Thank you, following your suggestion module now requires 5.12 on windows