Ticket #92 (closed bug: invalid)

Opened 1 year ago

Last modified 1 year ago

Initializing CPAN and Perl Dependencies

Reported by: Devinder <devinbhullar@gmail.com> Assigned to: kindlund
Priority: normal Milestone: 0.9
Component: Documentation Version: 0.99
Severity: none Keywords: cpan, bundle, xml, path, patch, initialize
Cc:

Description (Last modified by kindlund)

Hi Darien,

After installing Cygwin, do I need to install and update CPAN, as I think I have done this step before. I had also installed the CPAN bundle. Can I skip this part and proceed to the XML::Path patch?

Regards,

Devinder

Attachments

Change History

09/04/07 12:55:10 changed by kindlund

  • status changed from new to closed.
  • description changed.
  • component changed from Unknown to Documentation.
  • summary changed from Documentation to Initializing CPAN and Perl Dependencies.
  • priority changed from normal to lowest.
  • version changed from none to 0.99.
  • milestone set to 0.9.
  • keywords set to cpan, bundle, xml, path, patch, initialize.
  • resolution set to invalid.

Hi Devinder,

To be safe, you should probably follow the steps listed in the UserGuide and install and update CPAN as directed. If Bundle::CPAN is already up to date, then the CPAN utility will tell you it's already updated and terminate. So, there is no harm in issuing the "install Bundle::CPAN" command multiple times.

Once you've completed this step, proceed to step 11 in this section: http://www.honeyclient.org/trac/wiki/UserGuide#InstallPerlDependencies1

This means, that you need to install the dependencies listed in the Notes section using CPAN: http://www.honeyclient.org/trac/wiki/UserGuide#HoneyClient::UtilDependencies http://www.honeyclient.org/trac/wiki/UserGuide#HoneyClient::AgentDependencies

Here is a list of all the commands you need to enter from CPAN:

> install threads
> install threads::shared
> install File::Find::Rule
> install File::Find
> install Clone
> install Test::Pod
> install DateTime
> install HTML::Tagset
> install HTML::Parser
> install Class::MethodMaker
> install Test::Builder
> install Sub::Uplevel
> install Test::Builder::Tester
> install Log::Log4perl
> install Sys::Syslog
> install Log::Dispatch::Syslog
> install MIME::Tools
> install LWP::UserAgent
> install SOAP::Lite
> install SOAP::Transport::HTTP
> install XML::Tidy
> install Module::Build
> install Module::Build::Version
> install ExtUtils::MakeMaker 
> install Algorithm::Diff
> install Data::Compare
> install Data::Diff
> install Data::Structure::Util
> install Data::Validate::URI
> install DateTime::HiRes
> install Digest::MD5
> install Digest::SHA
> install File::Temp
> install File::Type
> install Filesys::CygwinPaths
> install HTML::HeadParser
> install HTML::LinkExtor
> install HTTP::Request::Common
> install LWP::UserAgent
> install Log::Log4perl
> install Parse::Yapp::Driver
> install Search::Binary
> install Term::ProgressBar
> install Test::Exception
> install URI
> install URI::URL
> install Win32::Job 

Regards,

— Darien

09/06/07 21:26:24 changed by Devinder <devinbhullar@gmail.com>

  • priority changed from lowest to normal.

Hi Darien

There seems to be two install honey client utils in the documentation in Step 12 and Step 17.

They are identical. I have already done step 12 some time ago when i had the problems of the PERL -test which we solved some time back.

Do i need to repeat these steps again?. can i just proceed with updating the CPAN which you had suggested.

Regards Devinder

09/08/07 12:55:17 changed by kindlund

Hi Devinder,

There is a difference between Step 12 and Step 17.

In Step 12, you're installing the HoneyClient::Util package on the Host System. This is why Step 12 is located in the section called "Host System". http://www.honeyclient.org/trac/wiki/UserGuide#HostSystem

In Step 17, you're installing the HoneyClient::Util package inside the master Honeyclient VM. This is why Step 17 is located in the section called "Honeyclient VM". http://www.honeyclient.org/trac/wiki/UserGuide#HoneyclientVM

If these terms are still unclear or confusing, I would highly recommend you review this page:

http://www.honeyclient.org/trac/wiki/Definitions#NetworkTerms

As all the terms such as "host system" and "honeyclient VM" are clearly explained, along with a detailed architectural diagram.

Regards,

— Darien

09/10/07 05:16:35 changed by Devinder <devinbhullar@gmail.com>

