Subject: Building under Perl 4.036 on not-quite-current.
To: <>
From: Michael Richardson <mcr@Sandelman.OCUnix.on.ca>
List: current-users
Date: 06/15/1994 01:36:56
  I ftp'ed binaries and sources from ftp.iastate.edu, and rebuilt
kernel+sbin+bin+usr.sbin+share-lib from the sources [yes, I installed
includes first -- I haven't gotten round to /usr/bin or /usr/libexec,
which *is* causing some problems, e.g. netstat, but I'm aware of those]
  Things were ftp'ed around June 1st.

  I'm trying to build perl 4.036. No luck.
  First, I got bitten by the ALIGNBYTES macro. machine/param.h defines
it to sizeof(int)-1, and Perl winds up using the macro to be
sizeof(int) [4].
  I fixed that. Now I'm getting bit by the macro "AF_LOCAL"!

In file included from doio.c:55:
/usr/include/sys/socket.h:96: warning: `AF_LOCAL' redefined
arg.h:685: warning: this is the location of the previous definition
doio.c: In function `do_open':
doio.c:294: warning: passing arg 2 of `getsockname' from incompatible pointer type
... more.

  Most of these look like problems with perl. Does someone have a set
of patches to apply to it to make things work nicely? I'm going to
post to comp.lang.perl in a moment.

-- 
   :!mcr!:            |  "Elegant and extremely rapid for calculation are the 
   Michael Richardson | techniques of Young tableaux. They also have the merit
 mcr@ccs.carleton.ca /of being fun to play with." - p.47 Intro to Quarks&Partons
 mcr@sandelman.ocunix.on.ca

------------------------------------------------------------------------------