Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: Accessing perl/Tkby Marshall (Canon) |
on Nov 27, 2011 at 04:20 UTC ( [id://940234]=note: print w/replies, xml ) | Need Help?? |
in both my ActivePerl and Strawberry perl lib folders Attempting to run two different version of Perl (ActiveState and Strawberry) or even two different release levels of the same "flavor of Perl" on the same Windows machine is not for inexperienced! This is a really bad idea unless you have some clearly articulated reason for doing so. Ok, yes it is possible, but there is gonna be a lot of pain involved. Please follow directions exactly! I tried 'ppm Tk' and 'ppm Tkx', they both hung. I said to type ppm at the command line. That means to type "ppm<hit enter>". I did not say to type "ppm Tk". This program takes a while to start. Give it some minutes before you give up and type something like "CTL-C". If the above fails, then it sounds like you have a confused set-up and probably some path variables that are "hosed". I would back out of all that you have so far. That means use Windows software management (Add or Remove Programs) to uninstall all of the Perl's that you have. Then delete all of the Perl stuff from your path variable. Do a Windoews help search on "setting environment variables". Tell me if you are on WinXP and I can help more. To see your current environment variables, type "env<carriage return>" or "set<carriage return>" from a command prompt. I have used ActiveState Perl for years and it does work and Tk does work also. Starting with 5.10, you have to install it. The ppm utility does work. Update: How can I find out if ppm is even properly installed? Follow the directions and report back. The ActiveState repositories work with .ppd files. You need not worry about finding these or fiddling with them. The ppm utility knows how to find them! These are already pre-compiled files that do not require a C compiler or "make" on your machine! This is actually very easy and painless. DO NOT try to install cpan modules on an ActiveState system directly. Using CPAN is possible with ActiveState, but it is more complicated to do than we need to get to for your current problem. Oh, if you are using Win 7, 64 bit, use the ActiveState Perl 32 bit version. Tk is not available for the 64 bit version to the best of my knowledge at this time.
In Section
Seekers of Perl Wisdom
|
|