7 Replies Latest reply on Mar 26, 2006 4:18 PM by 500422

    How can I get CPAN  DBD::Oracle to install with XE?

      It can't find oracle.mk so it dies. I'm also going to contact the DBD::Oracle module author, but just in case someone on these forums has already solved this, I'm also posting here. The output from the install was:

      CPAN.pm: Going to build T/TI/TIMB/DBD-Oracle-1.16.tar.gz

      Using DBI 1.48 (for perl 5.008005 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.5/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 /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
      DEFINE SQLPLUSRELEASE = "1002000100" (CHAR)
      Oracle version (10.2)

      Unable to locate an oracle.mk, proc.mk or other suitable *.mk
      file in your Oracle installation. (I looked in
      /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/lib/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_rdbms.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/otrace/demo/atmoci.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/demo_proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc/lib/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/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 922.

      So is there a different *.mk file that can be specified per the above?