On Saturday 19 Jun 2010 03:13:44 Joseph L. Casale wrote: > I need a few modules not provided by Base or 3rd party rpm repos > and since I don't want to mess up the rpm db, I am installing these > cpan modules as non root into /opt/cpan by using 'makepl_arg' => > q[PREFIX=/opt/cpan] > > The module I need is MIME::Tools which needs a newer File::Temp (0.16 > versus needed 0.18) than I have so it follows the deps and builds 0.22 > but keeps failing on the build of MIME::Tools as it only uses the system > installed 0.16. > > How does one rectify a situation like this? >
You can try using the PERL5LIB environment variable: [quote] <perlbot> rindolf: To change @INC (perldoc perlvar), 'use lib' (perldoc lib), or use the -I option to perl (perldoc perlrun), or set the PERLLIB or PERL5LIB environment variable (perldoc perlrun), or recompile perl. [/quote] Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/ways_to_do_it.html God considered inflicting XSLT as the tenth plague of Egypt, but then decided against it because he thought it would be too evil. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/