From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.help Subject: Re: Precompiled Emacs Date: Tue, 05 Nov 2013 12:35:28 +0000 Message-ID: <87d2mfuiun.fsf@newcastle.ac.uk> References: <87wqkpxnrm.fsf@gmail.com> <5276C383.4020009@gmx.net> <87txfsfuaf.fsf@gmail.com> <87y554e6ei.fsf@newcastle.ac.uk> <871u2we20g.fsf@newcastle.ac.uk> <87ob60cjt9.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383654952 1171 80.91.229.3 (5 Nov 2013 12:35:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 12:35:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Johan Andersson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 05 13:35:57 2013 Return-path: Envelope-to: geh-help-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 1VdfrP-0006K2-TM for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Nov 2013 13:35:56 +0100 Original-Received: from localhost ([::1]:55203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdfrP-00069n-HB for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Nov 2013 07:35:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdfr9-00069W-Ay for help-gnu-emacs@gnu.org; Tue, 05 Nov 2013 07:35:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdfr4-0006Ry-E4 for help-gnu-emacs@gnu.org; Tue, 05 Nov 2013 07:35:39 -0500 Original-Received: from cheviot12.ncl.ac.uk ([128.240.234.12]:43599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdfr3-0006RK-KA for help-gnu-emacs@gnu.org; Tue, 05 Nov 2013 07:35:34 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129]) by cheviot12.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1Vdfqz-0005FH-A4; Tue, 05 Nov 2013 12:35:29 +0000 Original-Received: from localhost (jangai.ncl.ac.uk [10.66.67.223]) (authenticated bits=0) by smtpauth-vm.ncl.ac.uk (8.13.8/8.13.8) with ESMTP id rA5CZSFm012483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 5 Nov 2013 12:35:28 GMT In-Reply-To: (Johan Andersson's message of "Mon, 4 Nov 2013 20:40:59 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94343 Archived-At: I didn't know the answer to this, so I tried it out. Sadly, the answer is yes, including in the make file as far as I can see. The only reason that Emacs normally works in this way is because it's already installed. I tried doing ./configure like so... ./configure --without-all --prefix=/tmp --exec-prefix=/tmp with the hope that the built emacs could be transferred to another machine and then make installed, but that doesn't work (I don't quite know why). Besides you would now be dependent on the build tools which change over time as others have said. For travis, I think the best option is to use a PPA and install into that. Emacs does support multiple minor version installations. But, you lose multiple platform testing. Other than that I am all out of ideas! Phil Johan Andersson writes: > The compile time is an issue on Travis. > > If I ./configure, make and re-tar like you say, will there not be any > hard-coded paths that will be incorrect on some other machine. > On Nov 4, 2013 3:39 PM, "Phillip Lord" wrote: > >> >> >> Okay, now I understand. This is a good aim, and would be a good thing to >> do. You are right about wanting to test between point releases -- in >> fact, for testing, this is more valuable than between major releases, I >> think. >> >> In a sense, I am not sure that I would be worried about speed of >> installation -- as this is largely useful for package developers, and >> it's a per emacs release cost (multiplied by the number of machines a >> developer has). >> >> However, given that this is for testing, from my own perspective, I >> would prefer not to mess around with my main installation; that is, I >> want my own version of Emacs and the rest of my system untouched. So, >> why not compile Emacs, and then just launch it from the directory in >> which it is built? To precompile, simply untar the distribution, >> ./configure, make, and then retar everything. This should be pretty >> platform independent, doesn't require root, and if you put everything in >> one place means a simple delete cleans everything up. It also has the >> advantage that the Emacs in question is relative clean (i.e. not patched >> by any downstream distributor) which is a useful test in itself.