From: Jeff McDougal Date: Tue, 3 Dec 1996 13:33:05 +0000 (-0500) Subject: BUG in hints/hpux.sh X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=57560dc7335aaed00185c3cccea22fe709754f18;p=p5sagit%2Fp5-mst-13.2.git BUG in hints/hpux.sh Tom, I was not able to run the Configure script on my new HP D-server running HP-UX 10.01. The problem was a single line in the hints/hpux.sh file: xxcontext=`grep $(printf %#x $(getconf CPU_VERSION)) /usr/include/sys/unistd.h` I commented this line out and inserted the following to get a clean execution under the Bourne shell: DECCPU=`getconf CPU_VERSION` HEXCPU=`printf %#x ${DECCPU}` xxcontext=`grep $HEXCPU /usr/include/sys/unistd.h` I am very happy to have Perl 5.003 on my new development box. Jeff McDougal p5p-msgid: <32A42C11.7FA2@cris.com> --- diff --git a/hints/hpux.sh b/hints/hpux.sh index b543ec4..3ac43ff 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -8,7 +8,7 @@ # hints/hpux_10.sh, Perl Configure hints file for Hewlett Packard HP-UX 10.x # From: Giles Lean -# This version: October 29, 1996 +# This version: December 4, 1996 # Use Configure -Dcc=gcc to use gcc. # Use Configure -Dprefix=/usr/local to install in /usr/local. @@ -51,7 +51,8 @@ xxuname=`uname -r` if echo $xxuname | $contains '10' then # This system is running 10.0 - xxcontext=`grep $(printf %#x $(getconf CPU_VERSION)) /usr/include/sys/unistd.h` + xxcpu=`printf %#x \`getconf CPU_VERSION\`` + xxcontext=`grep "$xxcpu" /usr/include/sys/unistd.h` if echo "$xxcontext" | $contains 'PA-RISC1.1' then archname='PA-RISC1.1'