Buckaroo Buddha has asked for the wisdom of the Perl Monks concerning the following question:
I've downloaded perl Tk.zip from Activestate's
website (beacause i'm behind a firewall)
and followed the instructions in the readme
(type "ppm install Tk.ppd" in the current directory)
Error installing package 'tk.ppd': Could not locate
a PPM binary of 'tk.ppd' for this platform
do not install (same error), however when I remove
that line from a *.ppd file, packages install
without any problems using the instructions in the readme.
That's one thing I've learned about installing
these modules, there's more than one way to do it!
Reading the readme files helps sometimes.
But when in doubt, use ppm!
c:\perl\site\lib
ppm
ppm>set repository ach http://www.ray.mpe.mpg.de/~ach/ptk/ppm
ppm>install tk-pod THAT'S IT! Have fun!
There are at least two ways to install modules if you don't have direct access to ActiveState because of a firewall.
Download nmake from Microsoft it's free, and then grab the module from CPAN and build as normal. This doesn't always work so there is option 2.
Grab the PPD from ActiveState, and unzip it onto a local webserver, and then set the repository option to your local server.
I use both options at work, as I can't configure PPM to use the Proxy (It's a silly M$ Proxy), CPAN where possible, and if it's has a binary component then download and extract to local server.