http://www.perlmonks.org?node_id=1034060

HelenCr has asked for the wisdom of the Perl Monks concerning the following question:

Dear esteemed PerlMonks

After a long struggle, I gave up fixing Alien::wxWidgets 2.9.4 installation on StrawberryPerl 5.16.31, and instead downloaded and installed Citrus Perl2. I changed system and user path to point to the Citrus Perl installation.3

But now, I need to install again several modules.

When using CPANPLUS trying to install DateTime, I'm getting errors: see (abridged) log:

CPAN Terminal> i DateTime [MSG] Checking if source files are up to date. Installing DateTime (1. +03) [MSG] Trying to get 'http://cpan.strawberryperl.com/authors/id/D/DR/DR +OLSKY/CHECKSUMS' [MSG] Checksum matches for 'DateTime-1.03.tar.gz' [MSG] Extracted 'DateTime-1.03/' ... ... [MSG] Extracted 'DateTime-1.03/TODO' [MSG] Extracted 'DateTime' to 'F:\Win7programs\Dwimperl\cpanplus\5.16. +3\build\DateTime-1.03' Could not find or check module 'Module::Signature' [THIS MAY BE A PROB +LEM!] at F:/Win7programs/Citrus/perl/lib/CPANPLUS/Module/Signature.pm + line 51. Running [F:\Win7programs\Citrus\perl\bin\perl.exe -e use strict; BEGIN + { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = + do($0); die $@ if $@; } F:\Win7programs\Dwimperl\cpanplus\5.16.3\bui +ld\DateTime-1.03\Build.PL --uninst 1]... Warning: ExtUtils::CBuilder not installed or no compiler detected Proceeding with configuration, but compilation may fail during Build Checking prerequisites... requires: ! DateTime::Locale is not installed ! DateTime::TimeZone is not installed ! Params::Validate is not installed test_requires: ! Test::Fatal is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the v +ersions of the modules indicated above before proceeding with this installatio +n Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'DateTime' version '1.03' [MSG] Module 'DateTime' requires 'DateTime::Locale' version '0.41' to +be installed [MSG] Module 'DateTime' requires 'DateTime::TimeZone' version '1.09' t +o be installed [MSG] Module 'DateTime' requires 'Params::Validate' version '0.76' to +be installed [MSG] Module 'DateTime' requires 'Test::Fatal' version '0' to be insta +lled [ERROR] Module 'DateTime' needs perl version '5.008001', but you only +have version '5.16.3' -- can not proceed [ERROR] Unable to satisfy prerequisites for 'DateTime' -- aborting ins +tall [ERROR] Unable to create a new distribution object for 'DateTime' -- c +annot continue Error installing 'DateTime'

Update:  Solved. See this post below: perlmonks.org/?node_id=1034103

The three main problems I see here are (quoting from log above):

  1. Could not find or check module 'Module::Signature' [THIS MAY BE A PROBLEM!] at F:/Win7programs/Citrus/perl/lib/CPANPLUS/Module/Signature.pm line 51;
  2. Warning: ExtUtils::CBuilder not installed or no compiler detected
    and:
  3. [ERROR] Module 'DateTime' needs perl version '5.008001', but you only have version '5.16.3' -- can not proceed
I am getting similar errors trying to install some other modules.

What to do?

Many TIA - Helen

(running on Windows 7 64 bit, Wx version 0.9921, wxWidgets version 2.9.4)

______________________________________________________
1 (Big disappointment. Experts advice didn't help, although implementing all their suggestions, I kept getting a perl.exe crash in: wxbase294u_gcc_custom.dll, see here: perlmonks.org/?node_id=1033560)
2 I've "relocated" the Citrus Perl installation according to the documentation, and used the utility to: a. install the MinGW compiler and b. update to wxWidgets 2.9.4
3 Having several Perl installations is perfectly "legal" and covered by documentation. (For example, see here: perlmonks.org/?node_id=1033038)