in reply to Best strategy to facilitate dependency installation for a Perl-based software distribution
When I started building the extlib in my development environment using cpanm -L extlib <module> etc I realized that cpanm installs everything in a local::lib compatible way, meaning everything doesn't go starting at extlib but rather extlib/lib/perl5. Therefore I would have to use local::lib "$FindBin::Bin/../extlib" in my programs instead of use lib "$FindBin::Bin/../extlib" to get use the dependencies in extlib but this brings a chicken-or-egg problem, local::lib in not in CORE :-(
Is there something I'm not thinking right here? I don't want to make to have to make an external dependency that people have local::lib already installed in their Perl tree (which could require administrator access)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Best strategy to facilitate dependency installation for a Perl-based software distribution
by Anonymous Monk on Nov 14, 2011 at 02:51 UTC | |
by hermida (Scribe) on Nov 15, 2011 at 12:01 UTC | |
by Anonymous Monk on Nov 15, 2011 at 12:37 UTC | |
by hermida (Scribe) on Nov 17, 2011 at 09:31 UTC | |
by Anonymous Monk on Nov 17, 2011 at 14:54 UTC |