[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dbi-users
Subject:    Re: Follow up to earlier thread about DBD::Perl installation
From:       scoles () pythian ! com
Date:       2008-04-18 0:43:51
Message-ID: 49337.69.196.142.38.1208479431.squirrel () secure ! pythian ! com
[Download RAW message or body]

Yep I know what that is.

Seems  the client you are trying to install against is too old for the
present DBD::Oracle 1.21

You have a few options

1) use DBD::Oracle 1.20
2) use Oracle Instant Client
3) upgrade you Oracle Client

I think option 1 would be the simplest as you are not losing any
functionality as OCIXMLTypeCreateFromSrc is most likely not part of the
pasrticualt functionality of your 9.2.0 client.

Simply download and replace the present DBD::Oracle with 1.20 and it
should work without any problem. I have had a very similar error with a
9.1.6 cleint and that fixed it.

This leads us into another discussion of when does one stop supporting the
various clients.

I will have to put some notices on the list to judge the general opinion.
But my general though on the matter is that Oracle now only has very
limited support for 9 and none for 8 so why should we.




> Hi
> I got the OCI Libraries installed and got the make file to getgenerated
> without any issues. Now I am encountering the below errortrying to run the
> makefile
> $ make
> gcc -c
> -IC:/oracle/product/9.2.0/client_2/oci/include-IC:/oracle/product/9.2.0/client_2/rdbms/demo-I/usr/lib/perl5/site_perl/5.8/cygwin/auto/DBI
>                 
> -DPERL_USE_SAFE_PUTENV-fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -DUSEIMPORTLIB-O3  -DVERSION=\"1.21\"
> -DXS_VERSION=\"1.21\" "-I/usr/lib/perl5/5.8/cygwin/CORE"  -Wall
> -Wno-comment -DUTF8_SUPPORT-DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.1\"
> Oracle.c
> In file included from Oracle.xs:1:
> Oracle.h:114: error: conflicting types for 'OCIXMLTypeCreateFromSrc'
> Oracle.h:114: note: an argument type that has a default promotion can't
> match an empty parameter name list declaration
> C:/oracle/product/9.2.0/client_2/oci/include/ociap.h:10038: error:
> previous declaration of 'OCIXMLTypeCreateFromSrc' was here
> Oracle.h:114: error: conflicting types for 'OCIXMLTypeCreateFromSrc'
> Oracle.h:114: note: an argument type that has a default promotion can't
> match an empty parameter name list declaration
> C:/oracle/product/9.2.0/client_2/oci/include/ociap.h:10038: error:
> previous declaration of 'OCIXMLTypeCreateFromSrc' was here
> make: *** [Oracle.o] Error 1
> 
> Has anyone seen this error before?
> I scrubbed the system clean of any Oracle Client installation and
> reinstalled the 9i client in totality.
> 
> Thanks
> Dunston
> 
> 
> 
> ____________________________________________________________________________________
>  Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic