CC: | apocal [...] cpan.org |
Subject: | bug in POE-Component-Server-SimpleHTTP tests? |
Date: | Thu, 04 Oct 2007 15:16:12 -0400 |
To: | bug-POE-Component-Server-SimpleHTTP [...] rt.cpan.org |
From: | "Michael W. J. West" <westmj [...] spamcop.net> |
Hi. I had what is probably a minor problem with WIN32 Activestate Perl
installing POE::Component::Server::SimpleHTTP.
Please keep my email and other information private.
Any advice?
Is it possible that having two perls, one in C:\cygwin\... is a
problem? I think not, but...
For diagnosis, I changed 5_run.t to have two more diag:
# Test for 404
diag('Test for 404');
$req=HTTP::Request->new(GET => "http://$IP:$PORT/wedonthaveone");
diag("to $IP $PORT " );
$resp=$UA->request($req);
diag("done $IP $PORT with success $resp->is_success" );
And got this test output:
nmake -- OK
Running make test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\ActiveStatePerl\bin\perl.exe "-MExtUtils::Command::MM"
"-e" "test_har
ness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t
t/1_load.............ok
t/2_pod..............skipped
all skipped: Test::Pod 1.00 required for testing POD
t/3_pod_coverage.....skipped
all skipped: Test::Pod::Coverage 1.00 required for testing
POD coverage
t/4_test_kwalitee....skipped
all skipped: Test::Kwalitee not installed; skipping
t/5_run..............# 228: Sleep 2...
# continue
t/5_run..............ok 1/14# Test for 404
# to localhost 2080
# done localhost 2080 with success HTTP::Response=HASH(0x28d5508)->is_success
# Enabling Keep-Alive and going again
# Test for 404
# to localhost 2080
# done localhost 2080 with success HTTP::Response=HASH(0x28c51f0)->is_success
where it just hangs here until I give it a CTRL C:
Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)
NMAKE : U1077:
Stop.
Caught SIGINT, trying to continue
BINGOS/POE-Component-Server-SimpleHTTP-1.23.tar.gz
nmake test -- NOT OK
Failed during this command:
BINGOS/POE-Component-Server-SimpleHTTP-1.23.tar.gz: make_test NO
Here is perl -V:
P:\>perl -V
Set up gcc environment - 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=MSWin32, osvers=5.00, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=de
fine
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYP
T -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC
-DPERL_IMPLICIT_CONTE
XT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
-DHASATTRIBUTE -fno-st
rict-aliasing',
optimize='-O2',
cppflags='-DWIN32'
ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using
dmd 0.125)
', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='__int64', lseeksi
ze=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-L"C:\ActiveStatePerl\lib\CORE"'
libpth=\lib
libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
-lshell32
-lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion
-lodbc32 -
lodbccp32 -lmsvcrt
perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32 -lshel
l32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
-lversion -lodbc
32 -lodbccp32 -lmsvcrt
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl58.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -L"C:\ActiveStatePerl\lib\CORE"'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS PERL_MALLOC_WRAP
PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_SITECUSTOMIZE
Locally applied patches:
ActivePerl Build 822 [280952]
Iin_load_module moved for compatibility with build 806
PerlEx support in CGI::Carp
Less verbose ExtUtils::Install and Pod::Find
Patch for CAN-2005-0448 from Debian with modifications
Rearrange @INC so that 'site' is searched before 'perl'
Partly reverted 24733 to preserve binary compatibility
MAINT31223 plus additional changes
31490 Problem bootstraping Win32CORE
31324 Fix DynaLoader::dl_findfile() to locate .so files again
31214 Win32::GetLastError fails when first called
31211 Restore Windows NT support
31188 Problem killing a pseudo-forked child on Win32
29732 ANSIfy the PATH environment variable on Windows
27527,29868 win32_async_check() can loop indefinitely
26970 Make Passive mode the default for Net::FTP
26379 Fix alarm() for Windows 2003
24699 ICMP_UNREACHABLE handling in Net::Ping
Built under MSWin32
Compiled at Jul 31 2007 19:34:48
%ENV:
PERL_MODULE_AUTHOR="Michael W. J. West"
@INC:
C:/ActiveStatePerl/site/lib
C:/ActiveStatePerl/lib
.
P:\>
Thanks.
Can I force install?