Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 50813
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: wanda_b_anon [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.35_04
Fixed in: 0.36



Download (untitled) / with headers
text/plain 7.2k
can not install on MSWin for (cpan on 0.35) or (by hand, 0.35_04) Any suggestions? Thanks. CPAN Terminal> i Module::Build Installing Module::Build (0.35) Running [C:\Perl\bin\perl.exe C:\Perl\bin\cpanp-run-perl.bat C:\DOCUME~1\ACTIVE~ 1\APPLIC~1\CPANPL~1\510~1.1\build\Module-Build-0.35\Makefile.PL]... # running Build.PL Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Set up gcc environment - 3.4.5 (mingw-vista special r3) Checking whether your kit is complete... Looks good Checking prerequisites... Invalid version format (multiple underscores) at lib/Module/Build/ModuleInfo.pm line 330, <GEN0> line 45. Couldn't run Build.PL: at lib/Module/Build/Compat.pm line 295. [ERROR] Could not run 'C:\Perl\bin\perl.exe Makefile.PL': -- cannot continue at C:/Perl/lib/CPANPLUS/Dist/MM.pm line 380 [ERROR] Unable to create a new distribution object for 'Module::Build' -- cannot continue at C:/Perl/lib/CPANPLUS/Module.pm line 1066 *** Install log written to: C:\Documents and Settings\activestate\Application Data\.cpanplus\install-logs\ Module-Build-0.35-1256506203.log Error installing 'Module::Build' Problem installing one or more modules C:\Documents and Settings\activestate>perl -V Set up gcc environment - 3.4.5 (mingw-vista special r3) Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=MSWin32, osvers=5.00, 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='C:/Perl/site/bin/gcc.exe', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_ST RICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT _CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE - fno-strict-aliasing -mms-bitfields', optimize='-O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5 (mingw-vista special r3)', 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='C:\Perl\site\bin\g++.exe', ldflags ='-L"C:\Perl\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=perl510.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -L"C:\Perl\lib\CORE"' 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 USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 1006 [291086] 32728 64-bit fix for Time::Local Built under MSWin32 Compiled at Aug 24 2009 13:48:26 @INC: C:/Perl/site/lib C:/Perl/lib . C:\Documents and Settings\activestate>perl -V Set up gcc environment - 3.4.5 (mingw-vista special r3) Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=MSWin32, osvers=5.00, 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='C:/Perl/site/bin/gcc.exe', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_ST RICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT _CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE - fno-strict-aliasing -mms-bitfields', optimize='-O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5 (mingw-vista special r3)', 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='C:\Perl\site\bin\g++.exe', ldflags ='-L"C:\Perl\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=perl510.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -L"C:\Perl\lib\CORE"' 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 USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 1006 [291086] 32728 64-bit fix for Time::Local Built under MSWin32 Compiled at Aug 24 2009 13:48:26 @INC: C:/Perl/site/lib C:/Perl/lib . C:\Documents and Settings\activestate>dir Volume in drive C has no label. Volume Serial Number is F4E9-AC59 Directory of C:\Documents and Settings\activestate 10/25/2009 04:44 PM <DIR> . 10/25/2009 04:44 PM <DIR> .. 09/20/2009 05:05 PM 180 .bash_history 10/25/2009 04:21 PM <DIR> .jedit 02/09/2009 01:56 PM <DIR> Desktop 09/10/2009 05:20 PM <DIR> Favorites 10/25/2009 04:32 PM 5,959 i 10/23/2009 10:22 AM <DIR> Module-Build-0.35_04 10/25/2009 04:42 PM 152,460 Module-Build-0.35_04.tar.tar 09/20/2009 05:04 PM <DIR> My Documents 02/09/2009 01:56 PM <DIR> Start Menu 3 File(s) 158,599 bytes 8 Dir(s) 19,871,162,368 bytes free C:\Documents and Settings\activestate>cd Module-Build-0.35_04 C:\Documents and Settings\activestate\Module-Build-0.35_04>perl Makefile.PL # running Build.PL Can't locate object method "run_perl_script" via package "Module::Build" at C:/P erl/lib/Module/Build/Compat.pm line 295. C:\Documents and Settings\activestate\Module-Build-0.35_04>
Subject: Re: [rt.cpan.org #50813] cannot install on MSWin
Date: Sun, 25 Oct 2009 15:10:30 -0700
To: bug-Module-Build [...] rt.cpan.org
From: Eric Wilhelm <enobacon [...] gmail.com>
Download (untitled) / with headers
text/plain 449b
# from Wanda B. Anon via RT # on Sunday 25 October 2009 14:55: Show quoted text
>can not install on MSWin for (cpan on 0.35) or (by hand, 0.35_04) > >Any suggestions?  Thanks.
Try running the Build.PL. It looks like some of your errors might be coming from the Makefile.PL (which only exists for compatibility / convenience.) That should also be set in your cpan config ("o conf prefer_installer MB") -- and maybe CPAN.pm needs to be upgraded. Thanks, Eric
Download (untitled) / with headers
text/plain 422b
ActiveState has edited ExtUtils::Install from the version on CPAN and in the Perl source to have the version string like this: $VERSION = "1.54_00_01"; This is an "illegal alpha" version string according to version.pm (which is used by Module::Build::Version). Fixing this will require (a) getting them to stop editing version numbers like this or (b) fixing version.pm. I will file a ticket for version.pm -- David
I have patched Module::Build::ModuleInfo to work around this. Released as 0.35_05. -- David


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.