Trouble Installing DBD::Oracle on Red Hat 8

From: Tim Harsch (harsch1_at_llnl.gov)
Date: 10/27/03


To: <DBI-users@perl.org>
Date: Mon, 27 Oct 2003 14:00:55 -0800

Hi All,
    I am trying to install DBD::Oracle for the first time on Linux. I've
had experiences with Solaris, but am not as savvy in Linux. I installed the
9i client librarues for linux, confirmed connectivty by tnsping a database
on the network, set my Oracle home, sid, and path variables and try to run
perl Makefile.PL and get this:

Using DBI 1.30 installed in
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI

 Configuring DBD::Oracle ...

>>> Remember to actually *READ* the README file!
        Especially if you have any problems.

Using Oracle in /home/harsch/OraHome1

WARNING: could not decode oracle version from
/home/harsch/OraHome1/orainst/inspdver, or
/home/harsch/OraHome1/install/unix.rgs
or from ORACLE_HOME path /home/harsch/OraHome1.
Oracle version based logic in Makefile.PL may produce erroneous results.

Found header files in rdbms/demo.

*********************************************************
I can't find the header files I need in your Oracle installation.
You probably need to install some more Oracle components.
I'll keep going, but the compile will probably fail.
See README.clients for more information.
*********************************************************

        Unable to locate an oracle.mk, proc.mk or other suitable *.mk
        file in your Oracle installation. (I looked in
        /home/harsch/OraHome1/rdbms/lib/oracle.mk
/home/harsch/OraHome1/rdbms/demo/oracle.mk
/home/harsch/OraHome1/rdbms/demo/demo_rdbms.mk
/home/harsch/OraHome1/otrace/demo/atmoci.mk
/home/harsch/OraHome1/precomp/demo/proc/proc.mk
/home/harsch/OraHome1/precomp/demo/proc/demo_proc.mk
/home/harsch/OraHome1/proc/lib/proc.mk
/home/harsch/OraHome1/proc16/lib/proc16.mk)

        The oracle.mk (or demo_rdbms.mk) file is part of the Oracle
        RDBMS product. The proc.mk (or demo_proc.mk) file is part of
        the Oracle Pro*C product. You need to build DBD::Oracle on a
        system which has one of these Oracle components installed.
        (Other *.mk files such as the env_*.mk files will not work.)

        In the unlikely event that a suitable *.mk file is installed
        somewhere non-standard you can specify where it is using the -m
option:
                perl Makefile.PL -m /path/to/your.mk

        See README.clients for more information and some alternatives.

     at Makefile.PL line 903.



Relevant Pages

  • RE: Fate of RedHat
    ... well (tho mostly under solaris - suprisingly the linux installation I did ... Enough infact to quite happily tell anyone even thinking of using Oracle ... During installation when you have to change disks, ... > commercial support than we did 13 years ago. ...
    (RedHat)
  • Compiling and running DBD for Oracle 10g without installing Oracle
    ... I recently had to compile the DBD modules for Oracle 10g on machines, ... perl, DBI etc. of recent enough version ... Oracle 10g installation disk for your architecture (available at ...
    (perl.dbi.users)
  • Compiling and running DBD for Oracle 10g without installing Oracle
    ... I recently had to compile the DBD modules for Oracle 10g on machines, ... perl, DBI etc. of recent enough version ... Oracle 10g installation disk for your architecture (available at ...
    (perl.dbi.users)
  • Re: Installation of Oracle with unixODBC
    ... at least since Oracle 10.2.0 the Oracle Linux distribution contains an ODBC ... After installation of the Oracle Enterprise ... Suse Linux Enterprise 9 installation. ... I had problems using unixODBC because my software, directly accessing odbc32.dll, ...
    (comp.databases.oracle.misc)
  • Oracle, Linux & OFA - Fevered Dreams?
    ... I tried to install Oracle 10g R2 on RHEL 4 Linux this weekend and it ... decided to use this structure for the installation. ... Does Oracle treat Linux like it is a Microsoft OS? ... Or is the OFA message a bunch of BS? ...
    (comp.databases.oracle.server)