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

Reply via email to