Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Dear Monks,

I am a Perl 'basic user' i.e. do a lot with very little.
I am now advancing a little and trying to use CPAN modules.
I am working under Windows (mainly Win2K but also W2K3) with ActiveState 5.8.8.
I want to add CPAN modules such as Net::Telnet, and perl-ldap.

My main problem is that I am working on corporate systems that are behind an 'air gap' so I do not have direct Internet access.

I started by downloading the modules in '.tar.gz' format, transferring them, unpacking them, and using the recommended combination of 'MakeMaker' and 'nmake'.
This worked O.K. on Net::Telnet but choked badly on perl-ldap.
After puzzling and Googling for a while, I wondered if nobody did this anymore.

On my home system I tried the recommended 'perl -MCPAN -e "install Bundle::Net::LDAP"' and similar.
This seemed to get further, but still choked on various things, often in an obscure manner.
Further confusion because CPAN told me it wasn't up to date and suggested that I installed the newer version.
I tried that, which had failures in the install using the previous CPAN.
I then tried 'ppm' and everything went smoothly first time (although 'ppm' didn't seem aware of stuff such as Net::Telnet that I had installed previously using 'perl -MCPAN -e "install Net::Telnet").

So I can work smoothly with 'ppm' at home - but not on my 'air-gapped' systems.

I have searched and found various references which suggest that all may not be simple on Windows with CPAN.

Am I chasing a known fault, or am I just cursed?
What is the best way to install CPAN modules on systems which are not connected to the Internet?

Many thanks
Dave R


In reply to Installing CPAN modules without using 'ppm' by LittleGreyCat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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 taking refuge in the Monastery: (12)
    As of 2014-12-19 18:24 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (91 votes), past polls