develooper Front page | perl.dbi.users | Postings from August 2004

RE: DBD-ORACLE-1.15 on HPUX 11.23 Itanium

Thread Previous | Thread Next
WALKER, Dwight
August 20, 2004 02:00
RE: DBD-ORACLE-1.15 on HPUX 11.23 Itanium
Message ID:
Here is what I needed to do.

1.	Remove any /opt /usr/local version of perl
2.	Ensure that the ANSI C compiler installed
3.	Oracle installed and working correctly.

>>>> here's where I really started today after you new 1.16 version was downloaded <<<<<<

4.	Go through the perl -V and make sure that the following were correctly defined from perl5.8.5 Configure, and where they weren't edit the of the perl 5.8.5 build.

config_args='-des -Ulocincpth= -Uloclibpth= -Duse64bitall -Duselargefiles -Dlibs=-lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc '
ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 '
cppflags='-D__STDC_EXT__ -D_HPUX_SOURCE -D_HPUX_SOURCE -Wl,+vnocompatwarnings '
ldflags ='+DD64 -L/usr/lib/hpux64'
libpth=/usr/lib/hpux64 /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
perllibs=-lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/lib/hpux64'

Without out these every attempt at the DBD-ORACLE.1.16 had the same issues as previously posted.  Its seems that perl 5.8.x is still not Itanium aware.  Most of the libs where pointing to the 32bit versions after Configure had completed.

I get still get 2 tests failing on the perl 5.8.5 make test. 

lib/Net/Ping/t/450_service................# Failed test 9 in ../lib/Net/Ping/t/450_service.t at line 84 *TODO*
#  ../lib/Net/Ping/t/450_service.t line 84 is: ok $p -> ping("");
# Failed test 18 in ../lib/Net/Ping/t/450_service.t at line 143 *TODO*
#  ../lib/Net/Ping/t/450_service.t line 143 is: ok $p -> ack();

lib/ExtUtils/t/recurs.....................#     Failed test (../lib/ExtUtils/t/recurs.t at line 61)
#          got: '256'
#     expected: '0'

These I'll attempt to fix/post on a forum and see how I go.

4.	Install/compile DBI-43
5.	Install DBD-ORACLE-1.16 with the following change to the Makefile.PL

On the DBD-ORACLE-1.16 I needed to add $OH/plsql into the find function in the sub find_headers subroutine.

All the DBD tests then pass.

Response one of the offical maintainers was:

1. I'd personally put -lpthread -lc in_fron of the libs and perllibs list, but that should be OK
2. The ping failure is a known failure, and tells me that you are probably quite up-to-date with the ExtSW HP-UX patches. This test started failing after the December 2003 ExtSW (goldpack) updates. We at perl development have not (had time to) figure out why.
3. I have seen the recurs failure before. I don't think it's vital.
4. It's not "Configure" itself that is Itanium aware. It's "hints/", and I am *_VERY_* eager to see improvements to it to better suit Itanium, since I'm currently the official maintainer of both files. I don't have access to Itanium anymore, now that the spe173 has been removed from the testdrive pool

[*] If anyone can give me ssh access to an Itanium box, with enough disk space and network access, which I can use to build/test/expand Perl, I'd be more than happy to add that to my ports

Feel free to post patches/changes/README-additions/remarks directly to me merijn at procura dot nl, and don't forget a subject. I also have contact with the author of DBI and DBD-Oracle, so valid patches might make it to the next version and improve HP-UX support

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About