Subject: | hangs on Cygwin |
Cygwin 1.7.17-1. gcc output is in Russian: no sa_len. cygserver is running.
CPAN.pm: Going to build P/PE/PEVANS/Socket-2.008.tar.gz
Checking HAS_SOCKADDR_SA_LEN...
test-0.c: В функции ‘main’:
test-0.c:15:27: ошибка: ‘struct sockaddr’ не содержит элемента с именем
‘sa_len’
Checking HAS_SOCKADDR_IN6...
Checking HAS_IP_MREQ...
Checking HAS_IP_MREQ_SOURCE...
Checking HAS_IPV6_MREQ...
Checking if your kit is complete...
Looks good
Writing Makefile for Socket
Writing MYMETA.yml and MYMETA.json
(/usr/bin/perl Makefile.PL exited with 0)
CPAN::Reporter: Makefile.PL result is 'pass', No errors.
cp Socket.pm blib/lib/Socket.pm
/usr/bin/perl.exe /usr/lib/perl5/5.14/ExtUtils/xsubpp -noprototypes
-typemap /usr/lib/perl5/5.14/ExtUtils/typemap -typemap typemap
Socket.xs > Socket.xsc && mv Socket.xsc Socket.c
gcc-4 -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g
-fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3
-DVERSION=\"2.008\" -DXS_VERSION=\"2.008\"
"-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE"
-DHAS_SOCKADDR_IN6 -DHAS_IP_MREQ -DHAS_IP_MREQ_SOURCE -DHAS_IPV6_MREQ
Socket.c
Running Mkbootstrap for Socket ()
chmod 644 Socket.bs
rm -f blib/arch/auto/Socket/Socket.dll
g++-4 --shared -Wl,--enable-auto-import -Wl,--export-all-symbols
-Wl,--image-base=0x67e00000 -L/usr/local/lib -fstack-protector Socket.o
-o blib/arch/auto/Socket/Socket.dll \
/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14.dll \
chmod 755 blib/arch/auto/Socket/Socket.dll
cp Socket.bs blib/arch/auto/Socket/Socket.bs
chmod 644 blib/arch/auto/Socket/Socket.bs
Manifying blib/man3/Socket.3pm
(/usr/bin/make exited with 0)
CPAN::Reporter: make result is 'pass', No errors.
PEVANS/Socket-2.008.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/getaddrinfo.t .. ok
t/getnameinfo.t .. ok
t/ip_mreq.t ...... ok
t/ipv6_mreq.t .... ok
t/sockaddr.t ..... ok
t/Socket.t ....... ok
(hangs)
--
Alexandr Ciornii, http://chorny.net