[EMAIL PROTECTED] wrote:
This is curious. Now that I've got the Makefile.PL back in MANIFEST [Why does make manifest exclude Makefile.PL?], the tests are choking on uuid creation because one of the following isn't installed:
UUID 0.02 Win32::Guidgen 0.02 Win32API::GUID 0.02 Data::UUID 0.10
The Makefile.PL cycles though these, and if it doesn find one, does a PREREQ_PM for UUID on win32 and Data::UUID on non-win32 systems.
Now below, we have:
[MSG] [Wed Feb 9 08:52:10 2005] Extracted 'Handel' to 'C:\Documents and Settings\Rob.MAGNETO-XP\Application Data\.cpanplus\5.8.6\build\Handel-0.01_09' [ERROR] [Wed Feb 9 08:52:15 2005] No such module 'UUID' found on CPAN [ERROR] [Wed Feb 9 08:53:30 2005] MAKE TEST failed: No such file or directory C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\basic.t t\cart_add.t t\cart_clear.t t\cart_delete.t t\cart_item_new.t t\cart_items.t t\cart_iterator.t t\cart_load.t t\cart_new.t t\cart_restore.t t\cart_restore_append.t t\cart_restore_append_filter.t t\cart_restore_merge.t t\cart_restore_merge_filter.t t\cart_restore_replace.t t\cart_restore_replace_filter.t t\cart_save.t t\constraints_cart_type.t t\constraints_price.t t\constraints_quantity.t t\constraints_uuid.t t\dbi.t t\exceptions.t t\l10n.t t\pod_coverage.t t\pod_syntax.t t\xsp_cart.t
In the first line, I notice that everything is being tested/extracted to a path with spaces. I'm not sure if this is ever kosker under perl on windows. I know any make stuff with C won't compile if Visual C++ is installed to a directory with spaces in it [the default :-(], and I'm not sure how Apache::Test of Test::More or anything else deals with those win32 spaces.
Now, for the curious part. The second line proclaiming that there is no such module "UUID" on CPAN..uhmmm, no.
Here it is: http://search.cpan.org/search?query=UUID&mode=distribution
I'm not sure if the 3rd line means the Makefile was never written due to the UUID issue, or if the spaces inthe path are causing issues.
Either way, I guess it may be nice to add a local random/number, fake uuid generation code to the modules in such cases...
t\basic..........................ok 1/12 skipped: AxKit not installed t\cart_add.......................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 7-44 Failed 38/44 tests, 13.64% okay t\cart_clear.....................ok t\cart_delete....................ok t\cart_item_new..................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5-10 Failed 6/10 tests, 40.00% okay t\cart_items.....................ok t\cart_iterator..................ok t\cart_load......................ok t\cart_new.......................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 6, 11-43 Failed 34/43 tests, 20.93% okay t\cart_restore...................ok t\cart_restore_append............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 56-120 Failed 65/120 tests, 45.83% okay t\cart_restore_append_filter.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 30-94 Failed 65/94 tests, 30.85% okay t\cart_restore_merge.............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 56-112 Failed 57/112 tests, 49.11% okay t\cart_restore_merge_filter......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 30-86 Failed 57/86 tests, 33.72% okay t\cart_restore_replace...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 56-103 Failed 48/103 tests, 53.40% okay t\cart_restore_replace_filter....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 30-77 Failed 48/77 tests, 37.66% okay t\cart_save......................ok t\constraints_cart_type..........ok t\constraints_price..............ok t\constraints_quantity...........ok t\constraints_uuid...............ok t\dbi............................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 4 Failed 1/4 tests, 75.00% okay t\exceptions.....................ok t\l10n...........................ok t\pod_coverage...................ok t\pod_syntax.....................ok t\xsp_cart.......................skipped all skipped: Apache::Test 1.16 not installed Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\cart_add.t 255 65280 44 76 172.73% 7-44 t\cart_item_new.t 255 65280 10 12 120.00% 5-10 t\cart_new.t 255 65280 43 67 155.81% 6 11-43 t\cart_restore_append.t 255 65280 120 130 108.33% 56-120 t\cart_restore_append_filter.t 255 65280 94 130 138.30% 30-94 t\cart_restore_merge.t 255 65280 112 114 101.79% 56-112 t\cart_restore_merge_filter.t 255 65280 86 114 132.56% 30-86 t\cart_restore_replace.t 255 65280 103 96 93.20% 56-103 t\cart_restore_replace_filter.t 255 65280 77 96 124.68% 30-77 t\dbi.t 255 65280 4 2 50.00% 4 1 test and 1 subtest skipped.
Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved.
Required modules not found: UUID/Data::UUID# Looks like you planned 44 tests but only ran 6. # Looks like your test died just after 6. Required modules not found: UUID/Data::UUID# Looks like you planned 10 tests but only ran 4. # Looks like your test died just after 4.
# Failed test (t\cart_new.t at line 62) Required modules not found: UUID/Data::UUID# Looks like you planned 43 tests but only ran 10. # Looks like your test died just after 10. Required modules not found: UUID/Data::UUID# Looks like you planned 120 tests but only ran 55. # Looks like your test died just after 55. Required modules not found: UUID/Data::UUID# Looks like you planned 94 tests but only ran 29. # Looks like your test died just after 29. Required modules not found: UUID/Data::UUID# Looks like you planned 112 tests but only ran 55. # Looks like your test died just after 55. Required modules not found: UUID/Data::UUID# Looks like you planned 86 tests but only ran 29. # Looks like your test died just after 29. Required modules not found: UUID/Data::UUID# Looks like you planned 103 tests but only ran 55. # Looks like your test died just after 55. Required modules not found: UUID/Data::UUID# Looks like you planned 77 tests but only ran 29. # Looks like your test died just after 29. Required modules not found: UUID/Data::UUID# Looks like you planned 4 tests but only ran 3. # Looks like your test died just after 3. Failed 10/27 test scripts, 62.96% okay. 419/1051 subtests failed, 60.13% okay. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff' Stop.
--
Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX', optimize='-MD -Zi -DNDEBUG -O1', 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='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86' libpth=\lib 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 ws2_32.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 ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='undef' 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'
smime.p7s
Description: S/MIME Cryptographic Signature