Hi,

I've been trying to install DBD::Oracle on a machine here, and I'm not
getting very far.

The machine in question is a Linux box (RedHat based, 2.2 kernel, perl
5.6.1). It does not have Oracle installed on it, but does have a number
of Oracle support files, against which I have successfully compiled
DBD::Oracle on a different machine.

Attempting to install DBD::Oracle from the CPAN shell, the install bombs
with the following error:-

cc -c -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public
-I/opt/oracle/plsql/public -I/opt/oracle/network/public
-I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public
-I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/DBI
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2  
-DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fpic
-I/usr/lib/perl5/5.6.1/i686-linux/CORE  oci7.c
cc -c -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public
-I/opt/oracle/plsql/public -I/opt/oracle/network/public
-I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public
-I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/DBI
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2  
-DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fpic
-I/usr/lib/perl5/5.6.1/i686-linux/CORE  oci8.c
oci8.c: In function `oci_hdtype_name':
oci8.c:100: `OCI_HTYPE_SUBSCRIPTION' undeclared (first use this
function)
oci8.c:100: (Each undeclared identifier is reported only once
oci8.c:100: for each function it appears in.)
oci8.c:109: `OCI_DTYPE_LOCATOR' undeclared (first use this function)
make: *** [oci8.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Has anyone seen this before? Anyone give me any pointers on how to fix
it?

TIA,

Mike.

Reply via email to