KyleV has asked for the wisdom of the Perl Monks concerning the following question:
So, my senior admin decided to play hooky on a day when the billing team is under a hot deadline. My guess is that he did this in order to cool my heels a bit since he thought I was getting a little big for my breeches… Anyway, here’s the issue:
install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@IN +C contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/ +perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/ +share/perl5 .) at (eval 4) line 3, <INPUT> line 1. Perhaps the DBD::Oracle perl module hasn't been fully installed, or perhaps the capitalisation of 'Oracle' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
A bit o googling turned this up: http://stackoverflow.com/questions/11407513/perl-dbdoracle-module-installation
Which I followed up until the part where I have to compile the dbd-oracle module that I downloaded from CPAN. This is what I get when I try to do that:
[root@host DBD-Oracle-1.74]# perl Makefile.PL Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/ +lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/ +share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makef +ile.PL line 10. BEGIN failed--compilation aborted at Makefile.PL line 10.
Now, line 10 of the Makefile.PL reads as follows:
use ExtUtils::MakeMaker 5.16, qw(&WriteMakefile $Verbose);I note the following:
[root@host DBD-Oracle-1.74]# find / -name MakeMaker /opt/arbor/arbor3p/perl/lib/5.8.7/ExtUtils/MakeMaker /opt/oracle/product/11g/perl/lib/5.10.0/ExtUtils/MakeMaker
So, I edit the Makefile.PL to a version that is actually installed on the system, 5.10.0 and attempt the make again. Same result. Any hints/help would be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing DBD module for Oracle
by Anonymous Monk on Sep 26, 2014 at 01:00 UTC |