Thanks to the reply to the post by Felipe (http://erez.wordpress.com/2008/08/11/strawberry-perl-forever/), here are the steps:
- Download Tk module from cpan (http://search.cpan.org/~srezic/Tk-804.030/)
- Extract it to a folder.
- Move it to C:\strawberry\perl\lib\
- Open Command Prompt
- Go to cd C:\strawberry\perl\lib\foldername and pressed enter.
- Then type: perl makefile.pl and pressed enter.. Wait for a few minutes till you see the command prompt.
- Then type dmake test and press Enter.
- Then type dmake install and press Enter.
Thank you! It's really helpful!
ReplyDeleteWow, 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.
ReplyDeleteThank you...just what I was looking for. I am using Padre, but your instructions worked fine for it as well.
ReplyDeleteThank you so much....
ReplyDeleteInstructions mentioned here is got worked..
:-)
Hi i'm new to perl... Dont no how to download tk modules from CPAN.. PLease help me out with this..
ReplyDeleteYou click the download link up top of the page. (use the link provided above) or here http://search.cpan.org/~srezic/Tk-804.030/, what I'm trying to figure out is how to "extract" a gz file in windows.
DeleteUse 7zip to extract tar and gz files on Windows:
Deletehttp://www.7-zip.org/
i'm getting this error
ReplyDeleteCan't locate Tk.pm in @INC (@INC contains: /opt
pls, hlp on ts
after I gave dmake test command it is giving this error
ReplyDeletefatal error: ../pTk/tkIntXlibDecls.h: No such file or directory
compilation terminated.
dmake: Error code 129, while making 'Xlib.o'
dmake: Error code 255, while making 'subdirs'
Can anyone help me out with this.
You should use gmake instead of dmake
Deletegmake: *** No targets specified and no makefile found. Stop.
DeleteI got this message what is the solution...