From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1230: marked as done (`configure --with-ns' fails when the shell is not bash) Date: Thu, 23 Oct 2008 21:35:04 -0700 Message-ID: References: <0f1vy6aad9.fsf@fencepost.gnu.org> <87y70fsfrj.GNU's_Not_Unix!%yavor@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1224822903-1978-0" X-Trace: ger.gmane.org 1224823856 16892 80.91.229.12 (24 Oct 2008 04:50:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 04:50:56 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 24 06:51:56 2008 connect(): Connection refused 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.50) id 1KtEeP-0000Q2-9A for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Oct 2008 06:51:54 +0200 Original-Received: from localhost ([127.0.0.1]:39952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtEdI-0002le-HL for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Oct 2008 00:50:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtEd9-0002jV-WB for bug-gnu-emacs@gnu.org; Fri, 24 Oct 2008 00:50:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtEd8-0002if-0L for bug-gnu-emacs@gnu.org; Fri, 24 Oct 2008 00:50:35 -0400 Original-Received: from [199.232.76.173] (port=47829 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtEd7-0002iX-QX for bug-gnu-emacs@gnu.org; Fri, 24 Oct 2008 00:50:33 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45863) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KtEcv-0001IM-OY; Fri, 24 Oct 2008 00:50:23 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9O4o2mZ005598; Thu, 23 Oct 2008 21:50:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9O4Z3pp002063; Thu, 23 Oct 2008 21:35:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1230 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: patch X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:21861 Archived-At: This is a multi-part message in MIME format... ------------=_1224822903-1978-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 24 Oct 2008 00:24:34 -0400 with message-id <0f1vy6aad9.fsf@fencepost.gnu.org> and subject line Re: bug#1230: `configure --with-ns' fails when the shell i= s not bash has caused the Emacs bug report #1230, regarding `configure --with-ns' fails when the shell is not bash to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1230: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1230 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1224822903-1978-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.2 required=4.0 tests=AWL,BAYES_00,HAS_PACKAGE, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED,X_DEBBUGS_CC autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 23 Oct 2008 11:38:44 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9NBcaxA007391 for ; Thu, 23 Oct 2008 04:38:37 -0700 Received: from mx10.gnu.org ([199.232.76.166]:56174) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KsyTp-0006O6-PO for emacs-pretest-bug@gnu.org; Thu, 23 Oct 2008 07:35:53 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KsyWQ-0001lZ-WD for emacs-pretest-bug@gnu.org; Thu, 23 Oct 2008 07:38:35 -0400 Received: from [213.91.219.2] (port=1231 helo=southway-varna.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsyWQ-0001ki-9w for emacs-pretest-bug@gnu.org; Thu, 23 Oct 2008 07:38:34 -0400 Received: from keel.southway-varna.com ([192.168.0.2]) by southway-varna.com with esmtp (Exim 4.63) (envelope-from ) id 1KsyWG-0006HA-LP for emacs-pretest-bug@gnu.org; Thu, 23 Oct 2008 14:38:29 +0300 Received: from localhost ([127.0.0.1] helo=keel.southway-varna.com) by keel.southway-varna.com with esmtp (Exim 4.69) (envelope-from ) id 1KsyWG-000121-Ef for emacs-pretest-bug@gnu.org; Thu, 23 Oct 2008 14:38:24 +0300 Date: Thu, 23 Oct 2008 14:38:24 +0300 Message-ID: <87y70fsfrj.GNU's_Not_Unix!%yavor@gnu.org> From: Yavor Doganov To: emacs-pretest-bug@gnu.org X-Debbugs-CC: yavor@gnu.org User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) Organization: The GNU Emacs Church (Bulgarian eparchy) X-Jabber-ID: doganov@jabber.minus273.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 192.168.0.2 X-SA-Exim-Mail-From: yavor@gnu.org Subject: `configure --with-ns' fails when the shell is not bash X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on southway-varna.com) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Package: emacs,ns Tags: patch $ CONFIG_SHELL=3D/bin/dash /bin/dash ./configure --with-ns ... checking for X... libraries , headers=20 ./configure.lineno: 9373: source: not found ./configure.lineno: 9373: source: not found ./configure.lineno: 9373: source: not found checking AppKit/AppKit.h usability... no checking AppKit/AppKit.h presence... no checking for AppKit/AppKit.h... no That's because "source" is a bash feature. But at this point one would expect that configure should exit with an error. However, it continues, checks for GTK+ and finally fails for me because of missing image librararies. If I had them installed on this machine, it would really configure Emacs for a GTK build. This can't be right; if the user says `--with-ns' he really means that. The attached patch addresses both issues. 2008-10-23 Yavor Doganov (tiny change) * configure.in: Use `.' instead of `source' to source GNUstep.conf. Exit with an error if `--with-ns' was specified but is not found. --- configure.in 23 =D0=BE=D0=BA=D1=82 2008 13:56:25 +0300 1.568 +++ configure.in 23 =D0=BE=D0=BA=D1=82 2008 14:13:27 +0300=09 @@ -1234,15 +1234,17 @@ ns_appbindir=3D`pwd`/nextstep/Emacs.app ns_appresdir=3D`pwd`/nextstep/Emacs.app/Resources ns_appsrc=3D${srcdir}/nextstep/GNUstep/Emacs.base - GNUSTEP_MAKEFILES=3D"$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTE= P_MAKEFILES)" - GNUSTEP_SYSTEM_HEADERS=3D"$(source /etc/GNUstep/GNUstep.conf; echo $G= NUSTEP_SYSTEM_HEADERS)" - GNUSTEP_SYSTEM_LIBRARIES=3D"$(source /etc/GNUstep/GNUstep.conf; echo = $GNUSTEP_SYSTEM_LIBRARIES)" + GNUSTEP_MAKEFILES=3D"$(. /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_MAK= EFILES)" + GNUSTEP_SYSTEM_HEADERS=3D"$(. /etc/GNUstep/GNUstep.conf; echo $GNUSTE= P_SYSTEM_HEADERS)" + GNUSTEP_SYSTEM_LIBRARIES=3D"$(. /etc/GNUstep/GNUstep.conf; echo $GNUS= TEP_SYSTEM_LIBRARIES)" CPPFLAGS=3D"$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" CFLAGS=3D"$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" REAL_CFLAGS=3D"$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" LDFLAGS=3D"$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" fi - AC_CHECK_HEADER(AppKit/AppKit.h, HAVE_NS=3Dyes) + AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=3Dyes], + [AC_MSG_ERROR([`--with-ns' was specified, but the include + files are missing or cannot be compiled.])]) NS_HAVE_NSINTEGER=3Dyes AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], [NSInteger i;])], ------------=_1224822903-1978-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1230-done) by emacsbugs.donarmstrong.com; 24 Oct 2008 04:27:21 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9O4RIY1000714 for <1230-done@emacsbugs.donarmstrong.com>; Thu, 23 Oct 2008 21:27:20 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KtEDz-0001Kt-0v; Fri, 24 Oct 2008 00:24:35 -0400 From: Glenn Morris To: 1230-done@emacsbugs.donarmstrong.com Subject: Re: bug#1230: `configure --with-ns' fails when the shell is not bash References: <87y70fsfrj.GNU's_Not_Unix!%yavor@gnu.org> X-Spook: constitution Dateline quarter Syria Leuken-Baden Putin X-Ran: }-6XvzX]dh@^V*pg]SvGQ"1OT3eA,S$m0SLt>)UCp|GshQbM`x{+dhkCb4_]P7O'd=nz[m X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 24 Oct 2008 00:24:34 -0400 In-Reply-To: <87y70fsfrj.GNU's_Not_Unix!%yavor@gnu.org> (Yavor Doganov's message of "Thu, 23 Oct 2008 14:38:24 +0300") Message-ID: <0f1vy6aad9.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Thanks; applied. ------------=_1224822903-1978-0--