Path: utzoo!mnetor!uunet!husc6!rutgers!ames!ucbcad!zen!ucbvax!LF-SERVER-2.BBN.COM!jr From: jr@LF-SERVER-2.BBN.COM (John Robinson) Newsgroups: comp.emacs Subject: Re: Trying to install emacs on VMS 4.5 Message-ID: <8712181501.AA03275@ucbvax.Berkeley.EDU> Date: 18 Dec 87 14:33:52 GMT References: <277@uw-warp.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: jr@BBN.COM Organization: The ARPA Internet Lines: 32 >> My guess is that you copied the .ELC files, too, but they got >> corrupted. So when TEMACS tries to load "simple,", it finds the .ELC >> and tries to use that, but it's corupted. To fix this, you can delete >> all your .ELC files, but if you do that, I think maybe you'll need to >> double (or so) PURESIZE, which is #define'd in vms.h (after being initially >> #define'd in config.h). Also, be sure to remember which .ELC files >> you've deleted. >> Once you've got your emacs dumped, you can byte-compile all the .EL >> files that should be .ELC files, and then drop PURESIZE back to its >> original value and recompile TEMACS and redump it. Instead of building the larger purified file, leave PURESIZE alone and do this (in emacs/lisp): 1. Remove the .elc files. 2. Start ../src/temacs (no switches). 3. Load loadup.el, which will load all the normaly-resident libraries from .el files. 4. Run byte-recompile-directory to get working .elc files (the byte compiler will be running interpreted, but who cares? If you think you do, run byte-compile-file on bytecomp.el, then load its .elc (maybe in a fresh temacs), then byte-recompile-directory.). (Certain of the .elc files are explicitly avoided by loadup.el (read it for details) - simply remove these when you're done if you care). 5. Go out for a cup o' java. 6. When the compile is done, exit temacs. You can now proceed to make the dumped emacs in emacs/src. /jr jr@bbn.com or jr@bbn.uucp