Re: (Fwd) DBD Install
From: Jeff Long (long+news6_at_kestrel.cc.ku.edu)
Date: 10/29/04
- Next message: Lubomir G. Vassilev: "RE: Error: Can't load '/cygdrive/c/Oracle/Ora81/bin/Oracle' for module DBD::Oracle..."
- Previous message: David Repko: "DBI 1.45: "Use of uninitialized value in printf at test.pl line 1 06" on MSWin32-x86-multi-thread"
- In reply to: Tim Bunce: "(Fwd) DBD Install"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Fri, 29 Oct 2004 10:19:54 -0500
Tim Bunce wrote:
> ----- Forwarded message from Denesa K Shaw <denesa.shaw@CenterPointEnergy.com> -----
>
> Delivered-To: tim.bunce@pobox.com
> X-SPF-Guess: pass (seems reasonable for denesa.shaw@CenterPointEnergy.com to mail through 158.81.14.31)
> Subject: DBD Install
> To: Tim.Bunce@pobox.com
> From: Denesa K Shaw <denesa.shaw@CenterPointEnergy.com>
> Date: Thu, 28 Oct 2004 12:38:36 -0500
>
>
>
>
>
> Hi,
> We have Oracle 9 Client installed on one of our servers and we are trying
> to install the DBD module for Oracle.
> After running the make command we are getting the following errors:
> could you give us some insight on what we need to do?
>
> # make
> cp Oracle.pm blib/lib/DBD/Oracle.pm
> cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
> cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
> cp oraperl.ph blib/lib/oraperl.ph
> cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
> cp Oraperl.pm blib/lib/Oraperl.pm
> cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
> cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
> /usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" =>
> "DBD::
> Oracle", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
> /usr/bin/perl -p -e "s/~DRIVER~/Oracle/g"
> /usr/opt/perl5/lib/site_perl/5
> .8.0/aix-thread-multi/auto/DBI//Driver.xst > Oracle.xsi
> /usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp -typemap
> /usr/op
> t/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap Oracle.xs > Oracle.xsc
> && m
> v Oracle.xsc Oracle.c
> gcc -c -I. -I/u00/app/oracle/product/9.2.0/precomp/public
> -I/u00/app/or
> acle/product/9.2.0/rdbms/public -I/u00/app/oracle/product/9.2.0/rdbms/demo
> -I/u0
> 0/app/oracle/product/9.2.0/plsql/public -I/u00/app/oracle/product/9.2.0
> /network/
> public -I/u00/app/oracle/product/9.2.0/rdbms/demo
> -I/u00/app/oracle/product/9.2.
> 0/rdbms/demo -I/usr/opt/perl5/lib/site_perl/5.8.0
> /aix-thread-multi/auto/DBI/ -D
> _ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN
> -DNEED_PTHREAD_
> INIT -D_LARGE_FILES -O -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\"
> "-I/usr/opt
> /perl5/lib/5.8.0/aix-thread-multi/CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT
> -DORA_OCI
> _VERSION=\"9.2.0.1\" Oracle.c
> In file included from Oracle.h:20,
> from Oracle.xs:1:
> dbdimp.h:44: oci.h: A file or directory in the path name does not exist.
> In file included from Oracle.h:20,
> from Oracle.xs:1:
> dbdimp.h:46: ocidfn.h: A file or directory in the path name does not exist.
> make: 1254-004 The error code from the last command is 1.
I've seen this issue on Solaris where you do an 'Administrator' client
install and it leaves out some critical OCI components. I can't
remember exactly which component was missing but we fixed it by going
back through the installer and choosing a custom install and finding the
OCI component that it missed.
Checking some old email it looks like you need the Oracle9i Database /
Oracle9i Development Kit / Oracle Call Interface (OCI) component.
Jeff Long
- Next message: Lubomir G. Vassilev: "RE: Error: Can't load '/cygdrive/c/Oracle/Ora81/bin/Oracle' for module DBD::Oracle..."
- Previous message: David Repko: "DBI 1.45: "Use of uninitialized value in printf at test.pl line 1 06" on MSWin32-x86-multi-thread"
- In reply to: Tim Bunce: "(Fwd) DBD Install"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|