Hi Darien

I installed cygwin and typed cpan

and select auto configuration and then did this

i did not do any manual settigns

is that ok

i then went to do this and did not do init o conf as all cpan> o conf prerequisites_policy follow

prerequisites_policy follow

cpan> o conf commit commit: wrote /usr/lib/perl5/5.8.8/CPAN/Config.pm

cpan> install Bundle::CPAN

cpan> install Bundle::CPAN … CPAN is up to date.

cpan> reload cpan

cpan> exit

i guess i skipped the o conf init is that ok

09/10/07 05:40:52 changed by Devinder <devinbhullar@gmail.com>

install DateTime gave lots of errors

09/10/07 05:43:30 changed by Devinder <devinbhullar@gmail.com>

# expected: 'Sep'

# Failed test '%h' # at t/13strftime.t line 50. # got: 'Sep.' # expected: 'Sep' t/13strftime…………NOK 56/134# New locale: it # Looks like you failed 3 tests of 134. t/13strftime…………dubious

Test returned status 3 (wstat 768, 0x300)

DIED. FAILED tests 48, 50, 56

Failed 3/134 tests, 97.76% okay

t/14locale…………..ok t/15jd………………ok t/16truncate…………ok t/17set_return……….ok t/18today……………ok t/19leap_second………ok t/20infinite…………ok t/21bad_params……….ok t/22from_doy…………ok t/23storable…………ok

1/21 skipped: various reasons

t/24from_object………ok t/25add_subtract……..ok t/26dt_leapsecond_pm….ok t/27delta……………ok t/28dow……………..ok t/29overload…………ok t/30future_tz………..ok t/31formatter………..skipped

all skipped: DateTime::Format::Strptime 1.0400+ not installed

t/32leap_second2……..ok t/33seconds_offset……ok t/34set_tz…………..ok t/35rd_values………..ok t/36invalid_local…….ok t/37local-add………..ok t/38local-subtract……ok t/39no-so……………ok t/40leap-years……….ok t/pod-coverage……….ok t/pod……………….ok Failed Test Stat Wstat Total Fail List of Failed


t/13strftime.t 3 768 134 3 48 50 56 1 test and 1 subtest skipped. Failed 1/42 test scripts. 3/3162 subtests failed. Files=42, Tests=3162, 33 wallclock secs (19.63 cusr + 11.99 csys = 31.62 CPU) Failed 1/42 test programs. 3/3162 subtests failed. make: *** [test_dynamic] Error 255

DROLSKY/DateTime-0.40.tar.gz /usr/bin/make test — NOT OK

Running make install

make test had returned bad status, won't install without force

Failed during this command:

DROLSKY/DateTime-0.40.tar.gz : make_test NO

cpan[10]> install DateTime

09/10/07 06:07:27 changed by Devinder <devinbhullar@gmail.com>

Hi Darien

need help on this

cpan[1]> install DateTime CPAN: Storable loaded ok (v2.15) Going to read /home/Devin/.cpan/Metadata

Database was generated on Mon, 10 Sep 2007 04:36:52 GMT

CPAN: YAML loaded ok (v0.65) Going to read /home/Devin/.cpan/build/ ………………………………………………………………….DONE

Found 10 old builds, restored the state of 10 Running install for module 'DateTime' Running make for D/DR/DROLSKY/DateTime-0.40.tar.gz

Has already been unwrapped into directory /home/Devin/.cpan/build/DateTime-0.4

0-4inCDf

Has already been made

Running make test /usr/bin/perl5.8.8.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib ', 'blib/arch')" t/*.t t/00load…………….ok t/01sanity…………..ok t/02last_day…………ok t/03components……….ok t/04epoch……………ok t/05set……………..ok t/06add……………..ok t/07compare………….ok t/09greg…………….ok 1/35# this may take a minute… t/09greg…………….ok t/10subtract…………ok t/11duration…………ok t/12week…………….ok t/13strftime…………ok 1/134# New locale: de

# Failed test '%a' t/13strftime…………NOK 48/134# at t/13strftime.t line 50. # got: 'Di.' # expected: 'Di'

# Failed test '%b' # at t/13strftime.t line 50. # got: 'Sep.' # expected: 'Sep'

# Failed test '%h' # at t/13strftime.t line 50. # got: 'Sep.' # expected: 'Sep' t/13strftime…………NOK 56/134# New locale: it # Looks like you failed 3 tests of 134. t/13strftime…………dubious

