develooper Front page | perl.perl5.porters | Postings from September 2013

[perl #119879] Cannot install module requiring perl-5.6 via 'cpan'

Thread Next
From:
Steve Hay
Date:
September 18, 2013 11:13
Subject:
[perl #119879] Cannot install module requiring perl-5.6 via 'cpan'
Message ID:
rt-3.6.HEAD-1873-1379502768-466.119879-75-0@perl.org
# New Ticket Created by  Steve Hay 
# Please include the string:  [perl #119879]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=119879 >


This is a bug report for perl from steve.m.hay@googlemail.com,
generated with the help of perlbug 1.39 running under perl 5.19.4.


-----------------------------------------------------------------
[Please describe your issue here]

With a fresh installation of blead (patchlevel as below) and a fresh
.cpan folder in C:\Users\shay I can no longer use 'cpan' to install a
simple CPAN distribution in which the META.yml file says

requires:
  perl: 5.6

For example, with Win32::WinError I get this output:

cpan[1]> install Win32::WinError
[...]
Configuring J/JD/JDB/Win32-WinError-0.03.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a nmake-style Makefile
Writing Makefile for Win32::WinError
Writing MYMETA.yml and MYMETA.json
  JDB/Win32-WinError-0.03.tar.gz
  C:\perl\bin\perl.exe Makefile.PL -- OK
Running make for J/JD/JDB/Win32-WinError-0.03.tar.gz
JDB/Win32-WinError-0.03.tar.gz requires perl '5.6'; you have only
5.019004; giving up
  JDB/Win32-WinError-0.03.tar.gz
  [prereq] -- NOT OK

The same thing worked fine in perl-5.19.3.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=high
---
Site configuration information for perl 5.19.4:

Configured by shay at Wed Sep 18 11:11:46 2013.

Summary of my perl5 (revision 5 version 19 subversion 4) configuration:
  Local Commit: a576a29029ca81bf17ff696b19189f1945980823
  Ancestor: 83de273e649a33a217d3d08e9ccbebeb1cd22400
  Platform:
    osname=MSWin32, osvers=6.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='cl', ccflags ='-nologo -GF -W3 -O1 -MD -Zi -DNDEBUG -DWIN32
-D_CONSOLE -DNO_STRICT -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE  -DPERL_TEXTMODE_SCRIPTS
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO',
    optimize='-O1 -MD -Zi -DNDEBUG',
    cppflags='-DWIN32'
    ccversion='17.00.51106.1', gccversion='', 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', 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
"/manifestdependency:type='Win32'
name='Microsoft.Windows.Common-Controls' version='6.0.0.0'
processorArchitecture='*' publicKeyToken='6595b64144ccf1df'
language='*'"'
    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 comctl32.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 comctl32.lib msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl519.lib
    gnulibc_version=''
  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
"/manifestdependency:type='Win32'
name='Microsoft.Windows.Common-Controls' version='6.0.0.0'
processorArchitecture='*' publicKeyToken='6595b64144ccf1df'
language='*'"'

Locally applied patches:
    a576a29029ca81bf17ff696b19189f1945980823

---
@INC for perl 5.19.4:
    c:/perl/site/lib
    c:/perl/lib
    .

---
Environment for perl 5.19.4:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\perl\bin
    PERL_BADLANG (unset)
    SHELL (unset)


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About