I hacked CPAN::Meta a little here:

sub load_file { my ($class, $file, $options) = @_; print "My file is: $file\n"; #jhall $options->{lazy_validation} = 1 unless exists $options->{lazy_valida +tion}; croak "load_file() requires a valid, readable filename for $file" unless -r $file;

On the good box it does:

jhall@jimwin8:~/.cpan/build/Module-Build-XSUtil-0.06-d9Wlfd$ perlgcc2 Build.PL
My file is: META.json
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Module-Build-XSUtil' version '0.06'
My file is: META.yml
My file is: MYMETA.json
My file is: META.json
Merging cpanfile prereqs to MYMETA.yml
Merging cpanfile prereqs to MYMETA.json

On the bad box:

oracle@localhost Module-Build-XSUtil-0.06-si9LjM$ perl Build.PL
Deleting _build
Creating custom builder _build/lib/MyBuilder.pm in _build/lib
Checking whether your kit is complete...
Looks good

Checking prerequisites...
Looks good

Deleting Build
Removed previous script 'Build'

Creating new 'Build' script for 'Module-Build-XSUtil' version '0.06'
My file is: MYMETA.json
load_file() requires a valid, readable filename for MYMETA.json at Build.PL line 56

I guess I need to sort out where is MYMETA.* created.... it must be buried in the new/create method... just difficult to sort out.


In reply to Re^3: Module::Build::XSUtil build problem by jimhallsun
in thread Module::Build::XSUtil build problem by jimhallsun

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.