Mailing List Archive

perl5.001m fails to build on svr3.2.3
I sent this a while ago, but this perlbug place seems better. You
probably know all about this (though I didn't find it in the database) ...

--- Forwarded mail from <gebha@dr.att.com> ("Bob Gebhardt")

From: "Bob Gebhardt" <gebha@dr.att.com>
Date: Fri, 7 Jul 1995 10:05:55 -0600
To: lwall@netlabs.com
Subject: Building perl5.001m on svr3.2.3
Bcc: gebha

For what it's worth, I just built perl5.001m on

ssa30 ssa30 3.2 2.3 i386

(USLs 3.2.3 UNIX) and needed to make two changes.

pp_sys.c couldn't find sockaddr_in and EWOULDBLOCK, so I did this ...

*** pp_sys.c Fri Jul 7 07:47:56 1995
--- perl5.001m/pp_sys.c Thu May 25 15:06:55 1995
***************
*** 34,60 ****
# define vfork fork
#endif

#if defined(HAS_SOCKET) && !defined(VMS) /* VMS handles sockets via
vmsish.h */
# include <sys/socket.h>
# include <netdb.h>
# ifndef ENOTSOCK
# ifdef I_NET_ERRNO
# include <net/errno.h>
# endif
- # ifndef I_NETINET_IN /* rwg */
- # include <sys/inet.h> /* to get EWOULDBLOCK */
- # endif /* rwg */
# endif
- # ifndef I_NETINET_IN /* rwg */
- # include <sys/in.h> /* to get sockaddr_in
*/
- # endif /* rwg */
#endif

#ifdef HAS_SELECT
#ifdef I_SYS_SELECT
#ifndef I_SYS_TIME
#include <sys/select.h>
#endif
#endif
#endif

--- 34,54 ----

doio.c couldn't find ENOTSOCK, so I did this ...

*** doio.c Fri Jul 7 07:46:08 1995
--- perl5.001m/doio.c Fri Jun 2 10:00:23 1995
***************
*** 43,65 ****
#include <sys/file.h>
#endif

#if defined(HAS_SOCKET) && !defined(VMS) /* VMS handles sockets via
vmsish.h */
# include <sys/socket.h>
# include <netdb.h>
# ifndef ENOTSOCK
# ifdef I_NET_ERRNO
# include <net/errno.h>
# endif
- # ifndef I_NETINET_IN /* rwg */
- # include <sys/inet.h> /* to get ENOTSOCK */
- # endif /* rwg */
# endif
#endif

bool
do_open(gv,name,len,supplied_fp)
GV *gv;
register char *name;
I32 len;
FILE *supplied_fp;
{
--- 43,62 ----

I couldn't build the POSIX stuff, but all other tests pass.



--

Robert W. Gebhardt
AT&T Global Business Communications Systems
11900 N. Pecos St.
Denver, CO 80234

gebha@dr.att.com

Phone: 303-538-4726
FAX: 303-538-3564


---End of forwarded mail from <gebha@dr.att.com> ("Bob Gebhardt")