Re: DBD::Oracle installation failed



It is John Scoles, John Scholes is my evil twin who knows how to program in
C correctly also a US TV actor.

I will see if I can root out the rest of those // today

Cheers

.. Will
"Martin Evans" <martin.evans@xxxxxxxxxxxx> wrote in message
news:45B9C91C.6000007@xxxxxxxxxxxxxxx
Pham, Tri wrote:
To DBI support,

I am having problem with DBI and DBD when I migrate the OS from AIX
5.1 to AIX 5.3. The migration was put the new version of Perl (5.8.2)
and wipe out the previously built DBI and DBD::Oracle on the Perl 5.6.1.
I was successful download and compile the DBI 1.53 from CPAN website but
I get the errors when I build the DBD::Oracle-1.19. I am appreciated for
your help.

Platform: IBM,7028-6C4

OS: AIX 5.3.04

root@httpwas1stg:/workarea/DBI/DBD-Oracle-1.19# make

Skip blib/lib/DBD/Oracle.pm (unchanged)

Skip blib/lib/DBD/mkta.pl (unchanged)

Skip blib/lib/oraperl.ph (unchanged)

Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)

Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)

Skip blib/lib/Oraperl.pm (unchanged)

Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)

Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)

Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)

cc_r -c -I/apps/oracle/product/9.2.0/rdbms/demo -I.
-I/apps/oracle/product/9.2.0/precomp/public
-I/apps/oracle/product/9.2.0/rdbms/public
-I/apps/oracle/product/9.2.0/rdbms/demo
-I/apps/oracle/product/9.2.0/plsql/public
-I/apps/oracle/product/9.2.0/network/public
-I/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FILES -qlonglong -O -DVERSION=\"1.19\"
-DXS_VERSION=\"1.19\"
"-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DUTF8_SUPPORT
-DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.1\" Oracle.c

1506-507 (W) No licenses available. Contact your program supplier to add
additional users. Compilation will proceed shortly.

cc_r -c -I/apps/oracle/product/9.2.0/rdbms/demo -I.
-I/apps/oracle/product/9.2.0/precomp/public
-I/apps/oracle/product/9.2.0/rdbms/public
-I/apps/oracle/product/9.2.0/rdbms/demo
-I/apps/oracle/product/9.2.0/plsql/public
-I/apps/oracle/product/9.2.0/network/public
-I/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FILES -qlonglong -O -DVERSION=\"1.19\"
-DXS_VERSION=\"1.19\"
"-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DUTF8_SUPPORT
-DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.1\" dbdimp.c

1506-507 (W) No licenses available. Contact your program supplier to add
additional users. Compilation will proceed shortly.

"dbdimp.c", line 1982.18: 1506-046 (S) Syntax error.

"dbdimp.c", line 1982.56: 1506-045 (S) Undeclared identifier undef.

make: 1254-004 The error code from the last command is 1.

Line 1982 is:
//check to see if value sv is a null (undef) if it is upgrade it
Your compiler does not like c++ comments.
You can:

1. find the switch to the compiler to allow c++ comments (I believe there
is one but I can't remember it off the top of my head)

2. delete line 1982 and any other c++ comments or change the comments to c
style ones e.g.

/* check to see if value sv is a null (undef) if it is upgrade it */

John Scholes, if you are reading: I would change all the comments to c
style ones if I were you - it is not uncommon for c compilers to baulk at
c++ comments.


Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com


.



Relevant Pages

  • Re: DBD::Oracle installation failed
    ... I am having problem with DBI and DBD when I migrate the OS from AIX ... Compilation will proceed shortly. ... Martin J. Evans ...
    (perl.dbi.users)
  • RE: DBD::Oracle installation failed
    ... I am having problem with DBI and DBD when I migrate the OS from AIX ... Contact your program supplier to add ... Compilation will proceed shortly. ...
    (perl.dbi.users)
  • Re: Problem with DBI installation on x86_64-linux
    ... The x68_64 glibc is probably not installed, but I am not sure of that: ... At the moment I just succeeded in installing DBI using a RPM: ... I know that this does not solve my compilation problem, ... Problem with DBI installation on x86_64-linux ...
    (perl.dbi.users)
  • Re: AIX 5.3 ML5, cc_r vs cc_r7 dlopen crash problem
    ... The compilation is made on AIX 5.1 with the latest version of XL C/C+ ... Firebird ODBC driver 1.3 ... The crash occurs at the application initialization and at this point, ...
    (comp.unix.aix)
  • AIX 5.3 ML5, cc_r vs cc_r7 dlopen crash problem
    ... The compilation is made on AIX 5.1 with the latest version of XL C/C+ ... Firebird ODBC driver 1.3 ... The crash occurs at the application initialization and at this point, ...
    (comp.unix.aix)