Skip Menu |

This queue is for tickets about the Win32-Registry CPAN distribution.

Report information
The Basics
Id: 47419
Status: resolved
Priority: 0/
Queue: Win32-Registry

People
Owner: Nobody in particular
Requestors: valkoles [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: fail during installation
Date: Sun, 28 Jun 2009 15:34:43 -0400
To: bug-Win32-Registry [...] rt.cpan.org
From: val <valkoles [...] gmail.com>
Net::DNS still requires Win32::Registry instead of Win32::TieRegistry, so... MinGW v4.4.0 C:\temp\copy>perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=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='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.4.0', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"d:\soft\perl-5.10.0\lib\CORE" -L"D:\soft\mingw\lib"' libpth=D:\soft\mingw\lib libs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 perllibs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"d:\soft\perl-5.10.0\lib\CORE" -L"D:\soft\mingw\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO Built under MSWin32 Compiled at Jun 27 2009 14:28:03 @INC: d:/soft/perl-5.10.0/lib d:/soft/perl-5.10.0/site/lib . CPAN Terminal> i 1 Installing Win32::Registry (0.10) [MSG] Trying to get 'ftp://ftp.cpan.org/pub/CPAN/authors/id/J/JD/JDB/CHECKSUMS' [MSG] Checksum matches for 'Win32-Registry-0.10.tar.gz' [MSG] Extracted 'Win32-Registry-0.10/' [MSG] Extracted 'Win32-Registry-0.10/Changes' [MSG] Extracted 'Win32-Registry-0.10/eg/' [MSG] Extracted 'Win32-Registry-0.10/eg/iis_install.pl' [MSG] Extracted 'Win32-Registry-0.10/eg/remote.pl' [MSG] Extracted 'Win32-Registry-0.10/Makefile.PL' [MSG] Extracted 'Win32-Registry-0.10/MANIFEST' [MSG] Extracted 'Win32-Registry-0.10/META.yml' [MSG] Extracted 'Win32-Registry-0.10/Registry.pm' [MSG] Extracted 'Win32-Registry-0.10/Registry.xs' [MSG] Extracted 'Win32-Registry-0.10/t/' [MSG] Extracted 'Win32-Registry-0.10/t/registry.t' [MSG] Extracted 'Win32-Registry-0.10/typemap' [MSG] Extracted 'Win32::Registry' to 'C:\DOCUME~1\valera\APPLIC~1\CPANPL~1\510~1.0\build\Win32-Registry-0.10' ==> MISSING Signature file! <== Running [d:\soft\perl-5.10.0\bin\perl.exe D:\soft\perl-5.10.0\bin\cpanp-run-perl.bat C:\DOCUME~1\valera\APPLIC~1\CPANPL~1\510~1.0\build\Win32-Registry-0.10\Makefile.PL ]... Writing Makefile for Win32::Registry Running [D:\soft\dmake\dmake.EXE]... gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" "-ID:\soft\perl-5.10.0\lib\CORE" Registry.c Running Mkbootstrap for Win32::Registry () D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Registry.bs dlltool --def Registry.def --output-exp dll.exp g++ -o blib\arch\auto\Win32\Registry\Registry.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"d:\soft\perl-5.10.0\lib\CORE" -L"D:\soft\mingw\lib" Registry.o -Wl,--image-base,0x21110000 D:\soft\perl-5.10.0\lib\CORE\libperl510.a -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp dlltool --def Registry.def --base-file dll.base --output-exp dll.exp g++ -o blib\arch\auto\Win32\Registry\Registry.dll -mdll -s -L"d:\soft\perl-5.10.0\lib\CORE" -L"D:\soft\mingw\lib" Registry.o -Wl,--image-base,0x21110000 D:\soft\perl-5.10.0\lib\CORE\libperl510.a -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 blib\arch\auto\Win32\Registry\Registry.dll D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e "cp" -- Registry.bs blib\arch\auto\Win32\Registry\Registry.bs D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 blib\arch\auto\Win32\Registry\Registry.bs Running [D:\soft\dmake\dmake.EXE test]... D:\soft\perl-5.10.0\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/registry.t .. Can't locate Win32/WinError.pm in @INC (@INC contains: C:\DOCUME~1\valera\APPLIC~1\CPANPL~1\510~1.0\build\Win32-Registry-0.10\blib\lib C:\DOCUME~1\valera\APPLIC~1\CPANPL~1\510~1.0\build\Win32-Registry-0.10\blib\arch C:\DOCUME~1\valera\APPLIC~1\CPANPL~1\510~1.0\build\Win32-Registry-0.10\blib\lib C:\DOCUME~1\valera\APPLIC~1\CPANPL~1\510~1.0\build\Win32-Registry-0.10\blib\arch D:/soft/PERL-5~1.0/lib D:/soft/PERL-5~1.0/site/lib .) at C:\DOCUME~1\valera\APPLIC~1\CPANPL~1\510~1.0\build\Win32-Registry-0.10\blib\lib/Win32/Registry.pm line 46. BEGIN failed--compilation aborted at C:\DOCUME~1\valera\APPLIC~1\CPANPL~1\510~1.0\build\Win32-Registry-0.10\blib\lib/Win32/Registry.pm line 46. Compilation failed in require at t/registry.t line 14. BEGIN failed--compilation aborted at t/registry.t line 14. t/registry.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Test Summary Report ------------------- t/registry.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=1, Tests=0, 0 wallclock secs ( 0.06 usr + 0.01 sys = 0.08 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. dmake.EXE: Error code 130, while making 'test_dynamic' [ERROR] MAKE TEST failed: No such file or directory The tests for 'Win32::Registry' failed. Would you like me to proceed anyway or should we abort?
The failure is due to a missing Win32::WinError installation. Note that Win32::Registry doesn't actually make any use of that module, but it does contain a gratuitous "use Win32::WinError" line. That line has already been removed in SVN, but has not been released to CPAN yet: http://code.google.com/p/libwin32/source/detail?spec=svn468&r=436 As a workaround just install Win32::WinError and then try to install Win32::Registry again.