[Wellington-pm] building DBD::Oracle

Peter Love Peter.Love at netkno.com
Mon Feb 4 20:16:46 PST 2008


Hi All,

Has anyone built DBD::Oracle using Oracle instant client on Debian etch?

I've followed the approach at 
http://jeanchristophe.duber.free.fr/dbd_oracle_instantclient_linux/

But at the make stage I'm getting the errors appended below.

Any suggestions appreciated.


Peter

--


cc -c  -I/usr/lib/perl5/auto/DBI 
-I/usr/local/oracle_instantclient/include -O2   -DVERSION=\"1.20\" 
-DXS_VERSION=\"1.20\" -fPIC -fno-strict-aliasing 
"-I/usr/lib/perl/5.8/CORE"  -Wall -Wcast-align -Wpointer-arith 
-DORA_OCI_VERSION=\"10.2.0.3\" Oracle.c
In file included from /usr/lib/perl/5.8/CORE/op.h:497,
                  from /usr/lib/perl/5.8/CORE/perl.h:2754,
                  from /usr/lib/perl5/auto/DBI/DBIXS.h:19,
                  from Oracle.h:51,
                  from Oracle.xs:1:
/usr/lib/perl/5.8/CORE/reentr.h:612: error: field ‘_crypt_struct’ has 
incomplete type
In file included from /usr/lib/perl/5.8/CORE/perl.h:3950,
                  from /usr/lib/perl5/auto/DBI/DBIXS.h:19,
                  from Oracle.h:51,
                  from Oracle.xs:1:
/usr/lib/perl/5.8/CORE/proto.h:297: error: expected declaration 
specifiers or ‘...’ before ‘off64_t’
/usr/lib/perl/5.8/CORE/proto.h:299: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘Perl_do_sysseek’
/usr/lib/perl/5.8/CORE/proto.h:300: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘Perl_do_tell’
/usr/lib/perl/5.8/CORE/proto.h:2004: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘Perl_PerlIO_tell’
/usr/lib/perl/5.8/CORE/proto.h:2005: error: expected declaration 
specifiers or ‘...’ before ‘off64_t’





More information about the Wellington-pm mailing list