d3e129@EMS21.MSRC1.PNL.GOV (10/04/90)
Hello info-gnu-emacs, We are a group of fortran programmers with somewhat limited experience as managers of machines. I recently brought over the 18.55 version of GNU emacs. I have successfully installed this on a series of sun sparcstation 330, sparc 1 and 1+ machines, with no problems or glitches at all. everything works great. We also have several silicon graphics personal iris machines 4D1. The operating system on the SGI's is version number 3.3.1 I have built the config.h file according to the only possiblities in the ../etc/MACHINES file as s-iris3-6.h and m-iris4d.h. (note: I also have tried the s-iris3-5.h include file that works with OS 2.5?? and m-irist.h gave many errors at the compilation stage). I don't get any errors in the compilation stage with the former config.h but when xmakefile issues the command: "./temacs -batch -l inc-ver" it returns an error: "*** Termination code 9" which unfortunately helps me little in finding the problem. The SYSLOG file shows that temacs terminates because it ran out of "memory/swap" space. The memory is 16 Mbytes and swap is at 80 Mbytes (needed for other software). I doubt seriously that emacs needs this much room since the sun configurations for the 1+ machines are much smaller than this. I really think I must be doing something stupid because every version of GNU emacs that I have installed before has worked pretty much the first time. Anyone have this version running on similar hardware???? Any help/advice would be greatly appreciated. Thanks in advance, Rick A. Kendall <internet: d3e129@pnlg.pnl.gov> Senior Research Scientist Mail Stop K2-18 Molecular Science Research Center Pacific Northwest Laboratory Richland, WA 99352 Phone: (509) 375-2602 Fax: (509) 375-6916
jayavant@hpfcdj.HP.COM (Rajeev Jayavant) (10/11/90)
The problem you are running into is that SGI defines getcwd() in terms of getwd() in IRIX 3.3. Emacs, on the other hand, defines getwd() in terms of getcwd() unless you #define HAVE_GETWD. The result is that the temacs you built goes into an infinite recursion when getwd() is called. My fix to the problem is to go into the src directory, copy s-iris3-6.h to s-irix-3.3.h and add the following lines to it: /* IRIX 3.3 defines getcwd() as a function of getwd(). We get a recursive definition if we try to define a getwd() in terms of getcwd()! */ #define HAVE_GETWD Then modify your config.h to use s-irix-3.3.h and rebuild! Rajeev ------------------------------------------------------------------------------- Rajeev Jayavant (rajeev@hpfcla.hp.com) "Excuse me, I've lost my marbles" Hewlett Packard - Graphics Technology Division - P. Opus, [Bloom County]