zentara has asked for the wisdom of the Perl Monks concerning the following question:
So my idea is to write a script which globs all the module source tarballs, and unpacks, perl Makefile.pl, make, make install, with a series of system commands. I know that I have all the dependencies I need, but I don't know if it will be easy to write a script to auto-check for dependencies, then search the local dir and install it first if it is needed by another package.1. I don't like running semi-automatic scripts as root on the network. + I prefer to see the code in hand first. 2. I like a single directory for sources as opposed to the labrythn of + authors-directories which CPAN uses.
So before I try and do this, I wonder if there is a way already, which I'm not familiar with. Such as using CPAN, and feeding it a directory to install from, and a list of what to install, and let it automatically install dependencies when it finds them. Eventually I probably will get a list with the dependent modules at the bottom, and things should go smooth. I've read thru the perldoc CPAN but it seems to be geared to network installs, and wasn't inspired by it. Maybe I have a mental block toward it. :-)
Thanks for any ideas.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: automated install of modules from local directory
by PodMaster (Abbot) on Apr 04, 2004 at 03:01 UTC | |
|
Re: automated install of modules from local directory
by chanio (Priest) on Apr 05, 2004 at 00:05 UTC | |
|
Re: automated install of modules from local directory
by zentara (Cardinal) on Apr 05, 2004 at 00:43 UTC |