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

First I installed all dependencies.

Everything was fine. Installed perfectly. But could not get core module to install

I tried installing by force but did not work

perl -MCPAN -e "CPAN::Shell->force(qw(install Email::Simple));"

Tried multiple times with cpan and tried ppm

Looked it up on google. No luck. Tried installing Email::Date::Format again. worked perfectly.

Asked here. Hope someone can help.

1. Test::More S B R D Core module Core module 2. ExtUtils::MakeMaker S B R D Core module + Core module - 3. Email::Date::Format S B R D Results by OS an +d perl version 835 PASS0 UNKNOWN4 FAIL0 NA 835 PASSes, 0 UNKN +OWNs, 4 FAILs, 0 NAs 4. Time::Local
The above installs worked perfectly. Build is perl 10. Then i Tried installing Email::Simple.
cpan> install Email::Simple Running install for module 'Email::Simple' Running make for R/RJ/RJBS/Email-Simple-2.100.tar.gz Checksum for C:\Perl\cpan\sources\authors\id\R\RJ\RJBS\Email-Simple-2. +100.tar.gz ok Email-Simple-2.100/ Email-Simple-2.100/Changes Email-Simple-2.100/LICENSE Email-Simple-2.100/MANIFEST Email-Simple-2.100/META.yml Email-Simple-2.100/Makefile.PL Email-Simple-2.100/README Email-Simple-2.100/lib/ Email-Simple-2.100/t/ Email-Simple-2.100/t/badly-folded.t Email-Simple-2.100/t/basic.t Email-Simple-2.100/t/create.t Email-Simple-2.100/t/ct-header.t Email-Simple-2.100/t/folding.t Email-Simple-2.100/t/header-case.t Email-Simple-2.100/t/header-junk.t Email-Simple-2.100/t/header-many.t Email-Simple-2.100/t/header-names.t Email-Simple-2.100/t/header-new.t Email-Simple-2.100/t/header-pairs.t Email-Simple-2.100/t/header-prepend.t Email-Simple-2.100/t/header-space.t Email-Simple-2.100/t/long-msgid.t Email-Simple-2.100/t/many-repeats.t Email-Simple-2.100/t/no-body.t Email-Simple-2.100/t/perl-minver.t Email-Simple-2.100/t/pod-coverage.t Email-Simple-2.100/t/pod.t Email-Simple-2.100/t/preserve-linefeed.t Email-Simple-2.100/t/test-mails/ Email-Simple-2.100/t/undef-message.t Email-Simple-2.100/t/unit.t Email-Simple-2.100/t/test-mails/badly-folded Email-Simple-2.100/t/test-mails/badly-folded-noindent Email-Simple-2.100/t/test-mails/josey-fold Email-Simple-2.100/t/test-mails/josey-nobody Email-Simple-2.100/t/test-mails/josey-nobody-blank Email-Simple-2.100/t/test-mails/josey-nofold Email-Simple-2.100/t/test-mails/junk-in-header Email-Simple-2.100/t/test-mails/long-msgid Email-Simple-2.100/t/test-mails/many-repeats Email-Simple-2.100/lib/Email/ Email-Simple-2.100/lib/Email/Simple/ Email-Simple-2.100/lib/Email/Simple.pm Email-Simple-2.100/lib/Email/Simple/Creator.pm Email-Simple-2.100/lib/Email/Simple/Header.pm CPAN.pm: Going to build R/RJ/RJBS/Email-Simple-2.100.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite Email::Date::Format 0 not found. Writing Makefile for Email::Simple ---- Unsatisfied dependencies detected during ---- ---- RJBS/Email-Simple-2.100.tar.gz ---- Email::Date::Format [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Email::Date::Format' Running make for R/RJ/RJBS/Email-Date-Format-1.002.tar.gz Has already been unwrapped into directory C:\Perl\cpan\build\Email-D +ate-Format -1.002-GSoKWz Has already been made Running make test Has already been tested successfully Running make install Already done Running make for R/RJ/RJBS/Email-Simple-2.100.tar.gz Has already been unwrapped into directory C:\Perl\cpan\build\Email-S +imple-2.10 0-hYBdsC CPAN.pm: Going to build R/RJ/RJBS/Email-Simple-2.100.tar.gz Warning: Prerequisite 'Email::Date::Format => 0' for 'RJBS/Email-Simpl +e-2.100.ta r.gz' already built but the result looks suspicious. Skipping another +build atte mpt, to prevent looping endlessly. RJBS/Email-Simple-2.100.tar.gz C:\Perl\lib\make.pm -- OK Running make test RJBS/Email-Simple-2.100.tar.gz Tests succeeded but one dependency not OK (Email::Date::Format) RJBS/Email-Simple-2.100.tar.gz [dependencies] -- NA Running make install make test had returned bad status, won't install without force Failed during this command: RJBS/Email-Simple-2.100.tar.gz : make_test NO one depen +dency not OK (Email::Date::Format) cpan>

tried the below answer as well. Does not show in PPM list.

if you have the activestate distro, go to shell/command prompt, enter PPM. When PPM opens type "remove package name" this will uninstall that particular package for you. type "help remove" in PPM for more details.

Alternativly if you know what files came with the package, just delete them. Be aware that some modules will rely on other modules been installed so make sure there are no dependencies before you remove delete packages.

Replies are listed 'Best First'.
Re: Simple problem installing Email::Simple
by bart (Canon) on May 24, 2011 at 07:01 UTC
    Your problems seem to be related to the module Email::Date::Format. Can you install that separately, and then test if it actually works? Try loading the module , printing its version number, etc.
Re: Simple problem installing Email::Simple
by Monkomatic (Sexton) on May 24, 2011 at 06:30 UTC

    UPDATE

    after unistalling and installing 5 more times in multiple ways I gave up.

    Went to CPan and INstalled MIME::Lite::TT::HTML

    PPM installed it and 24 (count them 24 dependinces) without a hitch.

    rewrote the code and finally moving forward again. Hope this helps someone out in the future.

Re: Simple problem installing Email::Simple
by Anonymous Monk on May 24, 2011 at 06:39 UTC
    Asked here. Hope someone can help.

    What is 1., where is that information from?

    C:\Perl\lib\make.pm -- OK

    What is make.pm, where did that come from? This looks very suspicious, you generally don't use make on win32, you generally see nmake or dmake.

    Tried installing Email::Date::Format again. worked perfectly.

    Where did you install it? What does this command print

    perl -V -lE " use Email::Date::Format; say for %INC "

    See A Guide to Installing Modules for the hands on approach.