[comp.lang.perl] patch 7 /usr/include/utime.h - same problem under HP/UX

pcn@daimi.dk (Peder Chr. N|rgaard) (12/29/89)

The same problem is manifest under HP/UX, and the solution offered by
Steve Hayman will work there, too.

Happy Christmas


--
Peder Chr. Norgaard                ****                pcnorgaard@daimi.dk 
              Computer Science Department,  Aarhus University
               Ny Munkegade 116,  DK-8000 Aarhus C,  DENMARK
phone: +45 86 12 71 88 / telefax: +45 86 13 57 25 / telex: 64767 aausci dk

wrwalke@uunet.uu.net (William Walker) (01/03/90)

which HP and which version of HP/UX.  my utime.h did not give me any problems
through patchlevel 8.  the only problem i have is with syscall().  HP/UX
version 7.0 is on the way, so maybe they got it right this time.  *dir()
routines are still a bit flakey, haven't had the chance to track it down yet
(or get doug's dir stuff  8-)).

bill.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
       William Walker   ---   wrwalke@prcrs.UUCP   ---   530N-3  x-2565
 NO Santa Claus, I said Mickey Mouse Phone, not IBM-PC Clone.  Oh well, there
                    isn't really THAT much difference.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

brian@hpausla.aso.hp.com (Brian Coogan) (01/03/90)

Bill Walker <mmdf@uvaarpa.HP.COM> writes in comp.lang.perl:
> which HP and which version of HP/UX.  my utime.h did not give me any problems
> through patchlevel 8.  the only problem i have is with syscall().  HP/UX
> version 7.0 is on the way, so maybe they got it right this time.  *dir()
> routines are still a bit flakey, haven't had the chance to track it down yet
> (or get doug's dir stuff  8-)).

You didn't say which version of HP-UX you have either.  The way the
patchlevel 8 Configure works, if you have a utime.h it is assumed that
you also have acusec and modusec fields in your utime structure.  You
must not have a utime.h or you wouldn't have been able to compile
without fixing it!  :-) Later versions of HP-UX do have the utime.h file.

If "doug's dir stuff" means Doug Gwyn's directory routines, these are
unnecessary on later versions of HP-UX, as they are provided in libc.

The syscall problem can be worked around by adding s800fix.a to the
list of required libraries and creating s800fix with:
	ar xv /lib/libc.a cerror.o syscall.o
	ar cv s800fix.a cerror.o syscall.o
This works around a bug in syscall.o (fixed in 7.0) on the s800 (a short
jump target was used instead of a long one).

pcn@daimi.dk (Peder Chr. N|rgaard) (01/03/90)

prcrs!wrwalke@uunet.uu.net (William Walker) writes:


>which HP and which version of HP/UX.  my utime.h did not give me any problems
>through patchlevel 8.  

Sorry, should have mentioned:  The problem is manifest on our HP 9000/3xx
workstations under HP/UX 6.5, perl patchlevel 8.  The mere existence of
the /usr/include/utime.h file triggers the error.  Which is very easy to
solve, as mentioned in the news from Steve Hayman <32017@iuvax.cx.indiana.edu>.

Happy New Year.

--
Peder Chr. Norgaard                ****                pcnorgaard@daimi.dk 
              Computer Science Department,  Aarhus University
               Ny Munkegade 116,  DK-8000 Aarhus C,  DENMARK
phone: +45 86 12 71 88 / telefax: +45 86 13 57 25 / telex: 64767 aausci dk

wrwalke@uunet.uu.net (William Walker) (01/05/90)

oops, that is one of the problems with working on no sleep, running screen,
and being logged into too many different machines.  i didn't check the right
machinge for utime.h.  apologies.

brian@hpausla.aso.hp.com writes:
|You didn't say which version of HP-UX you have either.  The way the
|patchlevel 8 Configure works, if you have a utime.h it is assumed that
|you also have acusec and modusec fields in your utime structure.  You
|must not have a utime.h or you wouldn't have been able to compile
|without fixing it!  :-) Later versions of HP-UX do have the utime.h file.

and as for my machine and version, ==>
HP/UX 3.10
HP9000/850
  64 M RAM
~180 M swap
Perl version 3, patchlevel 8

|If "doug's dir stuff" means Doug Gwyn's directory routines, these are
|unnecessary on later versions of HP-UX, as they are provided in libc.

the dir() routines problem i have is more hpux than perl related, but if you 
would like to drop me a line about that one, i would be glad to have some
help tracking it down.  my service rep is VERY good, i don't want this
showing bad on hp, i like their equipment and service.  yes, the dir routines
are there, they just aren't behaving as expected under a few conditions.  my
easiest way out is to install doug's dir routines as a temporary work-around
until i have the time to really dig into it.

thanks again to larry.
bill.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   William Walker   ---   wrwalke@prcrs.UUCP   ---   530N-3  (703) 556-2565
 NO Santa Claus, I said Mickey Mouse Phone, not IBM-PC Clone.  Oh well, there
                    isn't really THAT much difference.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=