You are here: Foswiki>Tasks Web>Item12711 (05 Jul 2015, GeorgeClark)Edit Attach

Item12711: Configure could report if dependencies are part of Perl core

pencil
Priority: Enhancement
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: Configure
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
It would be nice if configure would also indicate if a module / version was provided by Perl core, and identify the release.

Along the way I noticed that the DEPENDENCIES file was a bit broken. A number of CPAN and core perl dependencies were not listed as "cpan" so they were not being checked by configure.

Also we had a few missing optional dependencies. And might as well note that with perl 5.17.9 5.19.7, CGI, CGI::Cookie and CGI::Util are deprecated and will need to be installed from CPAN. George, you said perl 5.19.7 on IRC and that is consistent with the current development release Yes indeed - I meant 5.19.7. Thanks!

Last, we were pointing to search.cpan, interwikis uses metacpan. Might as well be consistent.

Some of this will also apply to Release01x01. Some DEPENDENCIES are wrong there as well.

-- GeorgeClark - 05 Jan 2014

Had to revert the Module::CoreList code. Fails on trunk.foswiki.org
Use of uninitialized value in string ge at /usr/local/lib/perl5/site_perl/5.16.2/Module/CoreList.pm line 29.
 at /home/trunk.foswiki.org/core/bin/configure line 142.
   main::__ANON__('Use of uninitialized value in string ge at /usr/local/lib/per...') called at /usr/local/lib/perl5/5.16.2/CGI/Carp.pm line 379
   CGI::Carp::realdie('Use of uninitialized value in string ge at /usr/local/lib/per...') called at /usr/local/lib/perl5/5.16.2/CGI/Carp.pm line 468
   CGI::Carp::die('Use of uninitialized value in string ge at /usr/local/lib/per...') called at /usr/home/trunk.foswiki.org/core/lib/AssertOn.pm line 14
   Assert::__ANON__('Use of uninitialized value in string ge at /usr/local/lib/per...') called at /usr/local/lib/perl5/site_perl/5.16.2/Module/CoreList.pm line 29
   Module::CoreList::first_release_raw called at /usr/local/lib/perl5/site_perl/5.16.2/Module/CoreList.pm line 44
   Module::CoreList::first_release('POSIX', 1) called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/UI.pm line 1267
   Foswiki::Configure::UI::checkPerlModules('Foswiki::Configure::Checkers::CGISetup=HASH(0x1212e48)', 2, 'ARRAY(0x11fc5d0)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Checkers/CGISetup.pm line 830
   Foswiki::Configure::Checkers::CGISetup::_showDEPENDENCIES('Foswiki::Configure::Checkers::CGISetup=HASH(0x1212e48)', 'Extensions', 'ARRAY(0x11fb8f8)', 1) called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Checkers/CGISetup.pm line 753
   Foswiki::Configure::Checkers::CGISetup::analyzeExtensions('Foswiki::Configure::Checkers::CGISetup=HASH(0x1212e48)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Checkers/CGISetup.pm line 54
   Foswiki::Configure::Checkers::CGISetup::provideFeedback('Foswiki::Configure::Checkers::CGISetup=HASH(0x1212e48)', 'Foswiki::Configure::Value=HASH(0x1316218)', 103, '~Auditor') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Feedback.pm line 688
   eval {...} called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Feedback.pm line 687
   Foswiki::Configure::Feedback::startVisit('Foswiki::Configure::Feedback=HASH(0xca6038)', 'Foswiki::Configure::Value=HASH(0x1316218)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Item.pm line 178
   Foswiki::Configure::Item::visit('Foswiki::Configure::Value=HASH(0x1316218)', 'Foswiki::Configure::Feedback=HASH(0xca6038)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Section.pm line 90
   Foswiki::Configure::Section::visit('Foswiki::Configure::AUDIT=HASH(0x1314408)', 'Foswiki::Configure::Feedback=HASH(0xca6038)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Section.pm line 90
   Foswiki::Configure::Section::visit('Foswiki::Configure::Section=HASH(0x132d3c0)', 'Foswiki::Configure::Feedback=HASH(0xca6038)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Section.pm line 90
   Foswiki::Configure::Section::visit('Foswiki::Configure::Root=HASH(0xd06b00)', 'Foswiki::Configure::Feedback=HASH(0xca6038)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Feedback.pm line 217
   Foswiki::Configure::Feedback::deliver('feedbackUI', 'CGI::Session=HASH(0x9cd758)', 'CGI::Cookie=HASH(0xa77a60)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Feedback.pm line 113
   Foswiki::_actionfeedbackUI('feedbackUI', 'CGI::Session=HASH(0x9cd758)', 'CGI::Cookie=HASH(0xa77a60)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Dispatch.pm line 978
   Foswiki::dispatch('_action', 'feedbackUI', 'CODE(0x7193f0)', 'CGI::Session=HASH(0x9cd758)', 'CGI::Cookie=HASH(0xa77a60)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Dispatch.pm line 202
   require Foswiki/Configure/Dispatch.pm called at (eval 11) line 2
   main::BEGIN() called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Dispatch.pm line 0
   eval {...} called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Configure/Dispatch.pm line 0
   eval 'use Foswiki::Configure::Dispatch
;' called at /home/trunk.foswiki.org/core/bin/configure line 90
   main::_loadBasicModule('Foswiki::Configure::Dispatch') called at /home/trunk.foswiki.org/core/bin/configure line 179
-- GeorgeClark - 05 Jan 2014

Setting this to "Waiting for release." Because Module::Corelist crashes on some versions of perl, best to not get into more complex dependencies.

-- GeorgeClark - 28 Apr 2014
 

ItemTemplate edit

Summary Configure could report if dependencies are part of Perl core
ReportedBy GeorgeClark
Codebase 1.1.9, trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:f174632f2752 distro:092b99b6b476 distro:2f874b80e202 distro:ef2d3e783a93
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:f174632f2752 distro:092b99b6b476 distro:ef2d3e783a93
Release01x01Checkins distro:2f874b80e202
Topic revision: r10 - 05 Jul 2015, GeorgeClark - This page was cached on 30 May 2016 - 12:50.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License