Test returned status 3 (wstat 768, 0x300)

DIED. FAILED tests 48, 50, 56

Failed 3/134 tests, 97.76% okay

t/14locale…………..ok t/15jd………………ok t/16truncate…………ok t/17set_return……….ok t/18today……………ok t/19leap_second………ok t/20infinite…………ok t/21bad_params……….ok t/22from_doy…………ok t/23storable…………ok

1/21 skipped: various reasons

t/24from_object………ok t/25add_subtract……..ok t/26dt_leapsecond_pm….ok t/27delta……………ok t/28dow……………..ok t/29overload…………ok t/30future_tz………..ok t/31formatter………..skipped

all skipped: DateTime::Format::Strptime 1.0400+ not installed

t/32leap_second2……..ok t/33seconds_offset……ok t/34set_tz…………..ok t/35rd_values………..ok t/36invalid_local…….ok t/37local-add………..ok t/38local-subtract……ok t/39no-so……………ok t/40leap-years……….ok t/pod-coverage……….ok t/pod……………….ok Failed Test Stat Wstat Total Fail List of Failed


t/13strftime.t 3 768 134 3 48 50 56 1 test and 1 subtest skipped. Failed 1/42 test scripts. 3/3162 subtests failed. Files=42, Tests=3162, 33 wallclock secs (18.89 cusr + 12.50 csys = 31.39 CPU) Failed 1/42 test programs. 3/3162 subtests failed. make: *** [test_dynamic] Error 255

DROLSKY/DateTime-0.40.tar.gz /usr/bin/make test — NOT OK

Running make install

make test had returned bad status, won't install without force

Failed during this command:

DROLSKY/DateTime-0.40.tar.gz : make_test NO

cpan[2]>

09/10/07 13:16:22 changed by kindlund

Hi Devinder,

You will only need to run 'o conf init' inside CPAN, if you're having problems downloading any of the packages. That command allows you to change which CPAN mirrors you use.

It seems you were using DateTime-0.40 in your installation.

The latest version of this package is DateTime-0.41

If you can't seem to download the 0.41 version, then you may need to switch CPAN mirrors. If you type 'o conf init', you can eventually specify a different mirror to use for downloading this package.

I was able to download and successfully install DateTime-0.41 from this mirror: ftp://mirrors.kernel.org/pub/CPAN

Regards,

— Darien

09/10/07 21:21:17 changed by Devinder <devinbhullar@gmail.com>

Hi Darien

Do i delete my previous mirrors. i had added (5) as instructed. but it still gives errors.

(1) ftp://ftp.dti.ad.jp/pub/lang/CPAN/ (previous pick) (2) ftp://ftp.kddilabs.jp/CPAN/ (previous pick) (3) ftp://ftp.nara.wide.ad.jp/pub/CPAN/ (previous pick) (4) ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/ (previous pick) (5) ftp://mirrors.kernel.org/pub/CPAN/ (previous pick) Select as many URLs as you like (by number), put them on one line, separated by blanks, hyphenated ranges allowed

e.g. '1 4 5' or '7 1-4 8'

(or just hit RETURN to keep your previous picks) [1 2 3 4 5]

Enter another URL or RETURN to quit: [] New set of picks:

ftp://ftp.dti.ad.jp/pub/lang/CPAN/ ftp://ftp.kddilabs.jp/CPAN/ ftp://ftp.nara.wide.ad.jp/pub/CPAN/ ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/ ftp://mirrors.kernel.org/pub/CPAN/

commit: wrote '/usr/lib/perl5/5.8/CPAN/Config.pm'

cpan[5]> install DateTime Running install for module 'DateTime' Running make for D/DR/DROLSKY/DateTime-0.40.tar.gz

Has already been unwrapped into directory /home/Devin/.cpan/build/DateTime-0.4

0-4inCDf

Has already been made

Running make test /usr/bin/perl5.8.8.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib ', 'blib/arch')" t/*.t t/00load…………….ok t/01sanity…………..ok t/02last_day…………ok t/30future_tz………..ok t/31formatter………..skipped

all skipped: DateTime::Format::Strptime 1.0400+ not installed

t/32leap_second2……..ok t/33seconds_offset……ok t/34set_tz…………..ok t/35rd_values………..ok t/36invalid_local…….ok t/37local-add………..ok t/38local-subtract……ok t/39no-so……………ok t/40leap-years……….ok t/pod-coverage……….ok t/pod……………….ok Failed Test Stat Wstat Total Fail List of Failed


