Probably I'm too stupid and miss something elementary, but I unable to find a way how to automatically install a bunch of perl modules.
I know about CPAN.pm, of course, and about CPANPLUS.pm too.
I've tested both, and looks like they unable to work correctly in some cases. For example, after reading PerlBP book I try to install Smart::Comments module. Both CPAN and CPANPLUS try to install very old 0.01 version (by Autrijus Tang?) instead of last version 1.0.1 by Damian Conway. That version was released 25 May 2005 - enough time ago to update any possible cached databases used by CPAN/CPANPLUS..?
I just don't wanna reinvent that wheel by developing one more tool for this task!
Features I need from that tool are:
- install required module from CPAN and all it dependencies
- install our in-house modules by downloading them from local website or just reading from harddrive
- check CPAN/local website/harddrive for available updates for already installed modules and update them
- work without internet connection, i.e. read all needed info and module sources from harddrive
- work in batch mode to install all required modules on new server (using module list from some file or cmdline)
- support both Makefile.PL and Build.PL -style modules
- ability to install modules into any target directory, to be able to use that tool for non-root users
All these features doesn't sounds like my unique need, so is tool with these features already exists?
update: One more required feature is:
- ability to teach that tool how to install some special modules like JavaScript::SpiderMonkey, which require to have compiled spidermonkey C-library available in directory ../js/, so we need to unpack it and do some "cd js/...;./configure;make;cd ../../" before going to install perl module and then we need to do some cleanup to remove js/ directory
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.