[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build Emacs without Lisp?

From: Pascal J. Bourguignon
Subject: Re: Build Emacs without Lisp?
Date: Sat, 25 Jun 2016 19:04:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Jeffrey Walton <address@hidden> writes:

> I'm working in a Debian S/390x Chroot (
> Its a lightweight VM-like command line environment.
> I'm trying to build emacs from sources because the port does not have
> a suitable package available. The features I need are (a) Open file
> (b) Save file (c) Search in buffer and (d) Replace in buffer.
> Everything else is superfluous. Below is my Configure line.
> Things are dying during 'make install':
> Using load-path (/root/emacs-24.5/lisp
> /root/emacs-24.5/lisp/emacs-lisp /root/emacs-24.5/lisp/language
> /root/emacs-24.5/lisp/international /root/emacs-24.5/lisp/textmodes
> /root/emacs-24.5/lisp/vc)
> Loading emacs-lisp/byte-run...
> /bin/bash: line 7: 23039 Segmentation fault      ./temacs --batch
> --load loadup bootstrap
> Makefile:815: recipe for target 'bootstrap-emacs' failed
> make[1]: *** [bootstrap-emacs] Error 1
> make[1]: Leaving directory '/root/emacs-24.5/src'
> Makefile:387: recipe for target 'src' failed
> make: *** [src] Error 2
> Fixing bugs in Debian does not move as quickly as one would hope. And
> I have observed fixing them in a port moves even slower. Additionally,
> GDB usually suffers some degree of not-working-ness.
> I'd like to try skipping LISP since I don't use it. Configure does not
> discuss disgorging Lisp:
> ./configure --help | grep -i lisp
>   --enable-locallisppath=PATH
>             directories Emacs should search for lisp files
>   --enable-check-lisp-object-type
>             enable compile time checks for the Lisp_Object data
> My questions are:
>   - Is it possible to build emacs without Lisp? If so, how?

Yes.  You've already done it.
temacs is the emacs built without lisp.
The bug is in the C code, not in lisp code.
Bugs in lisp code don't make the program crash!

>   - Are there other work arounds available for the seg fault?

Debug the C code of emacs.

__Pascal Bourguignon__       
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]