perl-diddler has asked for the wisdom of the Perl Monks concerning the following question:
To work with a given perl I can just adjust my path as in:Ishtar:perl/perl-5.10.1> tree -L 2 -A . +-- usr +-- bin +-- lib +-- man
That works for testing... but one perl is also my system perl and under it I have along the lines of:
The problem comes where some modules (e.g. spamassassin) are using perl's -V:prefix and end up embedding:|-- bin -> /usr/bin |-- etc -> /etc |-- lib -> /usr/lib/perl5/ |-- man -> share/man |-- share -> /usr/share
ICK!.... I just want libs to use /usr/bin/perl. and look for their libs in /usr/lib/perl5/site_perl/perl-5.MAJ.
IT seems like the ideal would be some way of telling perl to report it's information based on the path it was called from, -- not where it was built, but ihow do I change (or is it possible to change) the 'V:prefix' value when I have it running from the new location?
I'm sure there's some easy way to do it, but I wouldn't know where to begin looking...*sigh*--things are always easier to find when you know where they are.. ;-)
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to change idea of perl's install PREFIX after compilation?
by Anonymous Monk on Mar 30, 2014 at 00:56 UTC | |
by perl-diddler (Chaplain) on Mar 30, 2014 at 01:45 UTC | |
by Anonymous Monk on Mar 30, 2014 at 02:44 UTC | |
by perl-diddler (Chaplain) on Mar 30, 2014 at 18:11 UTC |