i'm trying to compile DBD::Oracle v1.15 on a Solaris 8 machine with Oracle9iR2 client libraries installed. during the client installation 'runtime' installation type was used and the 'Oracle programmer' product component was added afterwards. DBD::Oracle configuration goes fine but compilation fails because of missing header files. here's an output extract:
...
gcc -c -I. -I/opt/oracle9i/u01/app/oracle/product/9.2.0/precomp/public -I/opt/orac
le9i/u01/app/oracle/product/9.2.0/rdbms/public -I/opt/oracle9i/u01/app/oracle/produ
ct/9.2.0/rdbms/demo -I/opt/oracle9i/u01/app/oracle/product/9.2.0/plsql/public -I/op
t/oracle9i/u01/app/oracle/product/9.2.0/network/public -I/opt/oracle9i/u01/app/orac
le/product/9.2.0/rdbms/demo -I/opt/oracle9i/u01/app/oracle/product/9.2.0/rdbms/demo
-I/opt/kronodoc/perl/kb9/lib/site_perl/5.8.3/sun4-solaris/auto/DBI -DUSE_HAS_SEED_
EXPLICIT -fno-strict-aliasing -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS
ET_BITS=64 -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fPIC "-I/opt/kronodoc/per
l/kb9/lib/5.8.3/sun4-solaris/CORE" -DUTF8_SUPPORT Oracle.c
In file included from Oracle.h:20,
from Oracle.xs:1:
dbdimp.h:44:20: ocidfn.h: No such file or directory
dbdimp.h:57:21: ociapr.h: No such file or directory
In file included from Oracle.h:20,
from Oracle.xs:1:
dbdimp.h:111: parse error before "Lda_Def"
dbdimp.h:111: warning: no semicolon at end of struct or union
dbdimp.h:112: warning: data definition has no type or storage class
dbdimp.h:120: parse error before '}' token
dbdimp.h:144: parse error before "Cda_Def"
dbdimp.h:144: warning: no semicolon at end of struct or union
dbdimp.h:145: warning: data definition has no type or storage class
dbdimp.h:171: parse error before '}' token
dbdimp.h:304: parse error before "Lda_Def"
...
does someone have an idea what's going wrong? full typescript is attached to this email.
best regards,
--
aspa
typescript.1
Description: Binary data
