[gnu.emacs.bug] EMACS installation on an NCR Tower/32

ra@is.uu.no (Robert Andersson) (02/16/89)

The following sums up what I did when getting emacs 18.51 up and
running on an NCR Tower/32 running NCR System V.2 release 1.03.02.
The 18.51 release was as received on a tape directly from the FSF.

build-install:
	o  Change shellname in first line to /usr/ucb/csh
	o  Set EMACS and BIN to the right directories,
           I used /usr/src/local/emacs and /usr/lbin.
        o  I view the following as a bug in the EMACS distribution:
	   (cd etc; make) || exit 1
           (cd src; make) || exit 1
           These lines should be changed to use && rather than ||

Makefile:
	o  Set LIBDIR, BINDIR and MANDIR to the right directories,
	   I used /usr/src/local/emacs, /usr/lbin and /usr/catman/local/man1 
           If you don't have a /usr/catman/local/man1 you should mkdir one.

src/config.h:
	o  #include s-usg5-2-2.h and m-tower32.h
	o  #define HAVE_SYSVIPC if you included SYS V message
           handling code when configuring the kernel.

etc/Makefile:
	o  CFLAGS = -O  

src/ymakefile:
	o  If you set CFLAGS = C_OPTIMIZE_SWITCH, see below for a
           required change in src/m-tower32.h

src/s-usg5-2-2.h:
	o  I view the following as an omission in the FSF distribution:
           #define BSTRING
	   #define bcopy(a, b, s) memcpy(b, a, s)
	   #define bzero(a, s)    memset(a, 0, s) 
 	   #define bcmp           memcmp
  
src/m-tower32.h:
           /* With CFLAGS = C_OPTIMIZE_SWITCH in src/ymakefile */
           #define CRT0_DUMMIES

           /* With CFLAGS = C_DEBUG_SWITCH in src/ymakefile */
           #define CRT0_DUMMIES zero, bogus_fp,  

lisp/site-init.el:
        o  (setq manual-formatted-dirlist (list
	   "/usr/catman/u_man/man1" "/usr/catman/u_man/man6"
	   "/usr/catman/p_man/man2" "/usr/catman/p_man/man3"
	   "/usr/catman/p_man/man4" "/usr/catman/p_man/man5"
	   "/usr/catman/a_man/man1" "/usr/catman/a_man/man7"
	   "/usr/catman/a_man/man8" "/usr/catman/local/man1"
	   "/usr/catman/local/man2" "/usr/catman/local/man3"
	   "/usr/catman/local/man4" "/usr/catman/local/man5"
	   "/usr/catman/local/man6" "/usr/catman/local/man7"
	   "/usr/catman/local/man8"))

lisp/lpr.el:
	o  You should get a new version of this one. I have seen a
           couple posted on the net recently. The one in the
           distribution does not work for System V machines.

/usr/catman/local/man1:
	   mv emacs.1 emacs.nr
           nroff -man emacs.nr > emacs.1
           rm emacs.nr
           pack emacs.1

 
Hope this was useful for someone.
-- 
Robert Andersson, International Systems, Oslo, Norway
Internet:         ra@is.uu.no
UUCP:             ...!{uunet,mcvax,enea,ifi}!is.uu.no!ra