|Subject:||auto_install fails on local non-root installs|
Details on the local install from MyConfig.pm: ------ 'build_dir' => q[/home/tod/.cpan/build], 'cpan_home' => q[/home/tod/.cpan], 'histfile' => q[/home/tod/.cpan/histfile], 'keep_source_where' => q[/home/tod/.cpan/sources], 'make_install_arg' => q, 'makepl_arg' => q[INSTALLDIRS=site PREFIX=/home/tod/local], 'prerequisites_policy' => q[follow], ------ Yet several levels down while processing dependencies when installing MooseX::Object::Pluggable: ------ Running make for B/BL/BLBLACK/Class-C3-0.19.tar.gz Is already unwrapped into directory /home/tod/.cpan/build/Class-C3-0.19 CPAN.pm: Going to build B/BL/BLBLACK/Class-C3-0.19.tar.gz /usr/bin/perl "-Iinc" Makefile.PL --config= --installdeps=Algorithm::C3,0.06,Class::C3::XS,0.07 Cannot determine perl version info from lib/Class/C3.pm *** Installing dependencies... *** You are not allowed to write to the directory '/usr/local/share/perl/5.8.8'; the installation may fail due to insufficient permissions. ==> Should we try to re-execute the autoinstall process with 'sudo'? [y] ------ The install should not be touching /usr/local/share/perl/5.8.8 at all, ever. This happens because auto_install doesn't correctly handle CPAN.pm <b>makepl_arg</b> settings. I stopped using auto_install in my own package due to this problem.