From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?S2FpIEdyb8Ofam9oYW5u?= Newsgroups: gmane.emacs.help Subject: Re: Precompiled Emacs Date: Tue, 05 Nov 2013 22:14:20 +0100 Message-ID: <52795FAC.4060804@gmx.net> 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> <87d2mfuiun.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1383686081 17009 80.91.229.3 (5 Nov 2013 21:14:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 21:14:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Johan Andersson To: Phillip Lord Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 05 22:14:44 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 1VdnxU-0007jL-MX for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Nov 2013 22:14:44 +0100 Original-Received: from localhost ([::1]:58555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdnxU-0003s6-2n for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Nov 2013 16:14:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdnxC-0003ry-4A for help-gnu-emacs@gnu.org; Tue, 05 Nov 2013 16:14:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdnx6-00054g-9D for help-gnu-emacs@gnu.org; Tue, 05 Nov 2013 16:14:26 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:64361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdnx5-00054H-Tp for help-gnu-emacs@gnu.org; Tue, 05 Nov 2013 16:14:20 -0500 Original-Received: from marcie.lan ([188.100.170.200]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MKIEQ-1VfRqX09Bu-001mHR for ; Tue, 05 Nov 2013 22:14:19 +0100 User-Agent: Postbox 3.0.8 (Macintosh/20130427) Original-Newsgroups: gmane.emacs.help In-Reply-To: <87d2mfuiun.fsf@newcastle.ac.uk> X-Provags-ID: V03:K0:IPPQ1I1K1cNcqGTtFqR10N5cSyuRDjeBF2+J62nYCVPLXPKnpDA BuRV/jdGYiLlMJvMyzA5QLk6uYTA2gLgap2ux6jC2U3ljYaJpXqH40l7mcRUTRbWrT0+/NC efiPumPD10kp2R2YgRaxahxkoq8moJcKS0BWWn9CgpK3/angcmOPYkpK/FOy1y//VKMv7fb CnIgJ7Xhh9IdvUFpll4mw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.21 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:94358 Archived-At: It may make sense to run Emacs from the directory it is compiled in (without installation). That might work without any fuss. Kai Phillip Lord wrote: > > 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. > >