Optimus has asked for the wisdom of the Perl Monks concerning the following question:

Hi Guys, I have installed perl v5.16.1 32 bit on windows xp. Now am trying to install perl debug ptkdb module but so far no success. I looked at so many websites but doesn't seems to get things right. I appreicate if anyone tell me where am making mistake

>perl -v This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x +86-multi-t hread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2012, Larry Wall Binary build 1601 [296175] provided by ActiveState http://www.ActiveSt +ate.com Built Aug 30 2012 20:08:55 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.

ptkdb error:

>dmake install cd pTk && C:\Dwimperl\c\bin\dmake.exe DEFINE="" rc -fo tk.res -r -i . -i mTk\win\rc mTk\win\rc\tk.rc 'rc' is not recognized as an internal or external command, operable program or batch file. dmake.exe: Error code 129, while making 'tk.res' dmake: Error code 255, while making 'pTk\libpTk.a'

Replies are listed 'Best First'.
Re: Error when trying to install ptkdb debug module
by Anonymous Monk on Dec 20, 2012 at 21:31 UTC
    Run  ppm install MinGW then  cpan Devel::ptkdb will probably work

      Thanks Monk but still problem not solved

      I still get this below error after installing ptkdb module

      >perl -d:ptkdb 777.pl Can't locate Tk.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/li +b .) at C: /Perl/site/lib/Devel/ptkdb.pm line 35. BEGIN failed--compilation aborted at C:/Perl/site/lib/Devel/ptkdb.pm l +ine 35. Compilation failed in require. BEGIN failed--compilation aborted.
        So it says Tk is not installed, hmm, maybe you should install Tk?