2007fld has asked for the wisdom of the Perl Monks concerning the following question:

I need to install DBD:Oracle moduel on a test box, and later on a prod. box. The prod. box has DB connection, while the test box does not. When I tried to compile/install the module on the test box, I got errors b/c no Oracle_home etc., Do I have to have DB connection to install this module. Can I just put in a dummy Oracle_home?
  • Comment on DBD::Oracle module -- must have DB connection to install?

Replies are listed 'Best First'.
Re: DBD::Oracle module -- must have DB connection to install?
by Corion (Patriarch) on Feb 18, 2011 at 15:35 UTC

    Why didn't you follow the instructions in the README file of DBD::Oracle? They clearly state what is needed and what not.

    Also, I find it surprising that your test machine has no connection to the test database. Maybe consult with your system administrators and your database administrators about how to proceed?

Re: DBD::Oracle module -- must have DB connection to install?
by mje (Curate) on Feb 18, 2011 at 15:38 UTC

    You need at least Oracle instant client libraries to build DBD::Oracle. You can download those from Oracle. You'll need instant client basic, sdk and sqlplus.