jimhallsun has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module::Build::XSUtil build problem
by mtmcc (Hermit) on Apr 07, 2014 at 15:01 UTC | |
by jimhallsun (Sexton) on Apr 07, 2014 at 19:09 UTC | |
|
Re: Module::Build::XSUtil build problem
by Anonymous Monk on Apr 07, 2014 at 20:16 UTC | |
by jimhallsun (Sexton) on Apr 09, 2014 at 12:19 UTC | |
by jimhallsun (Sexton) on Apr 09, 2014 at 17:29 UTC | |
by jimhallsun (Sexton) on Apr 10, 2014 at 15:34 UTC | |
by jimhallsun (Sexton) on Apr 10, 2014 at 18:32 UTC | |
|