http://www.perlmonks.org?node_id=535637

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

I've installed DBI on Solaris 9. But, while installing DBD::Oracle, it gives me following error. I have already set the environment variables - ORACLE_HOME, ORACLE_SID & TWO_TASK (and ofcourse PATH & LD_LIBRARY_PATH).
Can you pl. help me with this problem?
CPAN.pm: Going to build T/TI/TIMB/DBD-Oracle-1.16.tar.gz Using DBI 1.50 (for perl 5.008007 on sun4-solaris) installed in /usr/l +ocal/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI/ Configuring DBD::Oracle ... >>> Remember to actually *READ* the README file! Especially if you have any problems. The ORACLE_HOME environment variable must be set. It must be set to hold the path to an Oracle installation directory on this machine (or a machine with a compatible architecture). See the README.clients file for more information. ABORTED! Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install

Replies are listed 'Best First'.
Re: Trouble installing DBD::Oracle
by marto (Cardinal) on Mar 10, 2006 at 11:48 UTC
Re: Trouble installing DBD::Oracle
by wazoox (Prior) on Mar 10, 2006 at 11:58 UTC
    You said you set ORACLE_HOME, etc but didn't you forget to export or setenv it ?
Re: Trouble installing DBD::Oracle
by PodMaster (Abbot) on Mar 10, 2006 at 09:25 UTC
    I have already set the environment variables - ORACLE_HOME
    What is the value of ORACLE_HOME? The error is telling you that ORACLE_HOME doesn't contain whats expected.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      ORACLE_HOME is set to "/usr/orasys/clnt817". It is the loaction where Oracle is installed.
        It is the loaction where Oracle is installed.
        I don't know, but since Makefile.PL doesn't like it, I'd say no. What is in that directory?

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Trouble installing DBD::Oracle
by Mr. Muskrat (Canon) on Mar 10, 2006 at 21:26 UTC
    As an aside, remember that the tests will fail if you haven't set ORACLE_USERID to a valid username/password. (scott/tiger has been gone for a while now.)
      Thanks for all the help. But, No luck guys! I've ensured that all environment variables are set properly. I am still unable to install this module.