Re: Ideas for MakeMaker

[email protected] (Michael G Schwern)
Newsgroups perl.makemaker
Message-ID <[email protected]>
Grian wrote:
> I use ExtUtils::MakeMaker and found little dificient while generated
> Meta.yml
>  
> I like use  same:
>  
> WriteMakefile(
>     NAME              => 'Storable::AMF',
>     PREREQ_PM         => {
>         'perl' => 5.006002,
>     }, );
> # -march=opteron -O3 -pipe -fomit-frame-pointer
>  
> perl Makefile.pl
>  
> create good META.yml,
> but this issue a warnings
> "Warning: prerequisite perl 5.006002 not found."
>  
> Can you fix this warnings for 'perl'?

PREREQ_PM is only for Perl modules.  MakeMaker 6.48 added MIN_PERL_VERSION
attribute to handle perl itself.

Or you can just use Module::Build.


-- 
'All anyone gets in a mirror is themselves,' she said. 'But what you
gets in a good gumbo is everything.'
    -- "Witches Abroad" by Terry Prachett
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.