Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Perl Upgrades: How do I install a new package, under Windows, while 'Firewalled'

( #13076=categorized question: print w/ replies, xml ) Need Help??
Contributed by Buckaroo Buddha on May 18, 2000 at 22:00 UTC
Q&A  > programs and processes


Description:

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

Answer: Perl Upgrades: How do I install a new package, under Windows, while 'Firewalled'
contributed by planetscape

See also:


A Guide to Installing Modules
A guide to installing modules for Win32
A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++
Free MSVC tools + Activestate to compile CPAN Modules
Re: perl -MCPAN on windows: Should I even try?

HTH,

p l a n e t s c a p e

Answer: Perl Upgrades: How do I install a new package, under Windows, while 'Firewalled'
contributed by misty

My answer above can be ignored. I looked at some *.ppd files of other packages, and found that those that contain the line

<ARCHITECTURE NAME="MSWin32-x86-object" />
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.
Answer: Perl Upgrades: How do I install a new package, under Windows, while 'Firewalled'
contributed by Buckaroo Buddha

<quote> ppm install --location=your_package_location PACKAGE </quote>

yes, i tried this but under windows
it tells me that it can't find the binary 
for this package 

(probably related to the lack of CHMOD in windows)

Answer: Perl Upgrades: How do I install a new package, under Windows, while 'Firewalled'
contributed by misty

This question seems being a bit irrelevant to this section, anyway here is my try to answer it: did you try using

ppm install --location=your_package_location PACKAGE
Answer: Perl Upgrades: How do I install a new package, under Windows, while 'Firewalled'
contributed by softworkz

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!

Answer: Perl Upgrades: How do I install a new package, under Windows, while 'Firewalled'
contributed by chromatic

I've had good luck setting an environment variable for my proxy server: set HTTP_proxy=http://proxy:8080 Do that and try PPM again.

Answer: Perl Upgrades: How do I install a new package, under Windows, while 'Firewalled'
contributed by ajt

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.

Please (register and) log in if you wish to add an answer



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (8)
    As of 2014-07-11 01:44 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      When choosing user names for websites, I prefer to use:








      Results (217 votes), past polls