in reply to Re^2: Module::Build::XSUtil build problem
in thread Module::Build::XSUtil build problem
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Module::Build::XSUtil build problem
by jimhallsun (Sexton) on Apr 10, 2014 at 15:34 UTC | |
by jimhallsun (Sexton) on Apr 10, 2014 at 18:32 UTC | |
by Anonymous Monk on Apr 10, 2014 at 20:02 UTC | |
by jimhallsun (Sexton) on Apr 10, 2014 at 20:37 UTC | |
by Anonymous Monk on Apr 10, 2014 at 20:56 UTC |