From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.help Subject: Re: Build Emacs without Lisp? Date: Sat, 25 Jun 2016 19:04:35 +0200 Organization: Informatimago Message-ID: <87mvm9ci8s.fsf@kuiper.lan.informatimago.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1466874337 4007 80.91.229.3 (25 Jun 2016 17:05:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2016 17:05:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 25 19:05:33 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bGr1Q-0007CW-Gs for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 19:05:32 +0200 Original-Received: from localhost ([::1]:50731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGr1P-0001ui-3N for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 13:05:31 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 59 Original-X-Trace: individual.net D/+PlVawk64wyd30/O2xQAnvGz/+4+HU0ShhfwXZDU+g2CqVZJ Cancel-Lock: sha1:MmRhNzYwZDE5MmFhMzZkMmUxYTJjYzYwYmQ3YjRkYzA1OTE2NjVlYw== sha1:gPKRJK7HIvZ9wfmHV7HEf54Zukw= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:218264 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110573 Archived-At: Jeffrey Walton writes: > I'm working in a Debian S/390x Chroot (https://www.debian.org/ports/). > 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__ http://www.informatimago.com/ “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