Hi all,

Trying to build the module in $SUBJECT, but hitting an error message that I suspect is simple environment setup problem, but ultimately not sure.

Here is the error message

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

I look at Build.PL and line 56 has:

my $mbmeta = CPAN::Meta->load_file('MYMETA.json');

MYMETA.json is not in the module file manifest so it leads me to think this is an issue, but it does not look like it has ever been in the manifest looking at a couple of old versions on github.

I am running perl 5.10 on a linux box. Since there may be another reason as to why the module build is failing, the full build is below.

Thanks for any help

JIM

Running test for module 'Module::Build::XSUtil'
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/u01/oracle/.cpan/prefs'
Running make for H/HI/HIDEAKIO/Module-Build-XSUtil-0.06.tar.gz
Checksum for /u01/oracle/.cpan/sources/authors/id/H/HI/HIDEAKIO/Module-Build-XSUtil-0.06.tar.gz ok
Module-Build-XSUtil-0.06/Build.PL
Module-Build-XSUtil-0.06/Changes
Module-Build-XSUtil-0.06/LICENSE
Module-Build-XSUtil-0.06/META.json
Module-Build-XSUtil-0.06/README.md
Module-Build-XSUtil-0.06/cpanfile
Module-Build-XSUtil-0.06/lib/Module/Build/XSUtil.pm
Module-Build-XSUtil-0.06/t/00_compile.t
Module-Build-XSUtil-0.06/META.yml
Module-Build-XSUtil-0.06/MANIFEST

  CPAN.pm: Going to build H/HI/HIDEAKIO/Module-Build-XSUtil-0.06.tar.gz

Creating custom builder _build/lib/MyBuilder.pm in _build/lib
Checking whether your kit is complete...
Looks good

Checking prerequisites...
Looks good

Creating new 'Build' script for 'Module-Build-XSUtil' version '0.06'
load_file() requires a valid, readable filename at Build.PL line 56
Warning: No success on command/usr/bin/perl Build.PL --installdirs ~/perl --install_base ~/perl
Warning (usually harmless): 'YAML' not installed, will not store persistent state
  HIDEAKIO/Module-Build-XSUtil-0.06.tar.gz
  /usr/bin/perl Build.PL --installdirs ~/perl --install_base ~/perl -- NOT OK
Running Build test
  Make had some problems, won't test
Could not read '/u01/oracle/.cpan/build/Module-Build-XSUtil-0.06-0TT05k/META.yml'. Falling back to other methods to determine prerequisites
Failed during this command:
 HIDEAKIO/Module-Build-XSUtil-0.06.tar.gz     : writemakefile NO '/usr/bin/perl Build.PL --installdirs ~/perl --install_base ~/perl' returned status 65280


In reply to 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.