Operating System - HP-UX
1819876 Members
2550 Online
109607 Solutions
New Discussion юеВ

Re: Perl/DBI/DBD-Oracle on 11.23

 
Michael Simone
Frequent Advisor

Perl/DBI/DBD-Oracle on 11.23

I'm flailing trying to get Perl installed on my new rx7620 running HPUX 11.23. Obviously, it's Itanium, so none of my old references from my PA machines seem to work.

Does anybody have a step-by-step for getting Perl installed with DBI and DBD-Oracle on an Itanium system running 11.23? I've tried several of procura's downloads, and none of them will build right with DBD. I've tried several different gccs (although I don't know how to recompile it, just installing the depot), and I don't have the ANSI-C compiler.

I would appreciate ANY help anyone can offer.
9 REPLIES 9
H.Merijn Brand (procura
Honored Contributor

Re: Perl/DBI/DBD-Oracle on 11.23

My Downloads are al PA-RISC.

If you get a guest account on HP's testbench park, go on the spe173 (192.233.54.173) to /house/procura, where I have installed the 5.8.5 release candidate

This made small adjustments to the install procedure for 11.23, but they should have made it to the final 5.8.5 distro that was released, and should install out of the box

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Michael Simone
Frequent Advisor

Re: Perl/DBI/DBD-Oracle on 11.23

Sorry, but what's the Testbench Park? Sounds like you may have given me the answer I need, if I can only get there. :)
H.Merijn Brand (procura
Honored Contributor

Re: Perl/DBI/DBD-Oracle on 11.23

http://www.testdrive.hp.com/

http://www.testdrive.compaq.com/current.shtml

lt09:/home/merijn 104 > ping spe173.testdrive.hp.com
PING spe173.testdrive.hp.com (192.233.54.173) 56(84) bytes of data.

--- spe173.testdrive.hp.com ping statistics ---
11 packets transmitted, 0 received, 100% packet loss, time 9997ms

Brrr, seems to be taken out of the ring.
I'll check with the authorities ...

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
H.Merijn Brand (procura
Honored Contributor

Re: Perl/DBI/DBD-Oracle on 11.23

BTW, did you try the 11.23 port by the HP porting center?

http://hpux.connect.org.uk/ftp/hpux/Languages/perl-5.8.3/perl-5.8.3-sd-11.22.depot.gz

It's only 5.8.3, but that's not bad :)

http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.3/

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Michael Simone
Frequent Advisor

Re: Perl/DBI/DBD-Oracle on 11.23

I did try the 5.8.3 port, but it gave me some problems. I'm currently compiling 5.8.3 source (looks like 5.8.5 is buggy on 11.23?), and got through that okay, but then encountered some errors installing DBI and DBD:Oracle.

I meant to mention that my ultimate goal is to be able to rebuild my Stronghold Apache application (currently 2.4.2) with mod_perl. So I'm under the impression that everything should be built from the ground up with GCC. But this 11.23/Itanium world is new to us, so I'm not sure if I'm trying to do something that can't be done.

Any tips on getting 5.8.3/DBI/DBD built on GCC? I signed up on Testdrive, and will look for your ports.
Michael Simone
Frequent Advisor

Re: Perl/DBI/DBD-Oracle on 11.23

Since you've been so helpful, and there's another thread that you helped with that's related (http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=357406), let me ask you.

When I try to make test DBI or DBD, I get a message referencing a Unsatisfied code symbol '__divdf3'. I found this in this path, and three others:/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.1/hpux64.

But I'm unclear on how to add this to the Makefile for DBI and DBD, and when. This is all pretty new to me, but if you can give me a clue on how to work around this error, I think I might be almost there.

Thanks!
Michael Simone
Frequent Advisor

Re: Perl/DBI/DBD-Oracle on 11.23

I retried the Porting Center version of 5.8.3, but it wasn't built with cl and pthread, so I couldn't install DBD:Oracle.

My built version of 5.8.3 keeps running into this __divdf3 problem. I'm thinking it must be a flag or something I can set. I would imagine those that have successfully built 5.8.3 haven't had this problem.

I did get into the Itanium machine on Testdrive, but didn't see your 5.8.5 in /home/procura. If you find out what happened, let me know and I'll try it out.

Thanks again for the help.
H.Merijn Brand (procura
Honored Contributor

Re: Perl/DBI/DBD-Oracle on 11.23

-lcl is not needed anymore on 11.23 (Itanium) if I'm not mistaken. It's even possile that it is not needed anymore on the latest patchlevels of 11.11, but since I'm still on holiday, I can only test that as of monday 23 Aug

I don't have access to 11.23 anymore right now, cause the spe173 is out of reach, so I cannot check.

all those div3 like missing symbols are most likely from libgcc, which I also was able to compile on 11.23, but with a lot more trouble than building Perl :(
I don't remember of top of my head what problems I ran in to.

So try building from the 5.8.5 source with thread and gcc libs included, the latter even if building with HP C-ANSI-C

DBI-1.43, and DBD-Oracle-1.15 should match

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Michael Simone
Frequent Advisor

Re: Perl/DBI/DBD-Oracle on 11.23

I finally succeeded late last night in getting what appears to be a fully functional Perl 5.8.3/DBI/DBD combination built with GCC. First, I had two GCCs on the system competing with each other. Started from scratch, and found that GCC 3.4.1 caused that symbol error, but 3.3.3 worked just fine. Compiled Perl first (still with cl and pthread), then DBI and DBD, and the rest of my modules. Database access worked fine (was able to run an import job from my production system with no DB errors).

Now I just need to tackle Stronghold and mod_perl.

I'm not sure if what I did is of any help to you, but it seems like Perl 5.8.3 and GCC 3.3.3 are the right combination on Itanium.