DBD::Oracle: compilation fails with Oracle9iR2 on Solaris

From: Marko Asplund (marko.asplund_at_kronodoc.com)
Date: 03/24/04


To: dbi-users@perl.org
Date: Wed, 24 Mar 2004 16:48:02 +0200



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




Relevant Pages

  • Re: Feeding data to a Citrix client
    ... android.c:119: error: parse error before "ClientData" ... android.c:119: warning: data definition has no type or storage class ...
    (comp.unix.shell)
  • [Full-Disclosure] [ http://www.k-otik.com/exploits/07.21.win2kdos.c.php ]
    ... test.c:1: parse error before "dcom_recv" ... test.c:15: warning: data definition has no type or storage class ... test.c:28: warning: passing arg 1 of `strlen' makes pointer from integer ...
    (Full-Disclosure)
  • Re: Uninstall Office 2003 Trial? Add/Remove returns Error Message!
    ... The most common "Warning and Information" source is listed as ... it simply doesn't proceed with the installation. ... Microsoft Office MVP ... MVP FAQ site: http://mvps.org/ ...
    (microsoft.public.office.misc)
  • Help with makeing DBD::DB2
    ... Constants.xs:25: warning: `not_here' defined but not used ... dbdimp.h:18: error: parse error before '*' token ... dbdimp.h:18: warning: type defaults to `int' in declaration of ...
    (comp.lang.perl.modules)
  • Re: how do I get my money back
    ... The FACT that the Agreement was on The installation Disk INSIDE a SEALED ... > Manifest Parse Error: Invalid at the top level of the document. ...
    (microsoft.public.windowsxp.help_and_support)