DBD for Oracle.  I sent out an email to the users group here a week or so
ago with my details and really didn't get a response.  I am in a complete
state of confusion.  I am literal out of ideas.  

My old email follows (ENVIRONMENT - HPUX 11.00 (64BIT) USING ORACLE 7.3.4 OR
ORACLE 8.1.7 (TRIED BOTH), ANSI/C COMPILER, PERL BUILT ACCORDING TO
README.hpux (Please see perl -V in my original message)):


Background:

At first I tried to build my environment with GCC and failed miserably.  I
had my management purchase the real ANSI/C compiler development kit from HP
so I can get this task accomplished.

I built Perl 5.6.1 using the recommendations laid out by the README.hpux
file bundled with the DBD source code.  I ensured that I followed the
Author's instructions to the letter (adding -lcl -lpthread first in the list
of additional libraries, adding +z in the ccflags and etc).  When I ran a
make test, everything PASSED.

I proceeded to build DBI 1.20.  Everything seems to work fine.  All tests
are successful and it connects/disconnects several times without failure.  I
install DBI at this point.

I then I build DBD. I used to get core dumps using gcc but now with my brand
spanking new c compiler I get this:

t/general...........DBI->connect() failed: ORA-12157: TNS:internal network
communication error (DBD: login failed) at t/general.t line 20
Unable to connect to Oracle (ORA-12157: TNS:internal network communication
error (DBD: login failed))

I have gone over all the readmes I can.  I believe I am following all the
instruction to the letter and I am just spinning wheels.  Has anyone got
this to work with HP-UX 11?  Does anyone have any clue how to get these
tests to pass?  I have played with the oracle environment variables with no
success.  I don't belive this is a problem because I built this same stuff
on a 10.20 box without problems.  I can connect to oracle without problems
using sqlplus.  Please help!  I have been stuck here for 3 weeks!  

I also get this bit of interesting information as well when I look at the
output from perl Makefile.PL when making DBD:


Warning: Stripping -lcl from the link flags, because it
         seems to conflict with -l:libcl.a

I built my perl with the -lcl flag and the -lpthread because that is what
the README.hpux file said.  Not sure why DBD make files want to strip it but
perhaps this is nothing.

Any assistance would help. If you need more info please DON'T HESITATE to
ask ....

Mike

-----Original Message-----
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 4:00 PM
To: Gretton, Michael , , WHS/PSD
Cc: [EMAIL PROTECTED]
Subject: Re: **Thought DBI was Compiled okay - I was wrong **


On Thu, 18 Oct 2001, Gretton, Michael , , WHS/PSD wrote:

> Compiling the latest DBI on my HP-UX 64BIT machine with HP's ANSI C
> Compiler.  I have been having problems getting DBD to work.  In
> troubleshooting, I went back to make sure DBI was working correctly.
> Perhaps not.  When I do the make test with the VERBOSE on, I get this.
> Please note the failures way down in this email (they are hard to see but
> they are there).  Any clue what is going on?  My perl build information
> follows between the "=======".  Thank you all,

Actually, all of your tests passed, going by your output.  There are some
tests done against the Proxy server, but since you don't have the required
modules installed on your system, it skips those tests (it's an optional
part of the DBI installation).  I got the exact same thing on Linux when I
was installing the latest DBI recently.  What is the DBD you are trying to
get to work?

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
Love is what you've been through with somebody.
                -- James Thurber

Reply via email to