salluri has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to install DBD::Oracle module in the local (private)directory. Not the root directory (i don't have permission on the root)
When i try to install the above module, it was saying that the DBI-1.52 is required. (Prerequisite)
I installed DBI-1.52 from CPAN. the module installed fine with no errors.
Used the following command to set the environment variable
export PERL5LIB =/data/projects/marketsurv/perllib/lib/site_perl/5.8.3/ i686-linux-thread-multi
The command ran successfully and Perl5LIB variable is set.
i verified with the command perl -V and it is showing the @INC is set to /data/projects/marketsurv/perllib/lib/site_perl/5. 8.3/i686-linux-thread-multi (works fine)
Now when i try to install DBD::Oracle with the following command, it is saying that DBI:1.42 is found (Somehow it is not looking at the local directory though the PERL5LIB is set)
perl Makefile.PL PREFIX =/data/projects/marketsurv/perllib/lib/site_perl/5.8.3/ i686-linux-thread-multi
DBI version 1.51 required--this is only version 1.42 at Makefile.PL line 19.
BEGIN failed--compilation aborted at Makefile.PL line 19.