Hi All, I am using Windows 7 (64 bit) with Active state 64 bit perl installed on my system. Now i want to use some modules e.g. Win32::GuiTest, now if i use ppm this module was listed not to be available in basic version of Active state perl and is available in buisness edition. So i tried CPAN for installing any module but i am having some problems. For successfully installing package, i downloaded minGW and added in my search path, also i downloaded dmake from cpan and added in same location. Now when i am trying to install any module from cpan following error is coming:-
Writing Makefile for DBI Writing MYMETA.yml C:\perl64\bin\perl.exe -MExtUtils::Command -e "mkpath" -- blib\lib\DBI C:perl64binperl.exe: not found dmake.exe: Error code 127, while making 'blib\lib\DBI\Changes.pm' TIMB/DBI-1.618.tar.gz C:\mingw\bin\dmake.exe -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
So i tried to install manually and i did following: 1. Downloaded package 2. did perl Makefile.pl I edited Makefile to have PERL path as C:\\perl64\\bin\\perl.exe
50 C% make C:\Perl64\cpan\build\DBI-1.618-FNuTFA>mingw32-make C:\\perl64\\bin\\perl.exe -MExtUtils::Command -e "mkpath" -- blib\lib\ +DBI C:\\perl64\\bin\\perl.exe -MExtUtils::Command -e "rm_f" -- blib\lib\DB +I\Changes. pm C:\\perl64\\bin\\perl.exe -MExtUtils::Command -e "cp" -- Changes blib\ +lib\DBI\Ch anges.pm process_begin: CreateProcess(NULL, rem, ...) failed. make (e=2): The system cannot find the file specified. mingw32-make: *** [config] Error 2 51 C%
Can anyone please help me on how to resolve this issue. Thanks in Advance, Sarbjit

In reply to Problem installing packages from cpan on windows 7 by sarbjit

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.