in reply to Problem while installing module from CPAN on windows.

Hello kiranp, and welcome to the Monastery!

As marto noted, there is a problem with the module inc::Module::Install. This is usedd on line 4 of Makefile.PL, so on systems (such as mine) on which it’s not already installed, installation of the Speedometer module fails in the configuration phase.

But I wanted to point out that the main file, Speedometer.pm, is effectively empty. There are 136 lines, but these are mostly POD:

22:34 >perl -MO=Deparse Speedometer.pm Semicolon seems to be missing at Speedometer.pm line 52. package Speedometer; sub BEGIN { require 5.006; } use File::Glob (); 22:35 >

Looks like something went wrong when uploading to CPAN?

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: Problem while installing module from CPAN on windows.
by kiranp (Novice) on Sep 02, 2014 at 15:57 UTC

    Hi Athanasius, now i am getting following error

    --> Working on http://cpan.metacpan.org/authors/id/K/KP/KPAWAR/Speedometer-1.06.zip

    Fetching http://cpan.metacpan.org/authors/id/K/KP/KPAWAR/Speedometer-1.06.zip ... OK

    Configuring Speedometer-1.06/ ... OK

    ==> Found dependencies: Benchmark

    skipping R/RJ/RJBS/perl-5.20.0.tar.gz

    Building and testing Speedometer-1.06 ... FAIL ! Installing

    http://cpan.metacpan.org/authors/id/K/KP/KPAWAR/Speedometer-1.06.zip failed. See \.cpanm\build.log for details.

    Thanks

Re^2: Problem while installing module from CPAN on windows.
by Anonymous Monk on Sep 02, 2014 at 14:41 UTC
    HI,

    I have updated my file now

    as this is my first attempt to submit module to CPAN, so i am bit confused about it

    now i am getting following error

    --> Working on http://cpan.metacpan.org/authors/id/K/KP/KPAWAR/Speedometer-1.06.zip

    Fetching http://cpan.metacpan.org/authors/id/K/KP/KPAWAR/Speedometer-1.06.zip ... OK

    Configuring Speedometer-1.06/ ... OK

    ==> Found dependencies: Benchmark

    skipping R/RJ/RJBS/perl-5.20.0.tar.gz

    Building and testing Speedometer-1.06 ... FAIL ! Installing

    http://cpan.metacpan.org/authors/id/K/KP/KPAWAR/Speedometer-1.06.zip failed. See \.cpanm\build.log for details.

    Thanks

      You seem to be ignoring advice, but I'll try again. The build.log tells you where the problems are. You don't have to keep uploading broken module after broken module to cpan to test this out, simply trying to install your own module from the command line will also fail. Please consider renaming your module. IMHO modules should only be released to cpan when they are ready, this one has many mistakes. Previously I've emailed you at your cpan address to make you aware of these issues. Please read and understand the replies you already have.

      Update your email just bounced:

      The error that the other server returned was: 554 5.7.1 <removed@cpan.org>: Recipient address rejected: Access denie +d

        Marto sorry i know i did many mistakes

        can u Please tell me how to install module from this distibution on windows

        my module need Benchmark.pm to as pre-requisites

        What problem do you think with this name *Speedometer*

        ,

        Can you please tell me. thanks.

        Thanks.

        How about Code::Speedometer name.

        also please tell me why there was problem in distribution