Cpanminus inside Staticperl?
Mark Lawrence
nomad at null.net
Tue Oct 7 22:17:32 CEST 2014
I would like to be able to use cpanminus to install modules inside
a staticperl instance. What I've done so far:
Local environment:
export STATICPERLRC=/home/mark/src/bif/.staticperlrc
.staticperlrc:
STATICPERL=$PWD/.staticperl
PERL_VERSION="5.18.1"
PERL_CCFLAGS="-DSQLITE_OMIT_LOAD_EXTENSION"
Installed a perl
staticperl install
Installed cpanminus:
staticperl instcpan App::cpanminus
Running cpanm like so:
staticperl perl .staticperl/bin/cpanm Some-Dist.tar.gz
The problem I have is that cpanm detects modules which are installed in
my current environment, and so doesn't install the necessary
dependencies for Some-Dist.tar.gz which are not actually installed in
.staticperl/. Am I likely to be able to make this work?
--
Mark Lawrence
More information about the anyevent
mailing list