[comp.sys.sgi] Emacs on 4D/320S IRIX 3.3?

YATES@C.CHEM.UPENN.EDU ("Yates, John H.") (08/29/90)

I just got emacs dist-18.55 from MIT, but was not successful in
building it on an IRIS 4D/320S, IRIX 3.3 .

I dumped the code on /usr/local/source/emacs/dist-18.55 and down.

Here is the output I currently get (several runs) from build-install:

set EMACS=/usr/local/source/emacs/dist-18.55
set BIN=/usr/local/bin
/bin/sed s;/usr/local/emacs;/usr/local/source/emacs/dist-18.55;
cd etc
make
	cc -o yow -g yow.c -lmld
cd src
make
	make    -f xmakefile  all
	cc -g -Demacs  -I/usr/include/bsd  -c filelock.c
	cc -g -Demacs  -I/usr/include/bsd  -c doc.c
	cc -g -Demacs  -I/usr/include/bsd  -c lread.c
	cc -g -Demacs  -I/usr/include/bsd  -c callproc.c
	ld   -o temacs pre-crt0.o /usr/lib/crt1.o dispnew.o scroll.o xdisp.o 
window.o  term.o cm.o   emacs.o keyboard.o macros.o keymap.o sysdep.o  
buffer.o filelock.o insdel.o marker.o  minibuf.o fileio.o dired.o filemode.o  
cmds.o casefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o 
editfns.o callint.o  eval.o fns.o print.o lread.o  abbrev.o syntax.o 
unexmips.o mocklisp.o bytecode.o  process.o callproc.o   doprnt.o terminfo.o 
lastfile.o alloca.o malloc.o   -lPW -lmld -lcurses   -lbsd -lc /usr/lib/crtn.o
	rm -f ../etc/DOC
	../etc/make-docfile dispnew.o scroll.o xdisp.o window.o  term.o cm.o  
 emacs.o keyboard.o macros.o keymap.o sysdep.o  buffer.o filelock.o insdel.o 
marker.o  minibuf.o fileio.o dired.o filemode.o  cmds.o casefiddle.o indent.o 
search.o regex.o undo.o  alloc.o data.o doc.o editfns.o callint.o  eval.o 
fns.o print.o lread.o  abbrev.o syntax.o unexmips.o mocklisp.o bytecode.o  
process.o callproc.o   doprnt.o ../lisp/simple.elc ../lisp/help.elc
  ../lisp/files.elc ../lisp/window.elc  ../lisp/indent.elc ../lisp/loaddefs.el
 ../lisp/paths.el  ../lisp/startup.elc ../lisp/lisp.elc  ../lisp/page.elc 
../lisp/register.elc  ../lisp/paragraphs.elc ../lisp/lisp-mode.elc 
 ../lisp/text-mode.elc ../lisp/fill.elc  ../lisp/c-mode.elc 
../lisp/isearch.elc  ../lisp/replace.elc ../lisp/abbrev.elc  
../lisp/buff-menu.elc ../lisp/subr.elc ../lisp/version.el > ../etc/DOC
	./temacs -batch -l inc-vers
*** Termination code 138

Stop.
*** Error code 1

Stop.
exit 1


And in SYSLOG there is: Process 27630 [temacs] sent SIGBUS due to VME bus
                        Timeout
                        PC:0x465D84 ep:0xFFFFC0F0

Now, what I did.

I put the path you see above in for EMACS and BIN into build-install.
I put:

#include "s-iris3-6.h"
#include "m-iris4d6.h"

in config.h .

The following is paths.h (build-install supposedly edits this, but the
INSTALL file says it contains targets for the code, yet in fact, it
contains search paths. Something seems inconsistent here.)

/* The default search path for Lisp function "load".
   This sets load-path.  */
#define PATH_LOADSEARCH "/usr/local/source/emacs/dist-18.55/lisp"

/* the extra search path for programs to invoke.
 This is appended to whatever the PATH environment variable says
 to set the Lisp variable exec-path and the first file namein it
  sets the Lisp variable exec-directory.  */
#define PATH_EXEC "/usr/local/source/emacs/dist-18.55/etc"

/* the name of the directory that contains lock files
 with which we record what files are being modified in Emacs.
 This directory should be writable by everyone.
 THE STRING MUST END WITH A SLASH!!!  */
#define PATH_LOCK "/usr/local/source/emacs/dist-18.55/lock/"

/* the name of the file !!!SuperLock!!! in the directory
 specified by PATH_LOCK.  Yes, this is redundant.  */
#define PATH_SUPERLOCK "/usr/local/source/emacs/dist-18.55/lock/!!!SuperLock!!!"

Anybody see the error of my ways? Thanks, John
yates@c.chem.upenn.edu