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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |