B
Bret Wortman
I've got a Perl application I recently developed which relies on a number of
modules, including a variety of XML and SAX flavors. I really need a
minimum of Perl 5.6.1. The application polls each target system for system
information and gathers version information for installed software products.
It also does some hardware investigation and the like. It runs from an
automounted (or NFS-mounted) directory and, outside of Perl and the module
dependencies, is self-contained.
We want to deploy this application across a very large number of systems and
the problem is that we have Perl versions ranging back to 5.005 and up to
5.8.0. Some have never been configured for CPAN and others have obsolete
configurations. The application will be deployed to a variety of Unixes
(Tru64, Solaris) and Linux.
I've written some scripts which are capable of installing all the
prerequisites (including building Perl 5.8.0, installing CPAN-1.70 and
setting up a basic MyConfig.pm file) then building some key modules before
using CPAN to install from an autobundle-created bundle file. After that,
my app is good to go on the target system.
My question is this: is there a way to install the necessary libraries and
modules under a common directory and not directly on the target systems?
Could I create a series of subdirectories of the main NFS-mounted dir which
could contain enough modules and libraries to avoid having to do the full-up
CPAN installation on each target system? The process of rolling this out is
becoming daunting and I'm looking for shortcuts which might reduce the
requirements on the target systems.
If this is possible, would I need directories organized both by target OS
*and* by Perl version?
Thanks!
Bret Wortman
modules, including a variety of XML and SAX flavors. I really need a
minimum of Perl 5.6.1. The application polls each target system for system
information and gathers version information for installed software products.
It also does some hardware investigation and the like. It runs from an
automounted (or NFS-mounted) directory and, outside of Perl and the module
dependencies, is self-contained.
We want to deploy this application across a very large number of systems and
the problem is that we have Perl versions ranging back to 5.005 and up to
5.8.0. Some have never been configured for CPAN and others have obsolete
configurations. The application will be deployed to a variety of Unixes
(Tru64, Solaris) and Linux.
I've written some scripts which are capable of installing all the
prerequisites (including building Perl 5.8.0, installing CPAN-1.70 and
setting up a basic MyConfig.pm file) then building some key modules before
using CPAN to install from an autobundle-created bundle file. After that,
my app is good to go on the target system.
My question is this: is there a way to install the necessary libraries and
modules under a common directory and not directly on the target systems?
Could I create a series of subdirectories of the main NFS-mounted dir which
could contain enough modules and libraries to avoid having to do the full-up
CPAN installation on each target system? The process of rolling this out is
becoming daunting and I'm looking for shortcuts which might reduce the
requirements on the target systems.
If this is possible, would I need directories organized both by target OS
*and* by Perl version?
Thanks!
Bret Wortman