SPUG: Packaging Applications Using CPAN Modules
Scott Blachowicz
scott at sabmail.rresearch.com
Wed Oct 25 22:04:16 CDT 2000
On Wed, Oct 25, 2000 at 06:36:03PM -0700, Asim Jalis wrote:
> The make and make install steps need to somehow do the following
> things:
>
> (1) Figure out if the correct versions of the required CPAN modules
> are already installed on the machine.
> (2) If they are not then unzip and build and install the versions
> shipped in the tarball. If the user is not root then the installation
> of these packages should be to the directory where the application
> is going to live.
> (3) Finally to build and install the application.
>
> My question is this: Is there a module on CPAN that already does this?
Well...you COULD probably just set it up to always use YOUR version of the
modules by messing around with @INC in BEGIN blocks in your application
scripts? Then, you don't have to worry about your points 1 & 2. Not
the most elegant solution, but it might simplify things.
--
Scott Blachowicz
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
More information about the spug-list
mailing list