unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: phillip.lord@newcastle.ac.uk (Phillip Lord)
To: Johan Andersson <johan.rejeep@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Precompiled Emacs
Date: Tue, 05 Nov 2013 12:35:28 +0000	[thread overview]
Message-ID: <87d2mfuiun.fsf@newcastle.ac.uk> (raw)
In-Reply-To: <CAB6RKMt_+XBLv-Ka63nDT8H+oo4oALSu_efi_yi9iAtb1PDvAg@mail.gmail.com> (Johan Andersson's message of "Mon, 4 Nov 2013 20:40:59 +0100")



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 <johan.rejeep@gmail.com> 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" <phillip.lord@newcastle.ac.uk> 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.



  reply	other threads:[~2013-11-05 12:35 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-03 11:56 Precompiled Emacs Johan Andersson
2013-11-03 19:52 ` Peter Dyballa
2013-11-03 19:56 ` Jambunathan K
2013-11-03 19:59   ` Johan Andersson
2013-11-03 21:43     ` Kai Großjohann
2013-11-04  8:11       ` Johan Andersson
2013-11-04  8:25         ` Jambunathan K
2013-11-04  8:26           ` Johan Andersson
2013-11-04 11:46             ` Phillip Lord
2013-11-04 12:29               ` Johan Andersson
2013-11-04 13:21                 ` Phillip Lord
2013-11-04 13:31                   ` Johan Andersson
2013-11-04 14:39                     ` Phillip Lord
2013-11-04 19:40                       ` Johan Andersson
2013-11-05 12:35                         ` Phillip Lord [this message]
2013-11-05 15:22                           ` Johan Andersson
2013-11-06 10:18                             ` Phillip Lord
2013-11-06 10:23                               ` Johan Andersson
2013-11-06 13:01                                 ` Phillip Lord
2013-11-06 13:03                                   ` Johan Andersson
2013-12-07 15:25                                     ` Johan Andersson
2013-11-05 21:14                           ` Kai Großjohann
2013-11-04 15:33                     ` Stefan Monnier
2013-11-04 17:52                       ` David Engster
2013-11-04 18:53                         ` Stefan Monnier
2013-11-04 19:29                           ` David Engster
2013-11-04 20:09                             ` Eli Zaretskii
2013-11-04 20:26                               ` David Engster
2013-11-05  5:10                                 ` Glenn Morris
2013-11-05 19:26                                   ` David Engster
2013-11-04 20:14                             ` Stefan Monnier
2013-11-04 20:24                               ` David Engster
2013-11-04 13:48         ` Stefan Monnier
2013-11-04 14:46           ` Jambunathan K
2013-11-04 21:32         ` Kai Großjohann
2013-11-05  3:43           ` Eli Zaretskii
2013-11-05 19:39             ` Stefan Monnier
2013-11-05 20:26               ` Glenn Morris
2013-11-06 10:24               ` Phillip Lord
2013-11-06 10:41                 ` Peter Dyballa
     [not found]   ` <mailman.5200.1383508791.10748.help-gnu-emacs@gnu.org>
2013-11-03 21:30     ` Dan Espen
     [not found] <mailman.5190.1383504232.10748.help-gnu-emacs@gnu.org>
2013-11-03 19:22 ` Carson Chittom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2mfuiun.fsf@newcastle.ac.uk \
    --to=phillip.lord@newcastle.ac.uk \
    --cc=help-gnu-emacs@gnu.org \
    --cc=johan.rejeep@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).