Change 14895 by jhi@alpha on 2002/02/27 15:12:36
Subject: Re: Smoke 14870
From: "H.Merijn Brand" <[EMAIL PROTECTED]>
Date: Wed, 27 Feb 2002 16:48:35 +0100
Message-Id: <[EMAIL PROTECTED]>
(with some additional garnish)
Affected files ...
.... //depot/perl/README.hpux#23 edit
.... //depot/perl/hints/hpux.sh#77 edit
Differences ...
==== //depot/perl/README.hpux#23 (text) ====
Index: perl/README.hpux
--- perl/README.hpux.~1~ Wed Feb 27 08:30:06 2002
+++ perl/README.hpux Wed Feb 27 08:30:06 2002
@@ -309,6 +309,31 @@
though worldwide HP-UX mirrors of precompiled packages
(e.g. http://hpux.tn.tudelft.nl/hppd/hpux/)
+If you are going to use the HP DCE package, the library used for threading
+is /usr/lib/libcma.sl, but there have been multiple updates of that
+library over time. Perl will build with the first version, but it
+will not pass the test suite. Older Oracle versions might be a compelling
+reason, not to update that library, otherwise please find a newer version
+in one of the following patches: PHSS_19739, PHSS_20608, or PHSS_23672
+
+reformatted output:
+
+ d3:/usr/lib 106 > what libcma-*.1
+ libcma-00000.1:
+ HP DCE/9000 1.5 Module: libcma.sl (Export)
+ Date: Apr 29 1996 22:11:24
+ libcma-19739.1:
+ HP DCE/9000 1.5 PHSS_19739-40 Module: libcma.sl (Export)
+ Date: Sep 4 1999 01:59:07
+ libcma-20608.1:
+ HP DCE/9000 1.5 PHSS_20608 Module: libcma.1 (Export)
+ Date: Dec 8 1999 18:41:23
+ libcma-23672.1:
+ HP DCE/9000 1.5 PHSS_23672 Module: libcma.1 (Export)
+ Date: Apr 9 2001 10:01:06
+ d3:/usr/lib 107 >
+
+
=head2 64-bit Perl on HP-UX
Beginning with HP-UX 11.00, programs compiled under HP-UX can take
@@ -419,11 +444,12 @@
=head1 AUTHOR
Jeff Okamoto <[EMAIL PROTECTED]>
+H.Merijn Brand <[EMAIL PROTECTED]>
With much assistance regarding shared libraries from Marc Sabatella.
=head1 DATE
-Version 0.6.4: 2001-10-09
+Version 0.6.5: 2002-02-27
=cut
==== //depot/perl/hints/hpux.sh#77 (text) ====
Index: perl/hints/hpux.sh
--- perl/hints/hpux.sh.~1~ Wed Feb 27 08:30:06 2002
+++ perl/hints/hpux.sh Wed Feb 27 08:30:06 2002
@@ -409,6 +409,27 @@
if [ -f /usr/lib/libcma.sl ]; then
# DCE (from Core OS CD) is installed
+ # Check if it is pristine, or patched
+ cmavsn=`what /usr/lib/libcma.sl 2>&1 | grep 1996`
+ if [ ! -z "$cmavsn" ]; then
+ cat <<EOM >&4
+
+***************************************************************************
+
+Perl will support threading through /usr/lib/libcma.sl from
+the HP DCE package, but the version found is too old to be
+reliable.
+
+If you are not depending on this specific version of the library,
+consider to upgrade using patch PHSS_23672 (read README.hpux)
+
+***************************************************************************
+
+(sleeping for 10 seconds...)
+EOM
+ sleep 10
+ fi
+
# It needs # libcma and OLD_PTHREADS_API. Also
# <pthread.h> needs to be #included before any
# other includes (in perl.h)
End of Patch.