Subject: Re: Pine 3.92 on BSDI ?

From: [email-masked] (Rich Wales)
Date: 21 Mar 1996 17:19:05 -0500

[email-masked] (Jason R. Mastaler) wrote:

	Has anyone been able to build the Pine 3.92 distribution
	under BSD/OS 2.0?  One of the supported build target
	platforms is "bsi" (BSDi BSD/386), but an attempted build
	fails on my BSD/OS machine badly.  Any hints, or patches
	I should know about?  Thanks.

I managed to get Pine 3.92 to build under BSD/OS 2.01 and 2.1 just now,
after making several minor changes (see below).

I no longer have access to a BSDI 1.x system, but my recollection (from
earlier build efforts) is that the changes I made here were =not= needed
for that older system.  Since there are still lots of people out there
running BSDI 1.x, the best solution may be for Pine to support two tar-
gets (one for 1.x, another for 2.x).

Rich Wales <[email-masked]>
http://yank.kitchener.on.ca/~richw/

========================================================================

*** 1.1	1996/03/21 21:11:45
--- pico/os_unix.c	1996/03/21 21:26:16
***************
*** 1313,1319 ****
  errstr(err)
  int err;
  {
! #ifndef	neb
      extern char *sys_errlist[];
  #endif
      extern int  sys_nerr;
--- 1313,1319 ----
  errstr(err)
  int err;
  {
! #if !defined(neb) && !defined(BSDI)
      extern char *sys_errlist[];
  #endif
      extern int  sys_nerr;
*** 1.1	1996/03/21 21:20:58
--- pico/os_unix.h	1996/03/21 21:26:19
***************
*** 100,106 ****
  /*
   * type qsort() expects
   */
! #if	defined(nxt) || defined(neb)
  #define	QSType	  void
  #define QcompType const void
  #else
--- 100,106 ----
  /*
   * type qsort() expects
   */
! #if	defined(nxt) || defined(neb) || defined(BSDI)
  #define	QSType	  void
  #define QcompType const void
  #else
*** 1.1	1996/03/21 21:38:59
--- pine/osdep/os-bsi.ic	1996/03/21 21:39:25
***************
*** 1,5 ****
  ;
! ; NeXT os-nxt.ic file for building os-nxt.c.
  ;
  ; Boilerplate header.
  include(header)
--- 1,5 ----
  ;
! ; NeXT os-bsi.ic file for building os-bsi.c.
  ;
  ; Boilerplate header.
  include(header)
***************
*** 91,97 ****
  ; called err_desc.dos is the same except that it doesn't declare the
  ; variable sys_errlist[], which is already declared.  There
  ; is also a version called err_desc.hom which is unused.
! include(err_desc)
  
  ; There are six functions in this include.  They are get_system_login,
  ; get_system_fullname, get_system_homedir, get_system_passwd, gcos_name,
--- 91,97 ----
  ; called err_desc.dos is the same except that it doesn't declare the
  ; variable sys_errlist[], which is already declared.  There
  ; is also a version called err_desc.hom which is unused.
! include(err_desc.dos)
  
  ; There are six functions in this include.  They are get_system_login,
  ; get_system_fullname, get_system_homedir, get_system_passwd, gcos_name,
*** 1.1	1996/03/21 21:14:33
--- imap/ANSI/c-client/Makefile	1996/03/21 21:14:48
***************
*** 110,116 ****
  bsi:	# BSD/i386
  	$(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
  		STDPROTO=bezerkproto MAILSPOOL=/var/mail \
! 		ACTIVEFILE"/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
  		RSHPATH=/usr/bin/rsh CFLAGS="-g -O -pipe -DNFSKLUDGE $(EXTRACFLAGS)"
  
  cvx:	# Convex
--- 110,116 ----
  bsi:	# BSD/i386
  	$(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
  		STDPROTO=bezerkproto MAILSPOOL=/var/mail \
! 		ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
  		RSHPATH=/usr/bin/rsh CFLAGS="-g -O -pipe -DNFSKLUDGE $(EXTRACFLAGS)"
  
  cvx:	# Convex

========================================================================

Rich Wales <[email-masked]>
http://yank.kitchener.on.ca/~richw/

---

From: [email-masked] (Jason R. Mastaler)
Date: 20 Mar 1996 14:46:11 -0500

Has anyone been able to build the Pine 3.92 distribution under BSD/OS
2.0?  One of the supported build target platforms is "bsi" (BSDi 
BSD/386), but an attempted build fails on my BSD/OS machine badly.  
Any hints, or patches I should know about?  Thanks.

-- 
Jason R. Mastaler                                     [email-masked] 
Cadmus Interactive                                    http://www.CADMUS-I.COM/