in reply to Trouble building Thread::Tie module on Win32

You should use the MinGW compiler with your ActivePerl-5.8.8. The results are much better:
t/Tie01....ok 1/71 t/Tie01....NOK 21/71# Failed test 'check array fetch' # at t/Tie01.t line 73. # got: '2 b' # expected: 'a b c d e f g h i' # Failed test 'check array fetch' t/Tie01....NOK 24/71# at t/Tie01.t line 82. # got: '2 e' # expected: 'd e f d e f g h i' t/Tie01....NOK 48/71# Failed test 'check hash keys' # at t/Tie01.t line 134. # got: '3abc' # expected: 'abc' # Failed test 'unlink testfile' t/Tie01....NOK 65/71# at t/Tie01.t line 179. # Looks like you failed 4 tests of 71. t/Tie01....dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 21, 24, 48, 65 Failed 4/71 tests, 94.37% okay t/Tie02....ok 1/26Thread 1 terminated abnormally: Can't use an undefin +ed value as an ARRAY reference at C:\_32\comp\Thread-Tie-0.12\blib\li +b/Thread/Tie/Array.pm (loaded on demand from offset 1939 for 176 bytes) line 75.
at which point it hangs.

:-)

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Trouble building Thread::Tie module on Win32
by Zenshai (Sexton) on Aug 13, 2008 at 16:06 UTC
    Thanks for your reply,

    Unfortunately recompiling Perl is not really an option. (That is what you're suggesting right?)

    I did try the MinGW GNU make, and it produced the same results as my original post.

    Anyone know anything else I can do here? Or perhaps some other module I can use instead of Thread::Pool (Thread::Tie is a dependency) for threads that work concurrently?