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.