Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

How to successfully install DBD::Oracle?

by clueless newbie (Curate)
on Jan 15, 2022 at 20:48 UTC ( [id://11140482] : perlquestion . print w/replies, xml ) Need Help??

clueless newbie has asked for the wisdom of the Perl Monks concerning the following question:

Apologies in advance! (Question: What does it take to get DBD::Oracle to install successfully?)
Configuration is:
Windows 10
perl v5.18.4 32bit
Oracle Database 21c Express Edition
DBD-Oracle-1.82 downloaded to the local directory.
With ORACLE_HOME=c:\app\lifel\product\21c\dbhomeXE
cpanm cpanm DBD-Oracle-1.80.tar.gz
yields:

... deleted by OP ... see below!

Replies are listed 'Best First'.
Re: How to successfully install DBD::Oracle?
by clueless newbie (Curate) on Jan 15, 2022 at 21:57 UTC

    Duh!!

    Okay got it installed ... no thanks to clueless!
    download the Oracle client
    yes I also downloaded the sdk and unzipped them to 'C:\Oracle'(pun not intended). Next I set ORACLE_HOME to C:\Oracle\instantclient_21_3 as that is where the contents of the zips went. Selecting a 64 bit perl (Many THANKS to berrybrew!) I started cpanm and ... waited with bated breath.

    cpanm DBD-Oracle-1.82.tar.gz
    --> Working on DBD-Oracle-1.82.tar.gz
    Fetching file://D:\Downloads-Archive\Software\Perl\DBD-Oracle-1.82.tar.gz ... OK
    Configuring DBD-Oracle-1.82 ... OK
    Building and testing DBD-Oracle-1.82 ... OK
    Successfully installed DBD-Oracle-1.82
    1 distribution installed