Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Trouble installing Tk using ppm.

by DigitalKitty (Parson)
on Apr 27, 2002 at 23:13 UTC ( #162571=perlquestion: print w/ replies, xml ) Need Help??
DigitalKitty has asked for the wisdom of the Perl Monks concerning the following question:

Hi.

I'm using ActiveState;s perl 5.6.0 build and I seem to be unable to install the Tk module ( my manager is insisting on my using a win32 machine ). Here is my error msg:

C:\>ppm PPM interactive shell (2.1.5) - type 'help' for available commands. PPM> install Tk Installing package 'Tk'... Error installing package 'Tk': Could not locate a PPD file for package + Tk PPM>

Comment on Trouble installing Tk using ppm.
Download Code
Re: Trouble installing a module using ppm.
by crazyinsomniac (Prior) on Apr 27, 2002 at 23:54 UTC
    I used to get that error message, and my solution, was to always "search" for a module before I install it.
    ppm> search Tk
    If that doesn't work, it usually means I've used ppm3 before, which usually messes up my ppm set up, so I check, by typing
    ppm>set rep
    to see what kind of repositories I have set up, and it usually tells me I have none, so I issue
    ppm>set rep default http://www.ActiveState.com/cgibin/PPM/ppmserver.pl +ex?urn:/PPMServer
    which is the default PPM package repository after which i
    ppm> search Tk
    again , at which point everything is back to normal and I can safely
    ppm>install Tk
    which usually ( %95 of the time ) works.
Re: Trouble installing Tk using ppm.
by redemption (Sexton) on May 22, 2002 at 08:50 UTC
    get the Tk module from ActiveState, unzip it, and then do a $ ppm install Tk.ppd at your shell. Sometimes PPM doesn't work but this method definitely does.
Re: Trouble installing Tk using ppm.
by jdavidboyd (Friar) on Jul 07, 2002 at 19:49 UTC
    Upgrade to ActiveState Perl 5.6.1, as it comes with Tk already installed.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://162571]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-08-02 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (56 votes), past polls