This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.
--
Dear Luigino Masarati,
This is a computer-generated error report created automatically by
CPANPLUS, version 0.048. Testers personal comments may appear at
the end of this report.
Thank you for uploading your works to CPAN. However, it appears there
were some problems testing your distribution.
TEST RESULTS:
Below is the error stack during 'make test':
C:\Perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl
1..1
# Running under perl version 5.006001 for MSWin32
# Win32::BuildNumber 635
# Current time local: Tue Aug 10 16:42:50 2004
# Current time GMT: Tue Aug 10 15:42:50 2004
# Using Test.pm version 1.24
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
AllocateAndGetTcpExTableFromStack() function is not available on this platform at
test.pl line 10
Compilation failed in require at test.pl line 10.
BEGIN failed--compilation aborted at test.pl line 10.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff'
Stop.
Additional comments:
Very confusing. A Win32 module that calls a non-Win32 function! Okay a non-Windows2000
function. You might want to change the "UNDOCUMENTED" bit in your module, to ignore
those lines if not running on XP/2003. Currently because of the way you have written
the setters at the top of the module, this will never run on anything other than
Windows XP/2003, unlike your claim in the POD :(
Can I suggest you only set $AllocateAndGetTcpExTableFromStack when the function
AllocateAndGetTcpExTableFromStack() is called, and set
$AllocateAndGetUdpExTableFromStack when the function
AllocateAndGetUdpExTableFromStack() is called. You can do this via a do such as:
sub AllocateAndGetTcpExTableFromStack
{
$AllocateAndGetTcpExTableFromStack ||= do {
new Win32::API ('Iphlpapi', 'AllocateAndGetTcpExTableFromStack', ['P',
'N', 'N', 'N', 'N'], 'N');
};
unless($AllocateAndGetTcpExTableFromStack)
{
croak 'AllocateAndGetTcpExTableFromStack() function is not available
on this platform';
}
......
}
HTH,
Barbie.
--
Summary of my perl5 (revision 5 version 6 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX',
optimize='-O1 -MD -Zi -DNDEBUG',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C:\Perl\lib\CORE" -machine:x86'
libpth="C:\Perl\lib\CORE"
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib
mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib
wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C:\Perl\lib\CORE" -machine:x86'