From: John Mastro <john.b.mastro@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Compiling Emacs from Source
Date: Tue, 7 Nov 2017 17:01:03 -0800 [thread overview]
Message-ID: <CAOj2CQS_hQd2fjdYpe41_NL_pCN+4Ww2fxjQs0MzajmouoftYg@mail.gmail.com> (raw)
In-Reply-To: <86lgjhbpz1.fsf@zoho.com>
Emanuel Berg <moasen@zoho.com> wrote:
>> Recently there was some discussion about
>> upgrading Emacs. Package managers and distros
>> were discussed.
>>
>> I have a more basic question. The distro I'm
>> using doesn't provide Emacs 25, I'm still on
>> 24.4. So, I want to compile Emacs 25.
>>
>> The problem for me is the configuration
>> flags. I don't understand them that well.
>> What configuration flags would this
>> list recommend?
>
> I think it is very difficult to give a good
> answer *in general*... Isn't there a tutorial
> somewhere how to compile Emacs? Or even better,
> a script that figures it out for you :)
>
> I'm going to compile the latest version right
> now because I have an issue with Gnus and
> SSL/TLS, and got the suggestion I upgrade
> Emacs, so if that makes me any wiser with
> respect to this question I'll get back with
> details :)
For no-X builds, I use:
./configure --with-xml2 --with-zlib --with-gnutls \
--with-x-toolkit=no --without-xpm --without-jpeg --without-tiff \
--without-gif --without-png --without-pop --without-compress-install
For builds with X support, I use:
./configure --with-xml2 --with-zlib --with-gnutls --with-imagemagick \
--with-x-toolkit=lucid --with-xft --with-libotf --with-m17n-flt \
--without-pop --without-compress-install
To be honest, I don't know if e.g. "--with-gnutls" is really necessary
or if it would be auto-detected, so much of this may be redundant.
John
next prev parent reply other threads:[~2017-11-08 1:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-05 22:06 Compiling Emacs from Source Robert Thorpe
2017-11-05 22:43 ` Jean-Christophe Helary
2017-11-07 5:43 ` Kendall Shaw
2017-11-07 23:58 ` Emanuel Berg
2017-11-08 1:01 ` John Mastro [this message]
2017-11-08 1:27 ` Emanuel Berg
2017-11-08 4:26 ` Emanuel Berg
2017-11-11 20:45 ` Robert Thorpe
2017-11-08 16:32 ` Dan Mack
2017-11-08 19:21 ` Emanuel Berg
-- strict thread matches above, loose matches on Subject: below --
2010-03-27 3:29 Compiling Emacs from source Henri-Paul Indiogine
2010-03-27 5:05 ` Óscar Fuentes
2010-03-27 9:52 ` Peter Dyballa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOj2CQS_hQd2fjdYpe41_NL_pCN+4Ww2fxjQs0MzajmouoftYg@mail.gmail.com \
--to=john.b.mastro@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.