Item616: Unable to install DBConnectorPlugin due to "insecure dependency"
Priority: Urgent
Current State: Closed
Released In:
Target Release:
Even after installing the perl-DBI .rpm and verifying the Perl environment setting in configure, I get the following "insecure dependency" error:
(NB: I get the same kind of error with the
FastCGIContrib, so this may
not be module-specific--therefore, I set the priority to "urgent")
Module |
Version |
CPAN |
1.9205 |
LWP |
5.814 |
File::Spec |
3.2501 |
DBI |
1.607 |
OS |
MandrivaLinux 2009.0 (new installation) |
Perl |
v5.10.0 built for i386-linux-thread-multi |
Checking dependency on DBI....
*** DBConnectorPlugin depends on cpan package DBI >0
which is described as "Required"
But when I tried to find it I got this error:
Insecure dependency
Use of uninitialized value $_[0] in join or string at /usr/lib/perl5/5.10.0/File/Spec/Unix.pm line 81.
at /home/httpd/foswiki/bin/configure line 91
main::__ANON__('Use of uninitialized value $_[0] in join or string at /usr/li...') called at /usr/lib/perl5/5.10.0/File/Spec/Unix.pm line 81
File::Spec::Unix::catdir('File::Spec', undef, '.cpan') called at /usr/lib/perl5/5.10.0/CPAN/HandleConfig.pm line 477
CPAN::HandleConfig::require_myconfig_or_config() called at /usr/lib/perl5/5.10.0/CPAN/HandleConfig.pm line 513
CPAN::HandleConfig::load('CPAN::HandleConfig') called at /usr/lib/perl5/5.10.0/CPAN.pm line 1218
CPAN::exists('CPAN=HASH(0xa9d8ed8)', 'CPAN::Module', 'DBI') called at /usr/lib/perl5/5.10.0/CPAN.pm line 2954
CPAN::Shell::expand_by_method('CPAN::Shell', 'CPAN::Module', 'ARRAY(0xaa0c7f8)', 'DBI') called at /usr/lib/perl5/5.10.0/CPAN.pm line 2872
CPAN::Shell::expand('CPAN::Shell', 'Module', 'DBI') called at /home/httpd/foswiki/tools/extender.pl line 242
Foswiki::Extender::satisfy('HASH(0x9e39f38)') called at /home/httpd/foswiki/tools/extender.pl line 778
Foswiki::Extender::_install('ARRAY(0xaa00888)', 'DBConnectorPlugin') called at /home/httpd/foswiki/tools/extender.pl line 911
Foswiki::Extender::install('http://foswiki.org/pub/Extensions', 'DBConnectorPlugin', 'DBConnectorPlugin', 'MANIFEST', 'lib/Foswiki/Plugins/DBConnectorPlugin.pm,0444,Plugin Perl mod...', 'DEPENDENCIES', 'DBI,>0,1,cpan,Required\x{a}DBD::SQLite,>0,1,cpan,Optional\x{a}\x{a}') called at /home/httpd/foswiki/DBConnectorPlugin_installer line 141
require /home/httpd/foswiki/DBConnectorPlugin_installer called at /home/httpd/foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 159
eval {...} called at /home/httpd/foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 156
Foswiki::Configure::UIs::EXTEND::ui('Foswiki::Configure::UIs::EXTEND=HASH(0x97b7668)') called at /home/httpd/foswiki/bin/configure line 561
Foswiki::_actionInstallExtension() called at /home/httpd/foswiki/bin/configure line 454
at /usr/lib/perl5/vendor_perl/5.10.0/CGI/Carp.pm line 356
CGI::Carp::realdie('Use of uninitialized value $_[0] in join or string at /usr/li...') called at /usr/lib/perl5/vendor_perl/5.10.0/CGI/Carp.pm line 437
CGI::Carp::die('Use of uninitialized value $_[0] in join or string at /usr/li...') called at /home/httpd/foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 161
eval {...} called at /home/httpd/foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 156
Foswiki::Configure::UIs::EXTEND::ui('Foswiki::Configure::UIs::EXTEND=HASH(0x97b7668)') called at /home/httpd/foswiki/bin/configure line 561
Foswiki::_actionInstallExtension() called at /home/httpd/foswiki/bin/configure line 454
Update: After installing/updating the following modules (overriding the rpm-based system defaults using the
lib/CPAN/lib
subdirectory), the error message changes:
Module |
Version |
Comment |
CPAN |
1.9301 |
|
LWP |
5.822 |
|
Package::Alias |
0.04 |
(may be the cause of the first warning, not checked yet) |
Warning: CPAN is not available, some installer functions have been disabled
(the "Insecure dependency" error in the first part actually vanished (cf. "But when I tried to find it I got this error" above), though it now shows up below)
Insecure dependency in eval while running with -T switch at /home/httpd/foswiki/tools/extender.pl line 196.
at /home/httpd/foswiki/tools/extender.pl line 196
Foswiki::Extender::satisfy('HASH(0xa3d59f8)') called at /home/httpd/foswiki/tools/extender.pl line 778
Foswiki::Extender::_install('ARRAY(0xaed2380)', 'DBConnectorPlugin') called at /home/httpd/foswiki/tools/extender.pl line 911
Foswiki::Extender::install('http://foswiki.org/pub/Extensions', 'DBConnectorPlugin', 'DBConnectorPlugin', 'MANIFEST', 'lib/Foswiki/Plugins/DBConnectorPlugin.pm,0444,Plugin Perl mod...', 'DEPENDENCIES', 'DBI,>0,1,cpan,Required\x{a}DBD::SQLite,>0,1,cpan,Optional\x{a}\x{a}') called at /home/httpd/foswiki/DBConnectorPlugin_installer line 141
require /home/httpd/foswiki/DBConnectorPlugin_installer called at /home/httpd/foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 159
eval {...} called at /home/httpd/foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 156
Foswiki::Configure::UIs::EXTEND::ui('Foswiki::Configure::UIs::EXTEND=HASH(0xa1c4650)') called at /home/httpd/foswiki/bin/configure line 561
Foswiki::_actionInstallExtension() called at /home/httpd/foswiki/bin/configure line 454
at /usr/lib/perl5/vendor_perl/5.10.0/CGI/Carp.pm line 356
CGI::Carp::realdie('Insecure dependency in eval while running with -T switch at /...') called at /usr/lib/perl5/vendor_perl/5.10.0/CGI/Carp.pm line 437
CGI::Carp::die('Insecure dependency in eval while running with -T switch at /...') called at /home/httpd/foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 161
eval {...} called at /home/httpd/foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 156
Foswiki::Configure::UIs::EXTEND::ui('Foswiki::Configure::UIs::EXTEND=HASH(0xa1c4650)') called at /home/httpd/foswiki/bin/configure line 561
Foswiki::_actionInstallExtension() called at /home/httpd/foswiki/bin/configure line 454
Update: This has been fixed as of build 1682, closing this item.