Dear fellow monks,
has anyone managed to install HTTP::Proxy 0.23 under Strawberry Perl 5.10.0.3?
The cpan install gets stuck at test no. 22. Using the debugger on this test and stepping through as far as possible, I found a call of IO::Socket::sockname(), where the passed socket argument at least is not undefined, though something obviously seems to be wrong with it:
perl -d t/22http.t
DB<1>b IO::Socket::sockname
DB<2> c
IO::Socket::sockname(C:/strawberry/perl/lib/IO/Socket.pm:245):
245: @_ == 1 or croak 'usage: $sock->sockname()';
DB<2> v
244 sub sockname {
245==>b @_ == 1 or croak 'usage: $sock->sockname()';
246: getsockname($_[0]);
247 }
DB<2> x $_[0]
0 HTTP::Daemon=GLOB(0x187d804)
-> *Symbol::GEN1
FileHandle({*Symbol::GEN1}) => fileno(7)
DB<3> n
IO::Socket::sockname(C:/strawberry/perl/lib/IO/Socket.pm:246):
246: getsockname($_[0]);
DB<3> n <--------never returns
The call to getsockname never returns. Do you have an idea what goes wrong here or how I can further analyze this?