I have successfully setup RT using local::lib to store all the
dependancies that perl needs outside of the system's perl libs.
So far, it has worked quite well.
You have to be careful to set it up before you start running all the
commands so that it looks for the libs in the right place, as well as
using the right install paths for the new installed modules out of cpan.
Use this:
eval `perl -Mlocal::lib=/opt/rt4/perl5`
To get CPAN to install in that location, and setup perl to look there for
libs.
And add the following to apache's config:
PerlOptions +Parent
PerlSwitches -I/opt/rt4/perl5/lib/perl5
I expect you can use something like perlbrew to setup the whole toolchain
to do the same...
Thanks,
Jok
--
| Joachim Thuau | Linux Systems Administrator / SpaceX |
| Cell: 310-890-7937 | Office: 310-363-6153 |
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Washington DC, USA October 31 & November 1, 2011
* Barcelona, Spain November 28 & 29, 2011