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

Hi fellow monks!

I'm unfortunately runing under WinXP, and I'm trying to install the Parse::RecDescent module into my ActivePerl 5.8, but I alway get this lovely error:

C:\Perl\Parse-RecDescent-1.96.0>perl makefile.pl
Warning: prerequisite version 0 not found.

Can someone enlight me?
- The_Hawk_1, a stupid monk-to-be...

Replies are listed 'Best First'.
Re: I can't install Parse::RecDescent
by JavaFan (Canon) on Oct 15, 2008 at 16:47 UTC
    You're running an old version of Perl, one that doesn't come with 'version'. But you can install that from CPAN. Parse::RecDescent needs version - as the error says, it's a prerequisite. So install that first. And be prepared to install more, AFAIK, Parse::RecDescent has more prerequisites.
Re: I can't install Parse::RecDescent
by tmaly (Monk) on Oct 15, 2008 at 19:38 UTC
    I ran into the same problem and ended up just removing the line in the module that requires the version and it works perfectly
      tmaly, can you tell me what line you removed from the module to resolve the issue. I am having the same problem.
        tmaly, can you tell me what line you removed from the module

        I think tmaly is referring to the line (in RecDescent.pm):
        use version; $VERSION = qv('1.96.0');
        A better solution is to simply install the version module (as mentioned elsewhere in this same thread).

        Cheers,
        Rob
Re: I can't install Parse::RecDescent
by Anonymous Monk on Oct 15, 2008 at 23:51 UTC