RE: DBD::Oracle installation failed

RE: DBD::Oracle installation failed

am 25.01.2007 17:35:06 von Tri.Pham

------_=_NextPart_001_01C7409E.C5ACECA0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

To DBI support,

=20

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.

=20

Platform: IBM,7028-6C4

OS: AIX 5.3.04

=20

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/D BI
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=3D16384
-qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FILES -qlonglong -O -DVERSION=3D\"1.19\"
-DXS_VERSION=3D\"1.19\"
"-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DUTF8_SUPPORT
-DNEW_OCI_INIT -DORA_OCI_VERSION=3D\"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/D BI
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=3D16384
-qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FILES -qlonglong -O -DVERSION=3D\"1.19\"
-DXS_VERSION=3D\"1.19\"
"-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DUTF8_SUPPORT
-DNEW_OCI_INIT -DORA_OCI_VERSION=3D\"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.

=20

=20

Stop.

=20

Thanks You.

=20

Tri Pham



************************************************************ **********
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender by email, delete and destroy this message and its=20
attachments.

************************************************************ **********


------_=_NextPart_001_01C7409E.C5ACECA0--

Re: DBD::Oracle installation failed

am 26.01.2007 10:25:48 von Martin.Evans

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/D BI
> -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/D BI
> -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

Re: DBD::Oracle installation failed

am 26.01.2007 12:30:10 von scoles

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" wrote in message
news:45B9C91C.6000007@easysoft.com...
> 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/D BI
>> -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/D BI
>> -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