From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: George Karas Newsgroups: gmane.emacs.help Subject: building emacs 21.3 for Solaris 8/9 Date: Thu, 21 Aug 2003 10:38:31 -0700 Organization: Jet Propulsion Laboratory Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F450397.6090504@mail2.jpl.nasa.gov> Reply-To: George.N.Karas@jpl.nasa.gov NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1061569858 32581 80.91.224.253 (22 Aug 2003 16:30:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2003 16:30:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 18:30:57 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19qEoS-0005N0-00 for ; Fri, 22 Aug 2003 18:30:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19qDnS-0008NN-FJ for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Aug 2003 11:25:50 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19q7VC-0005S0-Ex for help-gnu-emacs@gnu.org; Fri, 22 Aug 2003 04:42:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19puuE-0001WW-5L for help-gnu-emacs@gnu.org; Thu, 21 Aug 2003 15:16:05 -0400 Original-Received: from [66.163.168.182] (helo=smtp803.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.20) id 19puKj-0000hr-AH for help-gnu-emacs@gnu.org; Thu, 21 Aug 2003 14:38:53 -0400 Original-Received: from adsl-63-194-18-133.dsl.lsan03.pacbell.net (HELO mail2.jpl.nasa.gov) (gkaras@pacbell.net@63.194.18.133 with plain) by smtp-sbc-v1.mail.vip.sc5.yahoo.com with SMTP; 21 Aug 2003 17:38:38 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:11988 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11988 All, I'm trying and failing to build emacs 21.3 on Solaris. I've encountered a problem that has been discussed in a number of group, including this one, but I have not found any responses on how to fix it. I'm getting the same error on both Solaris 8 and Solaris 9. The software builds, but at the end of the make, the emacs binary fails in the following way: Dumping under names emacs and emacs-21.3.1 715516 pure bytes used ./emacs -q -batch -f list-load-path-shadows Fatal error (11).make[1]: *** [emacs] Segmentation Fault make[1]: Leaving directory `/usr/local/build/gnu/build/emacs/src' Below is the output of the configure, showing the options that I'm using. As I said, I've done this build on both Solaris 8 & 9. I've tried gcc 3.3.1 and 3.3, including ones that I've built and ones downloaded from sunfreeware. I've tried all sorts of different CFLAGS, with various levels of optimization and with and without debugging. I've included and removed the different libraries in the list below. I've also tried alternating the toolkits between Motif and Lucid. Configured for `sparc-sun-solaris2.9'. Where should the build process find the source code? /usr/local/build/gnu/emacs-21.3 What operating system and machine description files should Emacs use? `s/sol2-5.h' and `m/sparc.h' What compiler should emacs be built with? gcc -O3 Should Emacs use the GNU version of malloc? yes Should Emacs use a relocating allocator for buffers? yes Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? MOTIF Where do we find X Windows header files? /usr/openwin/include Where do we find X Windows libraries? /usr/openwin/lib Does Emacs use -lXaw3d? yes Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use -lungif? yes Does Emacs use -lpng? yes Does Emacs use X toolkit scroll bars? yes ALL builds, regardless of options (and that doesn't surprise me), produce the same result above! I've tried doing a traceback of the core file, looking at it with gdb, and doing a truss of the emacs call. I haven't found out anything that helps me. I'm completely stumped. I have no idea how to build this, and I'd really appreciate any help that anyone could give me! Thanks! -george karas Jet Propulsion Laboratory