in reply to Re: User Interface
in thread User Interface

I choose ?ppm install Tk ...and I get this error.....
Downloading ActiveState Package Repository packlist...failed 500 Can't connect t o ppm4.activestate.com:80 (Bad hostname 'ppm4.activestate.com') ppm install failed: Can't find any package that provides Tk

Replies are listed 'Best First'.
Re^3: User Interface
by ww (Archbishop) on Sep 14, 2009 at 23:48 UTC
    That sounds a lot like a transient problem on the net.

    But, OTOH, I have no idea what the question mark before your ppm command signifies.

    Regardless, this works for 5.8.8 and ppm 4.0:

    ppm install TK
      Ok. Installed Tk-804.028_501.tar, extracted it. It contains a BUNCH of files. Should this go under C:\perl\*.* or a separate dir for Tk-804.028_501 and put this path in path? Any recommendations? Thanks
        If you "installed" it before extracting it from the ".tar" you're a miracle worker.

        And no, you should not make whatever "this" refers to ("a BUNCH of files?") "go under" either of the locations you suggest.

        Rather (and this is the reason for the - -), you should re-read the guidance above.

Re^3: User Interface
by kingjamesid (Acolyte) on Sep 15, 2009 at 00:39 UTC
    Ok. Installed Tk-804.028_501.tar, extracted it. It contains a BUNCH of files. Should this go under C:\perl\*.* or a separate dir for Tk-804.028_501 and put this path in path? Any recommendations? Thanks
      Ok. Installed Tk-804.028_501.tar, extracted it.

      Where did you get it from ? If it's from CPAN, then you've probably grabbed the Tk source - which would need to be compiled. Probably easier at this stage to persevere with ppm.
      While connected to the internet, try this command:
      ppm install http://www.bribes.org/perl/ppm/Tk.ppd
      or, for the latest developer release:
      ppm install http://www.bribes.org/perl/ppm/Tk_.ppd
      If those commands fail, see ActivePerl-faq2.html in your perl/html/faq folder. (See especially the section "PPM, Proxies and Firewalls" near the end of that document.)

      If you really do want to build Tk from source, then first run ppm install MinGW to give you a compiler and make utility. Then you should be ready to build and install Tk from source.

      Cheers,
      Rob
      syphilis has some great advice. I would add that since you are on ActiveState 5.10, there is now a GUI on ppm. Just type "ppm" at the command prompt without any command (like install), the GUI will start. Find Tk and click on it to mark it for installation, then "run selected actions". Anyway I recommend this GUI interface as being easy to use. Of course the previous command line I/F still works.

      Everything you need is on the default repository, in the future if you need other repositories (like bribes), go into preferences and you can add repositories, example bribes is in a convenient click item. But you again all that you need is in the default repository. ActiveState has a special module format, .ppd. Installing a module from CPAN can get more complicated than the above.

      I can't tell if you are having proxy or firewall trouble or not. syphilis has the right pointer for that.