[comp.lang.perl] compiling perl patch 10 on HPUX

sherman@unx.sas.com (Chris Sherman) (06/19/91)

For those who have HPUX on their HP 9000/3xx or 9000/7xx, here is what I did
to get perl to pass its tests:

HP 9000/700:

  o  Use perl's malloc.  Otherwise, op/pat will fail test 44-47.

  (Personal note:  The 700's compile all of perl in about 8 minutes.)

HP 9000/300:

  o  Use perl's malloc.  Otherwise you get dbm 'Out of Memory' errors.
  o  Don't test perl over nfs mounts, otherwise op/read will fail test 3. 


I also had one other problem:
When I used perl's malloc, x2p would not compile because it couldn't find
the malloc.o file.  I did a simple ln -s ../malloc.o malloc in the x2p 
directory, and that took care of it.
--
Chris Sherman .................... sherman@unx.sas.com   |
              ,-----------------------------------------'
             /  Q:  How many IBM CPU's does it take to execute a job?
            |   A:  Four; three to hold it down, and one to rip its head off.

edwin@cs.ruu.nl (Edwin Kremer) (06/19/91)

In <sherman.677300831@foster> sherman@unx.sas.com (Chris Sherman) writes:

   | For those who have HPUX on their HP 9000/3xx or 9000/7xx, here is
   | what I did to get perl to pass its tests:
   | 
   | HP 9000/300:
   |   o  Don't test perl over nfs mounts, otherwise op/read will fail test 3. 

Ah, the well-known lseek bug over NFS... ;-)
HP has a patch for this one, for both the series 300/400 and series 800.
I  don't  know the patch-id (they never told me), but here's part of the
README file that came with the patch and might be helpful to  track  the
right patch.

______________________________________________________________________________
	This patch to libnfs.a fixes two known NFS client
	problems in the 7.0 release of HP-UX:

	1)  If the file offset is explicitly set to beyond the end of
	    an NFS file, for instance, through lseek(), then subsequent
	    read() operations on that file will not return 0 to indicate
	    an end-of-file condition, but will rather return garbage data.

	2)  If file size ulimit is reached when extending or writing an
	    NFS file, the system will loop forever instead of returning
	    an EFBIG error.
------------------------------------------------------------------------------


			hope this helps,
						--[ Edwin ]--
-- 
Edwin Kremer, systems and network administrator.  [NIC-Whois handle: EHK3]
     Department of Computer Science,  Utrecht University,  The Netherlands
     Email: edwin@cs.ruu.nl  | UUCP to: ...!uunet!mcsun!hp4nl!ruuinf!edwin

hsiegel@cvbnet.prime.com (mailhost) (06/20/91)

I keep seeing references to perl patch 10 -- and yet, all I've seen
come across the net at my establishment are patches 4-9.

Is there a patch 10?  If not, what are people talking about?  If so,
and I'm the only one not to see it, please Email it to me; else,
perhaps a re-post would be useful.

Howard Siegel                   hsiegel@clavier.prime.com
Prime/Computervision            hsiegel@primerd.prime.com
Bedford, Mass.                  hsiegel%clavier.prime.com@RELAY.CS.NET
(617) 275-1800 x4064            cvbnet!hsiegel@primerd.prime.com