I can't even get 1.15 to compile w/ 8.0.5,
cc -c -I/usr/oracle/rdbms/demo -I/usr/oracle/rdbms/public
-I/usr/oracle/plsql/public -I/usr/oracle/network/public
-I/usr/oracle/rdbms/demo -I/usr/oracle/precomp/public
-I/usr/oracle/rdbms/demo
-I/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fpic
-I/usr/lib/perl5/5.6.1/i386-linux/CORE -DUTF8_SUPPORT Oracle.c
In file included from /usr/include/sys/param.h:23,
from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:488,
from
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI/DBIXS.h:19,
from Oracle.h:18,
from Oracle.xs:1:
/usr/oracle/precomp/public/limits.h:27: posix1_lim.h: No such file or
directory
/usr/oracle/precomp/public/limits.h:31: posix2_lim.h: No such file or
directory
/usr/oracle/precomp/public/limits.h:35: xopen_lim.h: No such file or
directory
In file included from /usr/include/netinet/in.h:23,
...goes on.
I am using old linux libraries, 6.1, but DBD::Oracle 1.12 compiles fine.
The missing header files are in /usr/include/bits. Any Ideas??
On Thu, 2004-07-08 at 12:54, Tim Bunce wrote:
> On Thu, Jul 08, 2004 at 04:31:43PM +0200, Gert-Jan Paulissen wrote:
> > Hi all,
> >
> > I installed DBD::Oracle 1.15 from CPAN using Cygwin perl v5.8.2 and I got a
> > link error.
> >
> > After some investigation it appeared the symbol OCILobWriteAppend was missing
> > from oci.def and therefore
> > the command
> >
> > $ dlltool --input-def oci.def --output-lib liboci.a
> >
> > did not include it, hence the link error.
> >
> > I added the symbol after OCILobWrite and everything worked fine.
> > I am using Oracle 9.2.
>
> Thanks.
>
> Can anyone confirm that adding OCILobWriteAppend to oci.def does not cause
> problems with Oracle < 8.1.7? (which don't have OCILobWriteAppend).
>
> Tim.