Author: byterock
Date: Wed Jul 9 08:54:15 2008
New Revision: 11504
Modified:
dbd-oracle/trunk/Changes
dbd-oracle/trunk/Makefile.PL
Log:
Fix for rt.cpan.org Ticket #=37501 fail HP-UX Itanium 11.31 makefile also
added the OS and version to the output of the Makefile.PL for easier debugging.
from John Scoles and Rich Roemer
Modified: dbd-oracle/trunk/Changes
==============================================================================
--- dbd-oracle/trunk/Changes (original)
+++ dbd-oracle/trunk/Changes Wed Jul 9 08:54:15 2008
@@ -1,6 +1,8 @@
=head1 Changes in DBD-Oracle 1.22(svn rev xxxx) 2008
+ Fix for rt.cpan.org Ticket #=37501 fail HP-UX Itanium 11.31 makefile also
added the OS and version to the output of the Makefile.PL for easier debugging.
from John Scoles and Rich Roemer
+ Added a number of internal functions for decoding OCI debug values from John
Scoles
Fix for hpux 11.23 linker error unrecognized argument on the Makefile from
someone on CPAN forum
- Added fetch by piece for lobs, fixed persistent lobs and changed to pod to
reflect the changes
+ Added fetch by piece for lobs, fixed persistent lobs and expansed thier
usage for LONG and LONG RAW and changed to pod to reflect the changes from John
Scoles
Added comment to POD on case sensitivity of ORACLE environment variables
suggested by Gerhard Lausser
Added patch to fix a number of harmless, but annoying, GCC warnings from
Eric Simon
Added (finally) ora_verbose for DBD only tracking from John Scoles and
thanks to H.Merijn Brand
Modified: dbd-oracle/trunk/Makefile.PL
==============================================================================
--- dbd-oracle/trunk/Makefile.PL (original)
+++ dbd-oracle/trunk/Makefile.PL Wed Jul 9 08:54:15 2008
@@ -155,7 +155,8 @@
or -d "$OH/lib/." # normal Oracle installation
or glob("$OH/libclntsh.$so*") # pre-sdk instant client or rpm
or -e "$OH/oci.dll"; # Windows Instant Client
-
+
+print "Installing on a $os, Ver#$osvers\n";
print "Using Oracle in $OH\n";
# $client_version => Major.Minor, $client_version_full => Major.Minor.X.Y.Z
@@ -1787,8 +1788,8 @@
$m = "NMEDIT = nmedit\n" . $m .
"\t\$(NMEDIT) -R ./hints/macos_bundle.syms
\$(INST_DYNAMIC) || true\n";
}
- elsif ($os eq 'hpux') {
- $m =~ "s/LD_RUN_PATH=(\S+)\s+(\S+)/$2 -Wl,+b $1/";
+ elsif (($os eq 'hpux') and ($osvers <11)) {
+ $m =~ s/LD_RUN_PATH=(\S+)\s+(\S+)/$2 -Wl,+b $1/;
}
return ($m);