Hello everyone, Perl newbie here so please bear with me. I'm on Win XP with activeperl v5.10.0.

I'm trying to get some modules from CPAN to work. First, I ran into this problem and solved it by changing the config file: http://www.perlmonks.org/?node_id=706074

That seems to have worked, now I get a different error message when trying to install any module: nmake doesn't work (not recongised as an internal or external command).

Here's the output:

cpan shell -- CPAN exploration and modules installation (v1.9205) ReadLine support enabled cpan> install HTML::Entities CPAN: Storable loaded ok (v2.18) Going to read C:\Perl\cpan\Metadata Database was generated on Wed, 30 Jun 2010 21:27:04 GMT Running install for module 'HTML::Entities' Running make for G/GA/GAAS/HTML-Parser-3.65.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: LWP::UserAgent loaded ok (v5.810) CPAN: Time::HiRes loaded ok (v1.9711) Warning (usually harmless): 'YAML' not installed, cannot parse 'C:\Per +l\cpan\FTP stats.yml' Warning (usually harmless): 'YAML' not installed, cannot parse 'C:\Per +l\cpan\FTP stats.yml' Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/G/GA/GAAS/CHECKSUMS Checksum for C:\Perl\cpan\sources\authors\id\G\GA\GAAS\HTML-Parser-3.6 +5.tar.gz o k Scanning cache C:\Perl/cpan/build for sizes ...................................................................... +......DONE CPAN: Archive::Tar loaded ok (v1.38_01) HTML-Parser-3.65/ [I deleted most of this list to save space] HTML-Parser-3.65/eg/htextsub HTML-Parser-3.65/eg/htitle CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.65.tar.gz Checking if your kit is complete... Looks good Writing Makefile for HTML::Parser Could not read 'C:\Perl\cpan\build\HTML-Parser-3.65-1Df2xu\META.yml'. +Falling ba ck to other methods to determine prerequisites A megadott nevet (nmake) a rendszer nem ismeri fel belső vagy külső parancsként, futtatható programként vagy kö +tegfájlként. GAAS/HTML-Parser-3.65.tar.gz nmake -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persi +stent stat e Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: GAAS/HTML-Parser-3.65.tar.gz : make NO cpan>

The key issue seems to be "A megadott nevet (nmake) a rendszer nem ismeri fel belső vagy külső parancsként, futtatható programként vagy kötegfájlként." which means nmake is not recongised as an internal or external command, a program or a batch file.

Do I need to install nmake? From where, how? I'd be greatful for a step by step.

Thanks for any help.

Update: Resolved by using PPM instead of the cpan shell.


In reply to Can't install CPAN modules on XP by elef

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.