stiller has asked for the wisdom of the Perl Monks concerning the following question:
So, I've set PERL5LIB to ~/perl5lib and cpan seems happy to run without sudo. Somehow I've got a helping of ~/share with ~/share/perl/5.8.8 and a lot of the modules I've installed or upgraded with cpan seems to go there, but well, it seems ok.
Now, I wanted to install SQL::Translator, but the install bails out complaining:
Sorry, PREFIX is not supported. See the Module::Build documentation for 'destdir' or 'install_base' instead.
Well, I added a ~/.modulebuildrc file with sole content:
but the same "Sorry, PREFIX ..." results.install --install_path /home/kai/perl5lib
I need some suggestions here now, or some better (super|google)search-terms than I've managed to come up with myself.
Also, I've tried to set --install_path to the same as PERL5LIB, is that wise? silly? enough?
Update:
Thanks for all the good sugestions. They will probably help, but I'm not entirely there yet, so more suggestions are still welcome.
Update 2:
I've got SQL::Translator installed using
although I had to work my way backwards through a couple of dependencies that also barked the same way.look SQL::Translator perl Build.PL --install_base /home/kai/perl5lib ./Build test ./Build install
I'd really like to have .modulebuildrc correctly set up and working.
Now to new searches...
Update 3:
The version I'm using:
perl -MModule::Build -e 'print "$Module::Build::VERSION \n";' 0.2808
|
---|