Operating System - HP-UX
1829928 Members
2851 Online
109998 Solutions
New Discussion

Re: perl v. 5.6.1 with Oracle DBD 1.16

 
Sanjeev gupta_2
Frequent Advisor

perl v. 5.6.1 with Oracle DBD 1.16

Hi

I have Hpux11.11 and on this i want to run a application. application requirement is perl v. 5.6.1 with Oracle DBD 1.16 . Perl 5.6 is installed on this box. i want to installed DBI and DBD
From where i can find it and how can i install it.
Pl. provide solution on it
Thx
sanjeev gupta
5 REPLIES 5
Warren_9
Honored Contributor

Re: perl v. 5.6.1 with Oracle DBD 1.16

morganelan
Trusted Contributor

Re: perl v. 5.6.1 with Oracle DBD 1.16

To get a working version of the DBD-Oracle driver, you have to start with a Perl that as been built with the correct compiler flags and shared libraries. This means that you must build your own version of Perl from source.
Kamal Mirdad
Devesh Pant_1
Esteemed Contributor

Re: perl v. 5.6.1 with Oracle DBD 1.16

Hey Sanjeev,
check out this document attached and my response to another thread where it resolved the issue.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=696973

Thanks
DP
Sanjeev gupta_2
Frequent Advisor

Re: perl v. 5.6.1 with Oracle DBD 1.16

Hi All
I ma getting following error while i run make for DBD
________________________________________

gcc +b "/opt/oracle/product/9.2.0/lib32:/opt/oracle/product/9.2.0/rdbms/lib32" -shared -static-libgcc -fPIC Oracle.o dbdimp.o oci8.o +s +n -L/opt/oracle/product/9.2.0/rdbms/lib32/ -L/opt/oracle/product/9.2.0/lib32/ -lclntsh -lm -o blib/arch/auto/DBD/Oracle/Oracle.sl
gcc: +b: No such file or directory
gcc: /opt/oracle/product/9.2.0/lib32:/opt/oracle/product/9.2.0/rdbms/lib32: No such file or directory
gcc: +s: No such file or directory
gcc: +n: No such file or directory
*** Error exit code 1
___________________________________

Could any body can provide any trace on it

Thx sanjeevg
H.Merijn Brand (procura
Honored Contributor

Re: perl v. 5.6.1 with Oracle DBD 1.16

You're mixing gcc with HP C-ANSI-C options.

5.6.1 is old. If you *need* 5.6, go for 5.6.2, otherwise, go for 5.8.7
There are to my knowledge no 5.6.1 builds made for 11.11, so you're probably working with a 11.00 build that happens to work on 11.11

My HP ITRC site pages can be found at (please use LA as primary choice):

USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/

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