Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-03-28 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found