t/13strftime.t 3 768 134 3 48 50 56 1 test and 1 subtest skipped. reasons Failed 1/42 test scripts. 3/3162 subtests failed. Files=42, Tests=3162, 39 wallclock secs (18.50 cusr + 12.45 csys = 30.95 CPU) Failed 1/42 test programs. 3/3162 subtests failed. make: *** [test_dynamic] Error 255

DROLSKY/DateTime-0.40.tar.gz /usr/bin/make test — NOT OK

Running make install….NOK 50/134# got: 'Sep.'

make test had returned bad status, won't install without force

Failed during this command: 56/134# New locale: it

DROLSKY/DateTime-0.40.tar.gz : make_test NO

t/13strftime…………dubious cpan[6]> DIED. FAILED tests 48, 50, 56

Failed 3/134 tests, 97.76% okay

t/14locale…………..ok t/15jd………………ok t/16truncate…………ok t/17set_return……….ok t/18today……………ok t/19leap_second………ok t/20infinite…………

09/10/07 21:28:52 changed by Devinder <devinbhullar@gmail.com>

(17) ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN (18) ftp://ftp-mirror.internap.com/pub/CPAN/ (19) ftp://ftp.ccs.neu.edu/net/mirrors/ftp.funet.fi/pub/languages/perl/CPAN/ (20) ftp://ftp.cise.ufl.edu/pub/mirrors/CPAN/ (21) ftp://ftp.dc.aleron.net/pub/CPAN/ (22) ftp://ftp.epix.net/pub/languages/perl/ (23) ftp://ftp.mednor.net/pub/mirrors/CPAN/ (24) ftp://ftp.ncsu.edu/pub/mirror/CPAN/ (25) ftp://ftp.ndlug.nd.edu/pub/perl/ (26) ftp://ftp.osuosl.org/pub/CPAN/ (27) ftp://ftp.saintjoe.edu/pub/CPAN (28) ftp://ftp.uwsg.iu.edu/pub/perl/CPAN/ (29) ftp://ftp.wayne.edu/cpan/ (30) ftp://mirror.candidhosting.com/pub/CPAN (31) ftp://mirror.datapipe.net/pub/CPAN/ (32) ftp://mirror.hiwaay.net/CPAN/ 28 more items, hit SPACE RETURN to show them Select as many URLs as you like (by number), put them on one line, separated by blanks, hyphenated ranges allowed

e.g. '1 4 5' or '7 1-4 8'

(or just hit RETURN to keep your previous picks) [56 57 58 59 60]

(33) ftp://mirror.nyi.net/CPAN/ (34) ftp://mirror.sit.wisc.edu/pub/CPAN/ (35) ftp://mirror.xmission.com/CPAN/ (36) ftp://mirrors.24-7-solutions.net/pub/CPAN/ (37) ftp://mirrors.domainmail.org/CPAN/ (38) ftp://mirrors.ibiblio.org/pub/mirrors/CPAN (39) ftp://mirrors.kernel.org/pub/CPAN (40) ftp://mirrors.phenominet.com/pub/CPAN/ (41) ftp://perl.secsup.org/pub/perl/ (42) http://bc1.hpc.lsu.edu/mirrors/CPAN/ (43) http://cpan-2.mirrors.nks.net/ (44) http://cpan.belfry.net/ (45) http://cpan.groovis.net (46) http://cpan.hoxt.com/ (47) http://cpan.mirror.facebook.com/ (48) http://cpan.mirrorgeek.com 12 more items, hit SPACE RETURN to show them Select as many URLs as you like (by number), put them on one line, separated by blanks, hyphenated ranges allowed

e.g. '1 4 5' or '7 1-4 8'

(or just hit RETURN to keep your previous picks) [56 57 58 59 60] 39

Enter another URL or RETURN to quit: [] New set of picks:

ftp://mirrors.kernel.org/pub/CPAN

commit: wrote '/usr/lib/perl5/5.8/CPAN/Config.pm'

cpan[7]> install DateTime Running install for module 'DateTime' Running make for D/DR/DROLSKY/DateTime-0.40.tar.gz

Has already been unwrapped into directory /home/Devin/.cpan/build/DateTime-0.4

0-4inCDf

Has already been made

