Operating System - HP-UX
1834694 Members
2191 Online
110069 Solutions
New Discussion

trying to compile DBD-Oracle-1.12 perl module

 
jimm_1
Occasional Advisor

trying to compile DBD-Oracle-1.12 perl module

Hello,

I am trying to install the DBD-Oracle-1.12 perl module on my HP-UX bdcdb04 B.11.00 A 9000/820 server.

I am using:
perl v5.8.0
gcc version 3.2

The problem occur when I am trying to compile the oci8.c filer with the following command:

gcc -c -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/public -I/opt/oracle/plsql/public -I/opt/oracle/network/public -I/opt/oracle/rdbms/demo -I/opt/oracle/rdbms/demo -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE" oci8.c

I get a bunch of warning about the fprintf function (see attachment), then it exit with
*** Error exit code 1

I do not see any error in the output so I guess gcc is returning an error when it get
a high number of warning, is there an option
I could use to get around that ?


Thank in advance,
Johan
3 REPLIES 3
H.Merijn Brand (procura
Honored Contributor

Re: trying to compile DBD-Oracle-1.12 perl module

I didn't look at the attached error log, but if all there is is the printf errors, you can ignore these for now. They have to do with the new PerlIO layer.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
jimm_1
Occasional Advisor

Re: trying to compile DBD-Oracle-1.12 perl module

 
H.Merijn Brand (procura
Honored Contributor

Re: trying to compile DBD-Oracle-1.12 perl module

The commenting out seems to be the right way to continue. As I can see, the only thing that now fails is the long.t test. It might be that Oracle 8.0 does not support the things tested in there. I'm not an Oracle expert, so don't expect too much on that front, but if you can run the long.t test manually, you might see more info, and decide if the features being tested are ever going to be used by you. If not, just go for it.

# env PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/lib -Iblib/arch t/long.t

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn