rhel - Issue regarding Perl @INC path upgrade at build time -


i trying migrate perl 5.8.8 perl 5.10.1. (basically rhel 5 rhel 6.6 ) per install documentation provided perl, @ time of configuring perl can use "-dotherlibdirs" add additional directories in inc path variable. @ time of building perl 5.10.1, using option includes directories used in perl 5.8.8.

for example

actual perl 5.10.1 inc list: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .  expected perl 5.10.1 inc list: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 **/usr/lib/perl5/site_perl/5.8.8**   . 

so configuration option be

-dotherlibdirs="/usr/lib/perl5/site_perl/5.8.8".

having option in configuration, build completes but, after installing rpm (created after build) , checking output of "perl -v", added path not visible in inc variable "-dotherlibdirs="/usr/lib/perl5/site_perl/5.8.8"" visible in configuration part of output.

if can me out here !

i prefere have several perl installations in 1 directorie, not upgrade:

./configure -des -dprefix=/usr/local/perls/perl-5.09 ./configure -des -dprefix=/usr/local/perls/perl-5.10 ./configure -des -dprefix=/usr/local/perls/perl-5.x 

they have own bin , modules directories. easy may create symlink needed perl , path correct.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -