in reply to automatic/unattended cpan install
The easiest way to solve this problem is to create a CPAN::MyConfig file which has all the makepl_arg value set and also a ~/.modulebuildrc file.
~/.cpan/CPAN/MyConfig.pm
$CPAN::Config->{makepl_arg} = q[INSTALLARCHLIB=/home/.../.perl/lib INSTALLBIN=/home/.../bin INSTALLMAN1DIR=/home/.../.perl/man/man1 INSTALLMAN3DIR=/home/.../.perl/man/man3 INSTALLPRIVLIB=/home/.../.perl/lib INSTALLSCRIPT=/home/.../bin INSTALLSITEARCH=/home/.../.perl/lib INSTALLSITEBIN=/home/.../bin INSTALLSITELIB=/home/.../.perl/lib INSTALLSITEMAN1DIR=/home/.../.perl/man/man1 INSTALLSITEMAN3DIR=/home/.../.perl/man/man3 INSTALLVENDORARCH=/home/.../.perl/lib INSTALLVENDORBIN=/home/.../bin INSTALLVENDORLIB=/home/.../.perl/lib INSTALLVENDORMAN1DIR=/home/.../.perl/man/man1 INSTALLVENDORMAN3DIR=/home/.../.perl/man/man3];~/.modulebuildrc
--installpath lib=/home/.../.perl/lib --installpath arch=/home/.../.perl/lib --installpath bin=/home/.../bin --installpath bindoc=/home/.../.perl/man/man1 --installpath libdoc=/home/.../.perl/man/man3
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: automatic/unattended cpan install
by raiten (Acolyte) on Mar 22, 2007 at 20:52 UTC |