Operating System - HP-UX
1753857 Members
7424 Online
108809 Solutions
New Discussion юеВ

Re: HP-UX 11.00, Oracle 9i, 64 bit, Perl, DBI and DBD, HOWTO

 
SOLVED
Go to solution
Matthias Nolte
New Member

HP-UX 11.00, Oracle 9i, 64 bit, Perl, DBI and DBD, HOWTO

Hello everybody,
I have problems to install the DBI and DBD modules, I have read a lot of messages, found a solution at wttp://www.beepz.com/personal/merijn/
but I don't know how I must install the binaries. Does somebody have an HOWTO ?

Thanks in advance and Best Regards
Matthias
7 REPLIES 7
Steve Steel
Honored Contributor

Re: HP-UX 11.00, Oracle 9i, 64 bit, Perl, DBI and DBD, HOWTO

Hi


Try

http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,5672,00.html



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Matthias Nolte
New Member

Re: HP-UX 11.00, Oracle 9i, 64 bit, Perl, DBI and DBD, HOWTO

I have tried this procedure, but I have problem with the make of the DBI :

mycomputer:/DBI-1.42> make
cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+
vnocompatwarnings +DD64 -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=6
4 -fast +Onolimit +Opromote_indirect_calls -DVERSION=\"1.42\" -DXS_VERSION=\
"1.42\" +Z "-I/opt/perl_64/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/CORE" DBI.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 422: Unknown option "f" ignored.
(Bundled) cc: warning 422: Unknown option "a" ignored.
(Bundled) cc: error 1400: Option t usage: -t c,name where c may be 1 or more of
pc0al.
(Bundled) cc: warning 480: The +Opromote_indirect_calls option is available only
with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C pro
duct; ignored.
cpp: "/opt/perl_64/lib/5.8.2/PA-RISC2.0-thread-multi-LP64/CORE/perlio.h", line 1
08: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1

Stop.

It seems, that I don't have the correct compiler .....
Jeff_Traigle
Honored Contributor

Re: HP-UX 11.00, Oracle 9i, 64 bit, Perl, DBI and DBD, HOWTO

Looks like you're trying to use the bundled C compiler. You need the ANSI/C compiler to do the compilation of the perl modules. It's a licensed product that you must pay for.
--
Jeff Traigle
H.Merijn Brand (procura
Honored Contributor

Re: HP-UX 11.00, Oracle 9i, 64 bit, Perl, DBI and DBD, HOWTO

If you install the perl binary from my site (look at the 64bit versions for your maching architecture), it already includes DBI

If you then want to add DBD-Oracle, you will also need the matching gcc binary distribution that is also available from my site.

The cc you use right now is only for rebuilding the kernel and is incapable of doing much more than that.

Please do NOT use beepz for downloading perl or gcc. Use the LA mirror on http://mirrors.develooper.com/hpux/

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Matthias Nolte
New Member

Re: HP-UX 11.00, Oracle 9i, 64 bit, Perl, DBI and DBD, HOWTO

Hi H. Merijn,
I tried this solution in the past, but how I must install the binaries, do you have an HOWTO ?

Thanks
Matthias
H.Merijn Brand (procura
Honored Contributor
Solution

Re: HP-UX 11.00, Oracle 9i, 64 bit, Perl, DBI and DBD, HOWTO

It's on the main page ...

In the Perl section:
--8<---
To install it, do something similar to:

# cd /opt
# bzip2 -d
And add /opt/perl64/bin to your $PATH, preferably in /etc/PATH.
-->8---
Replace 5.8.3-gcc-3.3.2 with 5.8.5-gcc-3.4.1 if you fetched the lastest build

In the gcc section:
--8<---
The 3.4.1 version of gcc available in the download section includes binutils 2.15 and gdb-6.1.1. Install it like this:

# cd /usr/local
# bzip2 -d < /var/tmp/gcc-3.4.1-64-11.00-elf64.tbz | tar xf -

And add /usr/local/pa20_64/bin to your $PATH, preferably in /etc/PATH.
-->8---

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Matthias Nolte
New Member

Re: HP-UX 11.00, Oracle 9i, 64 bit, Perl, DBI and DBD, HOWTO

IT WORKS :-)

THX
Matthias