FAQ? (ps: oracle.xs make failure)
am 11.08.2006 02:20:45 von shedd2005-tennis
We are building CPAN modules on an AIX box.
I want to look at the FAQ for this
group. Is there one? In case anyone can key on any of this, I'll dump our
error. I think it some custom stuff... I don't know yet.
But I really want to poke around in the FAQ first. But, who knows,
maybe someone has been there. Thanks
(this is an error :-)
Make failed:
perl /opt/3d/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/perl/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
cc_r -c -I/opt/oracle/product/prodvers/rdbms/public
-I/opt/oracle/product/prodvers/rdbms/demo -I/opt/oracle/product/prodver
s/rdbms/demo -I/opt/oracle/product/prodvers/rdbms/public
-I/opt/oracle/product/prodvers/plsql/public -I/opt/oracle/product/prodvers/
network/public
-I/perl/var/tmp/perl_bundle_bootstrap/perl/lib/perl5/site_pe rl/5.8.8/aix-thread-multi/auto/DBI
-D_ALL_SOURCE -D_
ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN
-DNEED_PTHREAD_INIT -I/perl/cus/include -O -DVERSION=\"
1.18\" -DXS_VERSION=\"1.18\"
"-I/perl/lib/perl5/5.8.8/aix-thread-multi/CORE" -DUTF8_SUPPORT
-DORA_OCI_VERSION=\"8.1.7.0\" Oracl
e.c
"Oracle.xs", line 269.72: 1506-045 (S) Undeclared identifier startp.
make: The error code from the last command is 1.
RE: FAQ? (ps: oracle.xs make failure)
am 11.08.2006 03:25:28 von Ron.Reidy
You don't say which version of DBD::Oracle you are building, but if you
google for this error, I believe you will find there is a specific
version of the module that works with 8.1.7.
--
Ron Reidy
Lead DBA
Array BioPharma, Inc.
-----Original Message-----
From: Hugh Shedd [mailto:shedd2005-tennis@yahoo.com]=20
Sent: Thursday, August 10, 2006 6:21 PM
To: dbi-users@perl.org
Subject: FAQ? (ps: oracle.xs make failure)
We are building CPAN modules on an AIX box.
I want to look at the FAQ for this
group. Is there one? In case anyone can key on any of this, I'll dump
our
error. I think it some custom stuff... I don't know yet.
But I really want to poke around in the FAQ first. But, who knows,
maybe someone has been there. Thanks
(this is an error :-)
Make failed:
perl /opt/3d/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/perl/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
cc_r -c -I/opt/oracle/product/prodvers/rdbms/public
-I/opt/oracle/product/prodvers/rdbms/demo -I/opt/oracle/product/prodver
s/rdbms/demo -I/opt/oracle/product/prodvers/rdbms/public
-I/opt/oracle/product/prodvers/plsql/public
-I/opt/oracle/product/prodvers/
network/public
-I/perl/var/tmp/perl_bundle_bootstrap/perl/lib/perl5/site_pe rl/5.8.8/aix
-thread-multi/auto/DBI
-D_ALL_SOURCE -D_
ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=3D-1 -qnoansialias
-DUSE_NATIVE_DLOPEN
-DNEED_PTHREAD_INIT -I/perl/cus/include -O -DVERSION=3D\"
1.18\" -DXS_VERSION=3D\"1.18\"=20
"-I/perl/lib/perl5/5.8.8/aix-thread-multi/CORE" -DUTF8_SUPPORT
-DORA_OCI_VERSION=3D\"8.1.7.0\" Oracl
e.c
"Oracle.xs", line 269.72: 1506-045 (S) Undeclared identifier startp.
make: The error code from the last command is 1.
This electronic message transmission is a PRIVATE communication which =
contains
information which may be confidential or privileged. The information is =
intended=20
to be for the use of the individual or entity named above. If you are =
not the=20
intended recipient, please be aware that any disclosure, copying, =
distribution=20
or use of the contents of this information is prohibited. Please notify =
the
sender of the delivery error by replying to this message, or notify us =
by
telephone (877-633-2436, ext. 0), and then delete it from your system.
Re: FAQ? (ps: oracle.xs make failure)
am 11.08.2006 09:12:40 von Martin.Evans
Hugh,
Edit the file Oracle.xs, search for startp where you'll find:
void
ora_lob_append(dbh, locator, data)
SV *dbh
OCILobLocator *locator
SV *data
PREINIT:
D_imp_dbh(dbh);
ub4 amtp;
STRLEN data_len; /* bytes not chars */
dvoid *bufp;
sword status;
/*ub4 startp;*/
ub1 csform;
ub2 csid;
CODE:
and uncomment the startp definition i.e. remove the /* and */
Martin
On Thu, 2006-08-10 at 17:20 -0700, Hugh Shedd wrote:
> We are building CPAN modules on an AIX box.
> I want to look at the FAQ for this
> group. Is there one? In case anyone can key on any of this, I'll dump our
> error. I think it some custom stuff... I don't know yet.
> But I really want to poke around in the FAQ first. But, who knows,
> maybe someone has been there. Thanks
>
> (this is an error :-)
>
> Make failed:
> perl /opt/3d/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
> /perl/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
> Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
> cc_r -c -I/opt/oracle/product/prodvers/rdbms/public
> -I/opt/oracle/product/prodvers/rdbms/demo -I/opt/oracle/product/prodver
> s/rdbms/demo -I/opt/oracle/product/prodvers/rdbms/public
> -I/opt/oracle/product/prodvers/plsql/public -I/opt/oracle/product/prodvers/
> network/public
> -I/perl/var/tmp/perl_bundle_bootstrap/perl/lib/perl5/site_pe rl/5.8.8/aix-thread-multi/auto/DBI
> -D_ALL_SOURCE -D_
> ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN
> -DNEED_PTHREAD_INIT -I/perl/cus/include -O -DVERSION=\"
> 1.18\" -DXS_VERSION=\"1.18\"
> "-I/perl/lib/perl5/5.8.8/aix-thread-multi/CORE" -DUTF8_SUPPORT
> -DORA_OCI_VERSION=\"8.1.7.0\" Oracl
> e.c
> "Oracle.xs", line 269.72: 1506-045 (S) Undeclared identifier startp.
> make: The error code from the last command is 1.
>
>
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com