From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yidong Chong Newsgroups: gmane.emacs.devel Subject: Re: [Martin Ebourne] Re: Small fix to configure.in in CVS Date: Thu, 26 Oct 2006 16:54:02 -0400 Message-ID: <20061026165402.552417lpc5r4gkgs@webmail.mit.edu> References: <87fyda26xu.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161896086 1475 80.91.229.2 (26 Oct 2006 20:54:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Oct 2006 20:54:46 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 26 22:54:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GdCF7-0001B7-V2 for ged-emacs-devel@m.gmane.org; Thu, 26 Oct 2006 22:54:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GdCF7-00052e-K3 for ged-emacs-devel@m.gmane.org; Thu, 26 Oct 2006 16:54:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GdCEv-00051e-R3 for emacs-devel@gnu.org; Thu, 26 Oct 2006 16:54:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GdCEv-00051H-6B for emacs-devel@gnu.org; Thu, 26 Oct 2006 16:54:13 -0400 Original-Received: from [18.7.7.80] (helo=biscayne-one-station.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GdCEv-0000TE-AN for emacs-devel@gnu.org; Thu, 26 Oct 2006 16:54:13 -0400 Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id k9QKs3nb011134; Thu, 26 Oct 2006 16:54:03 -0400 (EDT) Original-Received: from w92-130-webmail-2.mit.edu (W92-130-WEBMAIL-2.MIT.EDU [18.7.22.132]) ) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id k9QKs2Zs004954; Thu, 26 Oct 2006 16:54:02 -0400 (EDT) Original-Received: (from nobody@localhost) by w92-130-webmail-2.mit.edu (8.12.4) id k9QKs2ge011667; Thu, 26 Oct 2006 16:54:02 -0400 Original-Received: from CYD.MIT.EDU (CYD.MIT.EDU [18.19.1.138]) (User authenticated as cyd@ATHENA.MIT.EDU) by webmail.mit.edu (Horde MIME library) with HTTP; Thu, 26 Oct 2006 16:54:02 -0400 Original-To: Martin Ebourne In-Reply-To: <87fyda26xu.fsf@stupidchicken.com> Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -5.599 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61208 Archived-At: >> Could you explain in greater detail what the problem in the existing >> configure.in is, and how your change fixes it? > The problem I had was that I was building to a prefix directory that > included the word 'linux'. The emacs configure was preprocessing the > Makefile through the C preprocessor, and this was substituting > 'linux' to 1, thus making all the paths invalid. I can't reproduce this: mkdir ~/linux cd emacs ./configure --prefix=/home/cyd/linux make make install Compilation and installation proceeds as expected, with the emacs executable installed in to /home/cyd/linux/bin, etc.