morgon has asked for the wisdom of the Perl Monks concerning the following question:
I have an application (that I did not write myself) that is currently distributed as a tar-file consisting of the main script depending on some modules.
The modules in turn depend on about 50 CPAN-modules.
Part of the distribution is an install-script that checks the prerequisites (by doing a use_ok on all the CPAN-modules it depends on) and creates some directories and default config-files.
Unfortunately (that is what I want to change) it is up to the user to satisfy the dependencies, i.e. the install-script aborts the installation when a dependency is not met, rather than installing the dependency as part of the installation.
What would be the best way to fix this?
What would be the easiest way to convert the installer into something that also installs missing dependencies?
Many thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: installing dependencies
by marto (Cardinal) on Dec 22, 2013 at 19:25 UTC | |
|
Re: installing dependencies
by moritz (Cardinal) on Dec 22, 2013 at 21:06 UTC | |
by morgon (Priest) on Dec 23, 2013 at 06:54 UTC | |
by MidLifeXis (Monsignor) on Dec 23, 2013 at 14:35 UTC | |
|
Re: installing dependencies
by taint (Chaplain) on Dec 22, 2013 at 20:37 UTC | |
by morgon (Priest) on Dec 23, 2013 at 10:00 UTC |