Operating System - HP-UX
1753495 Members
4469 Online
108794 Solutions
New Discussion юеВ

Re: Perl DBI & Perl DBD for Oracle

 
SOLVED
Go to solution
MANOJ SRIVASTAVA
Honored Contributor

Re: Perl DBI & Perl DBD for Oracle

Hi John

I think this will take you back to reinstallation of perl itself , where in you ahve to specify -I/usr/include before the substituions , can you attach perl -V o/p so that I can look at the env you used to install perl. I am attaching perl -V from my system where in it suceeded in installing DBD and DBI.

Also when u untar DBI file please do read readme.hpux .

Manoj Srivastava
John McDen
Regular Advisor

Re: Perl DBI & Perl DBD for Oracle

Procura,

When I ran the command swlist -l bundle -l product | grep X11
This is the result I got so I guess it's not Devl ver.

HPUXEng64RT.X11 B.11.00 HP-UX X Window Software
XSWGR1100.PHSS_15840 1.0 X11 64 bit runtime cumulative patch
New to HP
H.Merijn Brand (procura
Honored Contributor

Re: Perl DBI & Perl DBD for Oracle

/Can/ you install the devkit? It might be that even if you can install the include files from whoever is willing to tgz them to you, you'll still miss some links and libs
Enjoy, Have FUN! H.Merijn
John McDen
Regular Advisor

Re: Perl DBI & Perl DBD for Oracle

Hello

I got the binary from

http://www.perltk.org/binaries/index.htm

where should I install this I have no clue??

I really appreciate your help (all of them)

New to HP
H.Merijn Brand (procura
Honored Contributor

Re: Perl DBI & Perl DBD for Oracle

:)))) Did you get the version from H.M.Brand? (shhh that's me)

I can't remember where it's root is, but I expect it tyo go like:


# cd /opt/lib/perl5
# gzip -d < 800.022-HPUX-11.00-hppa2.0.tar.gz | tar xvf -

The .tar.gz will install in the subfolder 'site_perl' from the current location, so just check if there is a subfolder site_perl where you are going to extract (There /should/ be one already)

That's all there is to it :)
Hope it fits with your perl port, because it's a version built with HP C-ANSI-
Enjoy, Have FUN! H.Merijn
H.Merijn Brand (procura
Honored Contributor

Re: Perl DBI & Perl DBD for Oracle

And BTW I think I earn /some/ points in this thread. I have to catch up with Clemens :)

N/A
Enjoy, Have FUN! H.Merijn
John McDen
Regular Advisor

Re: Perl DBI & Perl DBD for Oracle

Any idea why I am getting this error when trying to install Perl DBI

Can't locate loadable object for module Tk::Event in @INC (@INC contains: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/
5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .) at /opt/perl/li
b/site_perl/5.6.1/PA-RISC1.1-thread-multi/Tk.pm line 13
Compilation failed in require at /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/Tk.pm line 13.
BEGIN failed--compilation aborted at /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/Tk.pm line 13.
Compilation failed in require at orac_dba.pl line 39.
BEGIN failed--compilation aborted at orac_dba.pl line 39.

Thanks for your help
New to HP
H.Merijn Brand (procura
Honored Contributor

Re: Perl DBI & Perl DBD for Oracle

Just finished uploading http://www.xs4all.nl/~procura/800.024-HPUX-11.00-hppa1.1-gcc.tgz which should fit to the perl as shipped with HP

# cd /opt/perl
# gzip -d < /tmp/800.024-HPUX-11.00-hppa1.1-gcc.tgz | tar xf -

rebuilt both perl-5.6.1 and Tk with gcc-3.0.4/32 on 11.00

Done.
Enjoy, Have FUN! H.Merijn