hi, I'm relatively new to Perl, I have written a few Perl scripts but this is related to a manually compiled Perl.
I have just compiled Perl 5.16.0 from source on Windows 7 32 bit using VC 9.0/nmake. The perl.exe is created and installed; it seems to run OK, make test did have some errors but most passed ; no other comprehensive tests but a basic perl script returns the printed message. Now I want to install CPAN modules, but unable to, it's the same for any module I try - YAML , JSON , common::sense .
Warning: No success on commandC:\path\to\perl\bin\perl.exe Makefile.PL
I also have Strawberry perl installed on same machine, but have removed it from %PATH% in order to work with my version. However, I did test the Strawberry perl.exe with Makefile.PL and it produced the makefile. So it does look like my compiled perl.exe or its related binaries are missing something.
Can someone provide more information/hints as to why Strawberry's perl.exe works but my perl.exe does not ?
Error message: Checking if your kit is complete... Looks good Writing Makefile for YAML JSON 2.5 is required for $ENV{PERL_JSON_BACKEND} = 'JSON::XS' at C:/path/to/perl/lib/CPAN/Meta/Converter.pm line 23. at C:/path/to/perl/lib/ExtUtils/MM_Any.pm line 1335. END failed--call queue aborted. Warning: No success on command[C:\path\to\perl\bin\perl.exe Makefile.P +L] 'YAML' not installed, will not store persistent state MSTROUT/YAML-0.84.tar.gz C:\path\to\perl\bin\perl.exe Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determi +ne prerequisites Failed during this command: MSTROUT/YAML-0.84.tar.gz : writemakefile NO 'C:\p +ath\to\p erl\bin\perl.exe Makefile.PL' returned status 512
TIA
In reply to perl.exe Makefile.PL fails to create makefile by agentsmith
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |