Subject: | sudo and ExtUtils::AutoInstall |
The new "sudo make install" option in CPANPLUS is neat, very good to be able to run cpanp not at root. However, ExtUtils::AutoInstall likes to install modules during the "make" phase. When running cpanp as a non-root user this means you cannot install modules that use ExtUtils::AutoInstall to resolve their dependencies. This, ironicly, includes CPANPLUS. It can't update itself.
Not sure how to solve this. "sudo make" is wrong. If there was a way for CPANPLUS to detect the use of ExtUtils::AutoInstall and resolve the dependencies itself like any normal module, that would solve the problem neatly.