Just in case it helps anyone else I had a similar problem. I installed Oracle 9.2.0.1.0 with the Administrator install and did not have an oci.h. I went back and did a custom install to find Oracle Call Interface was not installed by default.
Thanks Jeff for the pointer. Martin -- Martin J. Evans Easysoft Ltd, UK Development On 29-Oct-2004 Jeff Long wrote: > Tim Bunce wrote: >> ----- Forwarded message from Denesa K Shaw >> <[EMAIL PROTECTED]> ----- >> >> Delivered-To: [EMAIL PROTECTED] >> X-SPF-Guess: pass (seems reasonable for [EMAIL PROTECTED] to >> mail through 158.81.14.31) >> Subject: DBD Install >> To: [EMAIL PROTECTED] >> From: Denesa K Shaw <[EMAIL PROTECTED]> >> 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