Re: h2xs problem

[email protected] (Tim Bunce) Tue, 28 Aug 2001 23:59:20 +0100
Newsgroups perl.dbi.oracle-oci
Message-ID <[email protected]>
On Tue, Aug 28, 2001 at 10:10:40AM -0700, Rob McMillin wrote:
> 
> Gettin' warmer. It fails but at a different part:
> 
> cp OCI.pm blib/lib/Oracle/OCI.pm
> AutoSplitting blib/lib/Oracle/OCI.pm (blib/lib/auto/Oracle/OCI)
> /usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0
> /usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.0/ExtUtils/typemap
> -typemap h2xs.typemap -typemap typemap OCI.xs > OCI.xsc && mv OCI.xsc OCI.c
> Error: 'OCITrans *' not in typemap in OCI.xs, line 9568
> Error: 'OCITrans *' not in typemap in OCI.xs, line 9571

Ah, now you need this patch:

diff -c -r1.5 extra.typemap
*** 1.5	2001/07/07 22:02:09
--- extra.typemap	2001/08/05 22:58:29
***************
*** 1,5 ****
--- 1,7 ----
  OCIRaw *		T_PTROBJ
  OCIRef *		T_PTROBJ
+ OCITrans *		T_PTROBJ
+ OCIType *		T_PTROBJ
  int *			T_PTROBJ
  void *			T_PTROBJ
  sb1			T_IV

Tim.