From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#15675: the configure script invoked before make Date: Thu, 24 Oct 2013 02:12:17 +0100 Message-ID: <82bo2fpj4e.fsf@gmail.com> References: <20131021170256.GA1699@glam> 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 1382577256 22316 80.91.229.3 (24 Oct 2013 01:14:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2013 01:14:16 +0000 (UTC) To: 15675@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 24 03:14:20 2013 Return-path: Envelope-to: geb-bug-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 1VZ9VE-00007V-3j for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Oct 2013 03:14:20 +0200 Original-Received: from localhost ([::1]:52069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ9VD-0004xs-CE for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 21:14:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ9V3-0004xl-Mw for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 21:14:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ9Uw-0005DH-RN for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 21:14:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ9Uw-0005D9-Nn for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 21:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VZ9Uw-0001CV-Bl for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 21:14:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20131021170256.GA1699@glam> Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Oct 2013 01:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15675 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.13825771824523 (code B ref -1); Thu, 24 Oct 2013 01:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Oct 2013 01:13:02 +0000 Original-Received: from localhost ([127.0.0.1]:39446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZ9Tx-0001Ac-SA for submit@debbugs.gnu.org; Wed, 23 Oct 2013 21:13:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51362) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZ9Tw-0001AO-1f for submit@debbugs.gnu.org; Wed, 23 Oct 2013 21:13:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ9Tj-000540-SW for submit@debbugs.gnu.org; Wed, 23 Oct 2013 21:12:54 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ9Tj-00053w-PK for submit@debbugs.gnu.org; Wed, 23 Oct 2013 21:12:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ9Td-0004pm-Jc for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 21:12:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ9TW-00053B-Hi for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 21:12:41 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ9TW-00052m-9n for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 21:12:34 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VZ9TS-0007SF-Qo for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2013 03:12:30 +0200 Original-Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Oct 2013 03:12:30 +0200 Original-Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Oct 2013 03:12:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:WiIS2CBQQmxH5RgUvlov2Y01Dls= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79561 Archived-At: On Wed 23 Oct 2013, Glenn Morris wrote: > Version: 24.4 > > “Adrian” wrote: > >> Downloaded and put the emacs24.3 sources in a directory whose name >> contained 1 space. The configure script seemed not able to interpret >> the directory name properly, as it could only grasp the word >> preceeding the space in the directory name. I verified that this was >> the problem, as i changed the directory name to contain no spaces and >> the configure script ran beautifully. > > In Emacs trunk, building in directories whose name contains space should > now work. (Installing into such a directory probably still doesn't work.) The changes to support this break doing an out of tree build using MSYS/MinGW. I have been trying to build from bzr r114764, with the source tree at "c:\emacs\src\emacs\trunk", and building in an "obj-mingw32" subdir. Building in "obj-mingw32/lib" fails because CPP and CPPFLAGS still have "-I ../nt/inc", which should either be "-I ../../nt/inc" (relative to "obj-mingw32") or be absolute. My attempts to patch configure.ac to fix this resulted in a configure script which complained about missing ACl libraries (which is normally handled by trunk/nt/mingw-config.site). As I am inexpert in autotools, I instead tried to work around this by adding the absolute path to "trunk/nt/inc" to CPPFLAGS on the configure command line (generated from unmodified configure.ac). This got further, but failed building lisp: ------------------------------------------------------------------ cd ../lisp; /usr/bin/make -w update-subdirs make[2]: Entering directory `/c/emacs/src/emacs/trunk/obj-mingw32/lisp' cd ../../lisp; subdirs=`find . -type d -print`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | */cedet* ) ;; *) wins="$wins${wins:+ }$file" ;; esac; done; \ for file in $wins; do \ ../../build-aux/update-subdirs $file; \ done; /bin/sh: line 2: ../../build-aux/update-subdirs: No such file or directory /bin/sh: line 2: ../../build-aux/update-subdirs: No such file or directory ------------------------------------------------------------------ The for loop runs from trunk/lisp, so the path to trunk/build-aux is wrong. In addition, this use of find and a for loop does not look correct for directory paths with spaces. Let me know if you need any help with testing, build logs etc. AndyM