From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer Orth Newsgroups: gmane.emacs.bugs Subject: bug#7178: 24.0.50; Emacs 24 doesn't build on Solaris 10 Date: Fri, 08 Oct 2010 22:04:28 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286571250 28461 80.91.229.12 (8 Oct 2010 20:54:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Oct 2010 20:54:10 +0000 (UTC) To: 7178@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 08 22:54:08 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P4Jx6-0004wb-EF for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Oct 2010 22:54:04 +0200 Original-Received: from localhost ([127.0.0.1]:40089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4JlY-0008Di-8X for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Oct 2010 16:42:08 -0400 Original-Received: from [140.186.70.92] (port=33411 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4JlQ-0008Cn-4Z for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 16:42:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4JlO-0004G7-Gy for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 16:42:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4JlO-0004G3-F6 for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 16:41:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P4JOE-0005WN-8G; Fri, 08 Oct 2010 16:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rainer Orth Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Oct 2010 20:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7178 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.128656907921215 (code B ref -1); Fri, 08 Oct 2010 20:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Oct 2010 20:17:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4JOA-0005W8-Ie for submit@debbugs.gnu.org; Fri, 08 Oct 2010 16:17:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4JO8-0005W3-6X for submit@debbugs.gnu.org; Fri, 08 Oct 2010 16:17:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4JRH-0008GT-2S for submit@debbugs.gnu.org; Fri, 08 Oct 2010 16:21:13 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:40826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4JRA-0008AZ-Ql for submit@debbugs.gnu.org; Fri, 08 Oct 2010 16:21:10 -0400 Original-Received: from [140.186.70.92] (port=44802 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4JNE-0005TE-GQ for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 16:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4JBB-0003yr-4N for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 16:04:34 -0400 Original-Received: from snape.cebitec.uni-bielefeld.de ([129.70.160.84]:50835 helo=smtp-relay.CeBiTec.Uni-Bielefeld.DE) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4JBA-0003yU-Vm for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 16:04:33 -0400 Original-Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 069BB1EB for ; Fri, 8 Oct 2010 22:04:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OTf3S3Fc2XGS; Fri, 8 Oct 2010 22:04:29 +0200 (CEST) Original-Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id A1F2B1E9; Fri, 8 Oct 2010 22:04:28 +0200 (CEST) Original-Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id o98K4S7H022199; Fri, 8 Oct 2010 22:04:28 +0200 (MEST) X-Authentication-Warning: manam.CeBiTec.Uni-Bielefeld.DE: ro set sender to ro@CeBiTec.Uni-Bielefeld.DE using -f X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 08 Oct 2010 16:18:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40774 Archived-At: When I tried to build Emacs bazaar trunk on Solaris 10 to check if bug#7163 still occurs on trunk, I ran into two issues: * lisp/Makefile.in (compile-clean) uses $() which the Solaris 10 /bin/sh doesn't understand. This can easily be avoided by using `` instead. * src/sysdep.c doesn't compile: "/usr/include/term.h", line 1034: syntax error before or at: bool uses bool without providing bool. cannot be included since it only works in C99 mode. The documented solution (e.g. on the curs_terminfo(3CURSES) manpage) is to include before term.h. The patch below hardcodes this, but this is most likely not the appropriate solution. Some kind of autoconf magic is probably needed to check if can be compiled on its own. Rainer 2010-10-08 Rainer Orth src: * sysdep.c [HAVE_TERM_H]: Include before . lisp: * Makefile.in (compile-clean): Use `` instead of $(). === modified file 'lisp/Makefile.in' --- lisp/Makefile.in 2010-09-08 14:42:54 +0000 +++ lisp/Makefile.in 2010-09-08 20:49:05 +0000 @@ -249,7 +249,7 @@ compile-clean: @cd $(lisp); $(setwins); \ elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \ - for el in $$(echo $$elcs | sed -e 's/\.elc/\.el/g'); do \ + for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \ if test -f "$$el" -o \! -f "$${el}c"; then :; else \ echo rm "$${el}c"; \ rm "$${el}c"; \ === modified file 'src/sysdep.c' --- src/sysdep.c 2010-08-22 15:14:37 +0000 +++ src/sysdep.c 2010-09-08 20:34:07 +0000 @@ -97,6 +97,7 @@ /* Include this last. If it is ncurses header file, it adds a lot of defines that interfere with stuff in other headers. Someone responsible for ncurses messed up bigtime. See bug#6812. */ +#include #include #endif -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University