From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#16772: Failure in "make install" on MS-Windows Date: Mon, 17 Feb 2014 19:57:02 +0100 Message-ID: References: <63r47232fz.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1392663737 8071 80.91.229.3 (17 Feb 2014 19:02:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2014 19:02:17 +0000 (UTC) Cc: 16772@debbugs.gnu.org, Juanma Barranquero To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 17 20:02:24 2014 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 1WFTSQ-00047I-JF for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Feb 2014 20:02:22 +0100 Original-Received: from localhost ([::1]:43674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFTSQ-0000LQ-7b for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Feb 2014 14:02:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFTSD-0000BW-SU for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 14:02:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFTS7-0001g3-Ng for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 14:02:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFTS7-0001fS-KB for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 14:02:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WFTOE-0006GY-3G for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 13:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Feb 2014 18:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16772 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16772-submit@debbugs.gnu.org id=B16772.139266343124010 (code B ref 16772); Mon, 17 Feb 2014 18:58:02 +0000 Original-Received: (at 16772) by debbugs.gnu.org; 17 Feb 2014 18:57:11 +0000 Original-Received: from localhost ([127.0.0.1]:56968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFTNP-0006FA-B7 for submit@debbugs.gnu.org; Mon, 17 Feb 2014 13:57:11 -0500 Original-Received: from mail-lb0-f170.google.com ([209.85.217.170]:44423) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFTNN-0006Ew-9b for 16772@debbugs.gnu.org; Mon, 17 Feb 2014 13:57:10 -0500 Original-Received: by mail-lb0-f170.google.com with SMTP id u14so11554098lbd.15 for <16772@debbugs.gnu.org>; Mon, 17 Feb 2014 10:57:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=R6WMQiCB3cEpgvpHeMqEgiw0Blg9HNfaVvOuZY+XNhc=; b=nJHYyysFa32ejca8VSXEaHtdykEx0ZLgDoH6SK+tm0QMzRUTssvkisjOsI+JHntCHT yE6BfvMseIlQ6tuDYP6UOIpetiz5Qxk/krjLk4POC2EeeqF5lY5uJ7mkTU1O6LVokgQ/ UIbUCCX2bZtIeZnFKmlZTGhEq7CoMrgTinO/Np+ccO4M3RRyAG6VDH0oe28OEzZ7aWtJ xBKz3av5QtkJPYFRBmvQ/3bLOUwSKKhN1iTg7wIKAevCbDka19fjxzlFSeDt4F5OoVYj eVImdwIeEax+Jztr+TPp0rsTPc/+kMhdD4QrodQgYyQUFNWJOk4m/jlU4ExsPQMp00Cr Q1qA== X-Received: by 10.112.180.72 with SMTP id dm8mr17731539lbc.28.1392663422615; Mon, 17 Feb 2014 10:57:02 -0800 (PST) Original-Received: by 10.114.18.69 with HTTP; Mon, 17 Feb 2014 10:57:02 -0800 (PST) In-Reply-To: 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:85771 Archived-At: >> I've tried the patch: I've gone to the build directory and done "make >> install prefix='../myinstalldir' GZIP_INFO= GZIP_PROG=". The process >> has ended up this way: > > Don't change `prefix' at install time. > You should only set prefix with configure. I'm following the procedure documented in "nt/INSTALL", which says this: 4. Install the produced binaries: make install If you want the installation tree to go to a place that is different from the one specified by --prefix, say make install prefix=/where/ever/you/want If that procedure is wrong, please fix it. But FWIW, I've successfully made many binary distributions in the last months following that same procedure. > And if you try, it will say: > > configure: error: expected an absolute directory name for --prefix: > ../myinstalldir No, it says something different: I've just tried this, from a build directory holding a bootstrap of the trunk (r116453): make install prefix=/c/tmp/dir2 GZIP_INFO= GZIP_PROG= The make process, after writing many messages to the terminal, has failed with this snippet: Installing utilities for users to run. umask 022; /bin/mkdir -p "/c/tmp/dir2/bin" for file in runemacs.exe addpm.exe ; do \ /bin/install -c ${file} "/c/tmp/dir2/bin"/`echo ${file} | sed -e 's/.exe$//' -e 's,x,x,'`.exe ; \ done /bin/install -c -m 644 README.W32 "/c/tmp/dir2/share/emacs/24.3.50" /bin/install: cannot stat `README.W32': No such file or directory Makefile:168: recipe for target `install' failed make[1]: *** [install] Error 1 make[1]: Leaving directory `/usr/home/dani/emacs/build/nt' Makefile:509: recipe for target `install-nt' failed make: *** [install-nt] Error 2 And then I've applied the patch sent by Juanma, and tried again. This time the installation seems to be successful, and I see the file "/share/emacs/24.3.50/README.W32", as expected. So please, Juanma, could you commit your patch? TIA -- Dani Moncayo