Running make test /usr/bin/perl5.8.8.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib ', 'blib/arch')" t/*.t t/00load…………….ok t/01sanity…………..ok t/02last_day…………ok t/03components……….ok t/04epoch……………ok t/05set……………..ok t/06add……………..ok t/07compare………….ok t/09greg…………….ok 1/35# this may take a minute… t/09greg…………….ok t/10subtract…………ok t/11duration…………ok t/12week…………….ok t/13strftime…………ok 1/134# New locale: de

# Failed test '%a' # at t/13strftime.t line 50. # got: 'Di.' # expected: 'Di'

# Failed test '%b' # at t/13strftime.t line 50. # got: 'Sep.' # expected: 'Sep' t/13strftime…………NOK 48/134 # Failed test '%h' # at t/13strftime.t line 50. # got: 'Sep.' # expected: 'Sep' t/13strftime…………NOK 56/134# New locale: it # Looks like you failed 3 tests of 134. t/13strftime…………dubious

Test returned status 3 (wstat 768, 0x300)

DIED. FAILED tests 48, 50, 56

Failed 3/134 tests, 97.76% okay

t/14locale…………..ok t/15jd………………ok t/16truncate…………ok t/17set_return……….ok t/18today……………ok t/19leap_second………ok t/20infinite…………ok t/21bad_params……….ok t/22from_doy…………ok t/23storable…………ok

1/21 skipped: various reasons

t/24from_object………ok t/25add_subtract……..ok t/26dt_leapsecond_pm….ok t/27delta……………ok t/28dow……………..ok t/29overload…………ok t/30future_tz………..ok t/31formatter………..skipped

all skipped: DateTime::Format::Strptime 1.0400+ not installed

t/32leap_second2……..ok t/33seconds_offset……ok t/34set_tz…………..ok t/35rd_values………..ok t/36invalid_local…….ok t/37local-add………..ok t/38local-subtract……ok t/39no-so……………ok t/40leap-years……….ok t/pod-coverage……….ok t/pod……………….ok Failed Test Stat Wstat Total Fail List of Failed


t/13strftime.t 3 768 134 3 48 50 56 1 test and 1 subtest skipped. Failed 1/42 test scripts. 3/3162 subtests failed. Files=42, Tests=3162, 33 wallclock secs (18.44 cusr + 12.42 csys = 30.86 CPU) Failed 1/42 test programs. 3/3162 subtests failed. make: *** [test_dynamic] Error 255

DROLSKY/DateTime-0.40.tar.gz /usr/bin/make test — NOT OK

Running make install

make test had returned bad status, won't install without force

Failed during this command:

DROLSKY/DateTime-0.40.tar.gz : make_test NO

cpan[8]> exit Lockfile removed.

Devin@f-8f570d4a08444 ~ $ cpan CPAN: File::HomeDir loaded ok (v0.66)

cpan shell — CPAN exploration and modules installation (v1.9102) ReadLine support enabled

cpan[1]> install Bundle::CPAN CPAN: Storable loaded ok (v2.15) Going to read /home/Devin/.cpan/Metadata

Database was generated on Mon, 10 Sep 2007 04:36:52 GMT

CPAN: YAML loaded ok (v0.65) Going to read /home/Devin/.cpan/build/ ………………………………………………………………….DONE

Found 19 old builds, restored the state of 19 Test::Harness is up to date (2.64). ExtUtils::CBuilder is up to date (0.19). ExtUtils::MakeMaker is up to date (6.36). Module::Build is up to date (0.2808). File::Spec is up to date (3.25). File::Temp is up to date (0.18). Scalar::Util is up to date (1.19). Test::More is up to date (0.70). Data::Dumper is up to date (2.121_08). Digest::SHA is up to date (5.45). File::HomeDir is up to date (0.66). Compress::Zlib is up to date (2.006). Archive::Tar is up to date (1.34). Archive::Zip is up to date (1.20). Net::Cmd is up to date (2.29). Net::FTP is up to date (2.77). Term::ReadKey is up to date (2.30). Term::ReadLine::Perl is up to date (1.0302). YAML is up to date (0.65). Text::Glob is up to date (0.08). CPAN is up to date (1.9102). File::Which is up to date (0.05).

cpan[2]> reload CPAN (CPANunchangedv1.9102)(CPAN::Debugunchangedv5.400955)(CPAN::HandleConfig unchangedv5.401744)(CPAN::Queueunchangedv5.401704)(CPAN::Tarzipunchang edv5.401717)(CPAN::Versionunchangedv5.401387) 0 subroutines redefined

cpan[3]> install DateTime Running install for module 'DateTime' Running make for D/DR/DROLSKY/DateTime-0.40.tar.gz

