I have been pulling my hair out for two days with this problem I'm
getting trying to install DBD::Oracle:

$ make test

        gcc -maix32 -c  -I/apps/oracle/product/oracle816/rdbms/demo -I/
apps/oracle/product/oracle816/rdbms/public -I/apps/oracle/product/
oracle816/rdbms/demo -I/apps/oracle/product/oracle816/rdbms/public -I/
apps/oracle/product/oracle816/plsql/public -I/apps/oracle/product/
oracle816/network/public -I/i2/lib/perl5/site_perl/5.10.0/aix-thread-
multi/auto/DBI  -D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE -
D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -fno-strict-
aliasing -pipe -I/usr/local/include -D_LARGE_FILES -O    -DVERSION=
\"1.21\"  -DXS_VERSION=\"1.21\"  "-I/i2/lib/perl5/5.10.0/aix-thread-
multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=
\"8.1.6\" -DUSE_ORA_OCI_STMNT_FETCH  Oracle.c

Oracle.c: In function 'boot_DBD__Oracle':
Oracle.c:2041: error: 'OCI_FETCH_CURRENT' undeclared (first use in
this function)
Oracle.c:2041: error: (Each undeclared identifier is reported only
once
Oracle.c:2041: error: for each function it appears in.)
make: The error code from the last command is 1.


I am absolutely stumped.  I have read all of the relevant readme files
and searched the web (and usenet) and am at my wits end.  Not knowing
c or Oracle well, it does hamper my ability to solve this mystery on
my own.

If anyone has any advice or guidance, it would be greatly appreciated.

Background:
- Running on AIX 5.3
- Perl 5.10 recently installed with gcc, threads enabled.  Perl is
working great, as is DBI
Oracle, SQL Plus, etc. working fine on the box
- Previous instance of Perl (5.8.0), DBI (1.43) and DBD::Oracle (1.15)
are still working fine (meaning I'm not down).  I recall I had to do
some funny stuff to get DBD::Oracle to work last time, but it was all
within the readme files
- I am not root...  installed Perl locally using: ./Configure -des -
Dusethreads -Dcc=gcc -Dprefix=/i2
- Reinstalled Perl, DBI, and this using xlc_r (alias cc_r), and it
gave me even more errors
- Would love to do 64 bit Perl, but gcc seemed to puke -- not
important for now

Thank you in advance to anyone who can point me in the right
direction.
Chris

Reply via email to