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

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.