Has already been unwrapped into directory /home/Devin/.cpan/build/DateTime-0.4

0-4inCDf

Has already been made

Running make test /usr/bin/perl5.8.8.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib ', 'blib/arch')" t/*.t t/00load…………….ok t/01sanity…………..ok t/02last_day…………ok t/03components……….ok t/04epoch……………ok t/05set……………..ok t/06add……………..ok t/07compare………….ok t/09greg…………….ok 1/35# this may take a minute… t/09greg…………….ok t/10subtract…………ok t/11duration…………ok t/12week…………….ok t/13strftime…………ok 1/134# New locale: de

# Failed test '%a' # at t/13strftime.t line 50. # got: 'Di.' # expected: 'Di'

# Failed test '%b' # at t/13strftime.t line 50. # got: 'Sep.' # expected: 'Sep'

# Failed test '%h' # at t/13strftime.t line 50. t/13strftime…………NOK 48/134# got: 'Sep.' # expected: 'Sep' t/13strftime…………NOK 56/134# New locale: it # Looks like you failed 3 tests of 134. t/13strftime…………dubious

Test returned status 3 (wstat 768, 0x300)

DIED. FAILED tests 48, 50, 56

Failed 3/134 tests, 97.76% okay

t/14locale…………..ok t/15jd………………ok t/16truncate…………ok t/17set_return……….ok t/18today……………ok t/19leap_second………ok t/20infinite…………ok t/21bad_params……….ok t/22from_doy…………ok t/23storable…………ok

1/21 skipped: various reasons

t/24from_object………ok t/25add_subtract……..ok t/26dt_leapsecond_pm….ok t/27delta……………ok t/28dow……………..ok t/29overload…………ok t/30future_tz………..ok t/31formatter………..skipped

all skipped: DateTime::Format::Strptime 1.0400+ not installed

t/32leap_second2……..ok t/33seconds_offset……ok t/34set_tz…………..ok t/35rd_values………..ok t/36invalid_local…….ok t/37local-add………..ok t/38local-subtract……ok t/39no-so……………ok t/40leap-years……….ok t/pod-coverage……….ok t/pod……………….ok Failed Test Stat Wstat Total Fail List of Failed


t/13strftime.t 3 768 134 3 48 50 56 1 test and 1 subtest skipped. Failed 1/42 test scripts. 3/3162 subtests failed. Files=42, Tests=3162, 34 wallclock secs (19.61 cusr + 12.11 csys = 31.72 CPU) Failed 1/42 test programs. 3/3162 subtests failed. make: *** [test_dynamic] Error 255

DROLSKY/DateTime-0.40.tar.gz /usr/bin/make test — NOT OK

Running make install

make test had returned bad status, won't install without force

Failed during this command:

DROLSKY/DateTime-0.40.tar.gz : make_test NO

09/10/07 21:33:14 changed by Devinder <devinbhullar@gmail.com>

Hi Darien

It looks that it is always picking version 0.40.

when i do install DateTime even after i had selected the mirror you suggested.

How do i uninstall the version 0.40 so that it can install 0.41

Regards Devinder

09/11/07 00:06:34 changed by Devinder <devinbhullar@gmail.com>

Hi Darien

This is the latest error message

Devin@f-8f570d4a08444 ~ $ cd .cpan/build

Devin@f-8f570d4a08444 ~/.cpan/build $ rm -rf DateTime*

Devin@f-8f570d4a08444 ~/.cpan/build $ rm -rf DateTime*

Devin@f-8f570d4a08444 ~/.cpan/build $ cd ~

Devin@f-8f570d4a08444 ~ $ cpan CPAN: File::HomeDir loaded ok (v0.66)

cpan shell — CPAN exploration and modules installation (v1.9102) ReadLine support enabled

cpan[1]> install DateTime CPAN: Storable loaded ok (v2.15) Going to read /home/Devin/.cpan/Metadata

Database was generated on Mon, 10 Sep 2007 04:36:52 GMT

CPAN: YAML loaded ok (v0.65) Going to read /home/Devin/.cpan/build/ ………………………………………………………………….DONE

Found 9 old builds, restored the state of 9 Running install for module 'DateTime' Running make for D/DR/DROLSKY/DateTime-0.40.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.006) Checksum for /home/Devin/.cpan/sources/authors/id/D/DR/DROLSKY/DateTime-0.40.tar .gz ok Scanning cache /home/Devin/.cpan/build for sizes ………………………………………………………………….DONE

DateTime-0.40/ DateTime-0.40/t/ DateTime-0.40/t/35rd_values.t DateTime-0.40/t/15jd.t DateTime-0.40/t/27delta.t DateTime-0.40/t/02last_day.t DateTime-0.40/t/31formatter.t DateTime-0.40/t/01sanity.t DateTime-0.40/t/22from_doy.t DateTime-0.40/t/03components.t DateTime-0.40/t/21bad_params.t DateTime-0.40/t/20infinite.t DateTime-0.40/t/39no-so.t DateTime-0.40/t/19leap_second.t DateTime-0.40/t/28dow.t DateTime-0.40/t/38local-subtract.t DateTime-0.40/t/06add.t DateTime-0.40/t/pod.t DateTime-0.40/t/11duration.t DateTime-0.40/t/26dt_leapsecond_pm.t DateTime-0.40/t/37local-add.t DateTime-0.40/t/36invalid_local.t DateTime-0.40/t/10subtract.t DateTime-0.40/t/40leap-years.t DateTime-0.40/t/00load.t DateTime-0.40/t/05set.t DateTime-0.40/t/07compare.t DateTime-0.40/t/04epoch.t DateTime-0.40/t/12week.t DateTime-0.40/t/09greg.t DateTime-0.40/t/16truncate.t DateTime-0.40/t/17set_return.t DateTime-0.40/t/18today.t DateTime-0.40/t/30future_tz.t DateTime-0.40/t/13strftime.t DateTime-0.40/t/32leap_second2.t DateTime-0.40/t/33seconds_offset.t DateTime-0.40/t/24from_object.t DateTime-0.40/t/pod-coverage.t DateTime-0.40/t/29overload.t DateTime-0.40/t/34set_tz.t DateTime-0.40/t/23storable.t DateTime-0.40/t/25add_subtract.t DateTime-0.40/t/14locale.t DateTime-0.40/DateTime.xs DateTime-0.40/META.yml DateTime-0.40/tools/ DateTime-0.40/tools/leap_seconds_header.pl DateTime-0.40/leap_seconds.h DateTime-0.40/Changes DateTime-0.40/README DateTime-0.40/TODO DateTime-0.40/MANIFEST.SKIP DateTime-0.40/MANIFEST DateTime-0.40/Makefile.PL DateTime-0.40/ppport.h DateTime-0.40/CREDITS DateTime-0.40/lib/ DateTime-0.40/lib/DateTime.pm DateTime-0.40/lib/DateTime/ DateTime-0.40/lib/DateTime/Duration.pm DateTime-0.40/lib/DateTime/Infinite.pm DateTime-0.40/lib/DateTime/Helpers.pm DateTime-0.40/lib/DateTime/LeapSecond.pm DateTime-0.40/lib/DateTimePPExtra.pm DateTime-0.40/lib/DateTimePP.pm DateTime-0.40/SIGNATURE DateTime-0.40/leaptab.txt DateTime-0.40/LICENSE CPAN: File::Temp loaded ok (v0.18)

CPAN.pm: Going to build D/DR/DROLSKY/DateTime-0.40.tar.gz

Testing if you have a C compiler gcc -shared -o compilet.dll -Wl,—out-implib=libcompilet.dll.a -Wl,—export-all -symbols -Wl,—enable-auto-import -Wl,—stack,8388608 -Wl,—enable-auto-image-ba se \ -s -L/usr/local/lib /tmp/compilet.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll. a Creating library file: libcompilet.dll.a mv compilet.dll libcompilet.dll.a tmp Checking if your kit is complete… Looks good Writing Makefile for DateTime cp lib/DateTime.pm blib/lib/DateTime.pm cp lib/DateTimePP.pm blib/lib/DateTimePP.pm cp lib/DateTime/Duration.pm blib/lib/DateTime/Duration.pm cp lib/DateTime/Helpers.pm blib/lib/DateTime/Helpers.pm cp lib/DateTimePPExtra.pm blib/lib/DateTimePPExtra.pm cp lib/DateTime/Infinite.pm blib/lib/DateTime/Infinite.pm cp lib/DateTime/LeapSecond.pm blib/lib/DateTime/LeapSecond.pm /usr/bin/perl5.8.8.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap /usr/lib/per l5/5.8/ExtUtils/typemap DateTime.xs > DateTime.xsc && mv DateTime.xsc DateTime. c gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-s tatement -DUSEIMPORTLIB -O3 -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" "-I/usr/ lib/perl5/5.8/cygwin/CORE" DateTime.c In file included from DateTime.xs:10: ppport.h:227:1: warning: "PERL_UNUSED_DECL" redefined In file included from DateTime.xs:8: /usr/lib/perl5/5.8/cygwin/CORE/perl.h:163:1: warning: this is the location of th e previous definition Running Mkbootstrap for DateTime () chmod 644 DateTime.bs rm -f blib/arch/auto/DateTime/DateTime.dll ld2 -s -L/usr/local/lib DateTime.o -o blib/arch/auto/DateTime/DateTime.dll \

/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a \

gcc -shared -o DateTime.dll -Wl,—out-implib=libDateTime.dll.a -Wl,—export-all -symbols -Wl,—enable-auto-import -Wl,—stack,8388608 -Wl,—enable-auto-image-ba se \ -s -L/usr/local/lib DateTime.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a Creating library file: libDateTime.dll.a mv DateTime.dll libDateTime.dll.a blib/arch/auto/DateTime/ chmod 755 blib/arch/auto/DateTime/DateTime.dll cp DateTime.bs blib/arch/auto/DateTime/DateTime.bs chmod 644 blib/arch/auto/DateTime/DateTime.bs

DROLSKY/DateTime-0.40.tar.gz /usr/bin/make — OK

Running make test /usr/bin/perl5.8.8.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib ', 'blib/arch')" t/*.t t/00load…………….ok t/01sanity…………..ok t/02last_day…………ok t/03components……….ok t/04epoch……………ok t/05set……………..ok t/06add……………..ok t/07compare………….ok t/09greg…………….ok 1/35# this may take a minute… t/09greg…………….ok t/10subtract…………ok t/11duration…………ok t/12week…………….ok t/13strftime…………ok 1/134# New locale: de

# Failed test '%a' # at t/13strftime.t line 50. # got: 'Di.' # expected: 'Di'

# Failed test '%b' # at t/13strftime.t line 50. # got: 'Sep.' # expected: 'Sep' t/13strftime…………NOK 48/134 # Failed test '%h' # at t/13strftime.t line 50. # got: 'Sep.' # expected: 'Sep' t/13strftime…………NOK 56/134# New locale: it # Looks like you failed 3 tests of 134. t/13strftime…………dubious

Test returned status 3 (wstat 768, 0x300)

DIED. FAILED tests 48, 50, 56

Failed 3/134 tests, 97.76% okay

t/14locale…………..ok t/15jd………………ok t/16truncate…………ok t/17set_return……….ok t/18today……………ok t/19leap_second………ok t/20infinite…………ok t/21bad_params……….ok t/22from_doy…………ok t/23storable…………ok

1/21 skipped: various reasons

t/24from_object………ok t/25add_subtract……..ok t/26dt_leapsecond_pm….ok t/27delta……………ok t/28dow……………..ok t/29overload…………ok t/30future_tz………..ok t/31formatter………..skipped

all skipped: DateTime::Format::Strptime 1.0400+ not installed

t/32leap_second2……..ok t/33seconds_offset……ok t/34set_tz…………..ok t/35rd_values………..ok t/36invalid_local…….ok t/37local-add………..ok t/38local-subtract……ok t/39no-so……………ok t/40leap-years……….ok t/pod-coverage……….ok t/pod……………….ok Failed Test Stat Wstat Total Fail List of Failed


t/13strftime.t 3 768 134 3 48 50 56 1 test and 1 subtest skipped. Failed 1/42 test scripts. 3/3162 subtests failed. Files=42, Tests=3162, 34 wallclock secs (19.52 cusr + 12.49 csys = 32.01 CPU) Failed 1/42 test programs. 3/3162 subtests failed. make: *** [test_dynamic] Error 255

DROLSKY/DateTime-0.40.tar.gz /usr/bin/make test — NOT OK

Running make install

make test had returned bad status, won't install without force

Failed during this command:

DROLSKY/DateTime-0.40.tar.gz : make_test NO

cpan[2]>

09/11/07 00:23:50 changed by Devinder <devinbhullar@gmail.com>

Hi Darien

I ran the test several times it still takes Version 0.40

09/11/07 01:28:08 changed by Devinder <devinbhullar@gmail.com>

SOLVED USING

install DROLSKY/DateTime-0.41.tar.gz


Add/Change #92 (Initializing CPAN and Perl Dependencies)




Change Properties
Action