Hi,

perl v5.8.6 built for VMS_AXP 7.3-2



I am trying to build Damian Conway's Log::StdLog package from CPAN.

The first lines of StdLog.pm go like this:

package Log::StdLog;

use version; $VERSION = qv('0.0.3');




Now, I have not seen this particular incantation; but hey, 
it's Perl, so there's more than one way to do it. 

Unfortunately, when I try the chant, I don't get very far:

$ perl makefile.pl
Checking if your kit is complete...
Looks good
Warning: prerequisite version 0 not found.
Could not eval '
            package ExtUtils::MakeMaker::_version;
            no strict;

            local $VERSION;
            $VERSION=undef; do {
                use version; $VERSION = qv('0.0.3');
            }; $VERSION
        ' in lib/Log/StdLog.pm: Can't locate version.pm in @INC (@INC
contains: /perl_root/lib/VMS_AXP/5_8_6 /perl_root/lib perl_roo
t:[lib.site_perl.VMS_AXP] perl_root:[lib.site_perl]
/perl_root/lib/site_perl .) at (eval 10) line 7, <FH> line 3.
BEGIN failed--compilation aborted at (eval 10) line 7, <FH> line 3.
WARNING: Setting VERSION via file 'lib/Log/StdLog.pm' failed
 at /perl_root/lib/ExtUtils/MakeMaker.pm line 500
Writing Descrip.MMS for Log::StdLog



Makefile.pl is:

use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME                => 'Log::StdLog',
    AUTHOR              => 'Damian Conway <[EMAIL PROTECTED]>',
    VERSION_FROM        => 'lib/Log/StdLog.pm',
    ABSTRACT_FROM       => 'lib/Log/StdLog.pm',
    PL_FILES            => {},
    PREREQ_PM => {
        'Test::More' => 0,
        'version'    => 0,
        'IO::File'   => 0,
        'Fcntl'      => 0,
    },
    dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean               => { FILES => 'Log-StdLog-*' },
);

I checked, and I can't find a pragma called version, but I must be
missing something really obvious. Any hints?

Obviously there's no file "version.pm" on my system...

Thanks in advance,


Carl Friedberg
[EMAIL PROTECTED]
www.esb.com
The Elias Book of Baseball Records
2006 Edition 

Reply via email to