Monday, January 9, 2012

Easy way to install TK on Strawberry PERL ON WINDOWS!!

Thanks to the reply to the post by Felipe (http://erez.wordpress.com/2008/08/11/strawberry-perl-forever/), here are the steps:
  1. Download Tk module from cpan (http://search.cpan.org/~srezic/Tk-804.030/) 
  2. Extract it to a folder. 
  3. Move it to C:\strawberry\perl\lib\ 
  4. Open Command Prompt 
  5. Go to cd C:\strawberry\perl\lib\foldername and pressed enter. 
  6. Then type: perl makefile.pl and pressed enter.. Wait for a few minutes till you see the command prompt. 
  7. Then type dmake test and press Enter. 
  8. Then type dmake install and press Enter.

5 comments:

  1. Thank you! It's really helpful!

    ReplyDelete
  2. Wow, thank you so much. Regular CPAN> intall Tk was not working for me. For those n00bs like me, when you download the package from CPAN, it's a tar.gz. You can extract the tar from the gunzip with 7zip (http://www.7-zip.org/) and then extract the files from the tar with the same program.

    ReplyDelete
  3. Thank you...just what I was looking for. I am using Padre, but your instructions worked fine for it as well.

    ReplyDelete
  4. Thank you so much....
    Instructions mentioned here is got worked..
    :-)

    ReplyDelete
  5. Hi i'm new to perl... Dont no how to download tk modules from CPAN.. PLease help me out with this..

    ReplyDelete