At 09:43 AM 9/18/01 -0400, Stephen Green - staff engineer wrote:
OK, so I've done the following:
cd xemacs-21.5.3
CC=cc ./configure --cflags=-g --site-prefixes=/lab/indexing
--with-workshop --with-dragndrop --with-cde --with-mule --with-purify
gmake
cd src
gmake puremacs
This seems to compile the puremacs binary and copies it to temacs.
Now, I can't run the puremacs binary directly, because it needs to be
dumped (I'm pushing the edges of my understanding of how XEmacs gets
built here --- please excuse any errors).
So, I do:
cd ..
gmake
And it appears to try to dump a purified XEmacs. It goes ahead and
loads all the .elc files, but eventually, the following happens:
[Loads deleted]
Loading /home/stgreen/Downloads/xemacs-21.5.3/lisp/auto-show.elc...
Loading /home/stgreen/Downloads/xemacs-21.5.3/lisp/loadhist.elc...
Loading /home/stgreen/Downloads/xemacs-21.5.3/lisp/loaddefs.elc...
Loading site-load...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name xemacs
Testing for Lisp shadows ...
gmake[1]: *** [xemacs] Segmentation Fault (core dumped)
gmake[1]: *** Deleting file `xemacs'
gmake[1]: Leaving directory `/home/stgreen/Downloads/xemacs-21.5.3/src'
gmake: *** [src] Error 2
So presumably the purify stuff that gets stuck in the binary is
causing problems with unexecing the puremacs with all the elisp
loaded. Would configuring with --pdump have solved this problem?
BTW, purify -version reports:
Version 2001a.04.00 Solaris 2
Any more help would be greatly appreciated, I'd really like to help
track this down.
Actually to run a purified XEmacs I don't think you dump at all. You
actually run temacs and load all the appropriate lisp files. So doing
something like
make run-temacs
should do the trick
andy