Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 113668
Status: open
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: hou-fu.lin [...] hp.com
Cc:
AdminCc:

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



Subject: CPAN not working out of the box for Portable Perl 5.22.1
Date: Mon, 11 Apr 2016 05:10:55 +0000
To: "bug-Perl-Dist-Strawberry [...] rt.cpan.org" <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: "Lim, Ludwig Isaac (Legacy System Archeaologist)" <hou-fu.lin [...] hp.com>
Hello: I'm getting the following errors when running the following command inside the CPAN shell : Show quoted text
cpan> install Config::General
Creating database file ... Indexing failed! at F:/Environment/Cadence/adw/adw_conf_root/HP/HP/cdssetup/projmgr/flows/bin/PDEIT/portable_perl/perl/vendor/lib/CPAN/SQLite.pm line 71, <DATA> line 315. CPAN::SQLite setup failed at F:/Environment/Cadence/adw/adw_conf_root/HP/HP/cdssetup/projmgr/flows/bin/PDEIT/portable_perl/perl/vendor/lib/CPAN/S QLite/META.pm line 352, <DATA> line 315. Catching error: "system F:\\Environment\\Cadence\\adw\\adw_conf_root\\HP\\HP\\cdssetup\\projmgr\\flows\\bin\\PDEIT\\portable_perl\\perl\\bin\\per l.exe -MCPAN::SQLite::META=setup,update,check -e setup failed: 65280 at F:\\Environment\\Cadence\\adw\\adw_conf_root\\HP\\HP\\cdssetup\\projmgr\\ flows\\bin\\PDEIT\\portable_perl\\perl\\vendor\\lib/CPAN/SQLite/META.pm line 345.\cJ" at F:/Environment/Cadence/adw/adw_conf_root/HP/HP/cdssetup/ projmgr/flows/bin/PDEIT/portable_perl/perl/lib/CPAN.pm line 391. CPAN::shell() called at -e line 1 Creating database file ... Indexing failed! at F:/Environment/Cadence/adw/adw_conf_root/HP/HP/cdssetup/projmgr/flows/bin/PDEIT/portable_perl/perl/vendor/lib/CPAN/SQLite.pm line 71, <DATA> line 315. CPAN::SQLite setup failed at F:/Environment/Cadence/adw/adw_conf_root/HP/HP/cdssetup/projmgr/flows/bin/PDEIT/portable_perl/perl/vendor/lib/CPAN/S QLite/META.pm line 352, <DATA> line 315. Lockfile removed. system F:\Environment\Cadence\adw\adw_conf_root\HP\HP\cdssetup\projmgr\flows\bin\PDEIT\portable_perl\perl\bin\perl.exe -MCPAN::SQLite::META=setup ,update,check -e setup failed: 65280 at F:\Environment\Cadence\adw\adw_conf_root\HP\HP\cdssetup\projmgr\flows\bin\PDEIT\portable_perl\perl\vendor \lib/CPAN/SQLite/META.pm line 345. Environment: F:\Environment\Cadence\adw\adw_conf_root\HP\HP\cdssetup\projmgr\flows\bin\PDEIT\portable_perl>perl -V Summary of my perl5 (revision 5 version 22 subversion 1) configuration: Platform: osname=MSWin32, osvers=6.3, archname=MSWin32-x86-multi-thread-64int uname='Win32 strawberry-perl 5.22.1.3 #1 Mon Mar 7 05:57:53 2016 i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bi tfields', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.9.2', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678, doublekind=3 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12, longdblkind=3 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++.exe', ldflags ='-s -L"F:\Environment\Cadence\adw\adw_conf_root\HP\HP\cdssetup\projmgr\flows\bin\PDEIT\portable_perl\perl\lib\CORE" -L "F:\Environment\Cadence\adw\adw_conf_root\HP\HP\cdssetup\projmgr\flows\bin\PDEIT\portable_perl\c\lib"' libpth=F:\Environment\Cadence\adw\adw_conf_root\HP\HP\cdssetup\projmgr\flows\bin\PDEIT\portable_perl\c\lib F:\Environment\Cadence\adw\adw_con f_root\HP\HP\cdssetup\projmgr\flows\bin\PDEIT\portable_perl\c\i686-w64-mingw32\lib F:\Environment\Cadence\adw\adw_conf_root\HP\HP\cdssetup\projmg r\flows\bin\PDEIT\portable_perl\c\lib\gcc\i686-w64-mingw32\4.9.2 libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -l winmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmp r -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl522.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"F:\Environment\Cadence\adw\adw_conf_root\HP\HP\cdssetup\projmgr\flows\bin\PDEIT\portable_perl\perl\lib \CORE" -L"F:\Environment\Cadence\adw\adw_conf_root\HP\HP\cdssetup\projmgr\flows\bin\PDEIT\portable_perl\c\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at Mar 7 2016 06:02:38 @INC: F:/Environment/Cadence/adw/adw_conf_root/HP/HP/cdssetup/projmgr/flows/bin/PDEIT/portable_perl/perl/site/lib F:/Environment/Cadence/adw/adw_conf_root/HP/HP/cdssetup/projmgr/flows/bin/PDEIT/portable_perl/perl/vendor/lib F:/Environment/Cadence/adw/adw_conf_root/HP/HP/cdssetup/projmgr/flows/bin/PDEIT/portable_perl/perl/lib . I did the following: * Unzip portable perl 5.22.1 (32 bit) * Run portableshell.bat * perl -MCPAN -e shell * install Config::General I was also able to reproduce this error in a Windows 7 machine. Seems that use_sqlite in CPAN needs to be set to 0 for CPAN to work. Thanks in advance, --Ludwig--

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #113668] CPAN not working out of the box for Portable Perl 5.22.1
Date: Mon, 11 Apr 2016 07:29:54 +0200
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] cpan.org>
1/ Try to run from CPAN shell the following command: Show quoted text
cpan> reload index
2/ Other workaround might be using cpanminus (it is preinstalled in portable strawberry perl) - e.g. from command prompt run: c:\any\dir> cpanm Config::General -v