unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kendall Shaw <kshaw@kendallshaw.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Compiling Emacs from Source
Date: Mon, 6 Nov 2017 21:43:56 -0800	[thread overview]
Message-ID: <26a60bbd-d78a-93bc-29b0-4e2922095756@kendallshaw.com> (raw)
In-Reply-To: <B32C01CB-484E-45BA-8B15-9F987B763DAB@gmail.com>

On 11/05/2017 02:43 PM, Jean-Christophe Helary wrote:

>
>> On Nov 6, 2017, at 7:06, Robert Thorpe <rt@robertthorpeconsulting.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?
> Why not use the default ? If the default is not satisfying, you can always reconfigure the build.

Elaborating a little, the configure scripts prints what options it 
chose. It uses autoconf to see what is on your computer. For example:

,/configure --prefix=$HOME/opt/emacs

Prints this for me:


Configured for 'x86_64-pc-linux-gnu'.

   Where should the build process find the source code?    .
   What compiler should emacs be built with?               gcc -g3 -O2
   Should Emacs use the GNU version of malloc?             no (only 
before dumping)
   Should Emacs use a relocating allocator for buffers?    no
   Should Emacs use mmap(2) for buffer allocation?         no
   What window system should Emacs use?                    x11
   What toolkit should Emacs use?                          GTK3
   Where do we find X Windows header files?                Standard dirs
   Where do we find X Windows libraries?                   Standard dirs
   Does Emacs use -lXaw3d?                                 no
   Does Emacs use -lXpm?                                   yes
   Does Emacs use -ljpeg?                                  yes
   Does Emacs use -ltiff?                                  yes
   Does Emacs use a gif library?                           yes -lgif
   Does Emacs use a png library?                           yes -lpng16
   Does Emacs use -lrsvg-2?                                yes
   Does Emacs use cairo?                                   no
   Does Emacs use imagemagick?                             no
   Does Emacs support sound?                               yes
   Does Emacs use -lgpm?                                   no
   Does Emacs use -ldbus?                                  yes
   Does Emacs use -lgconf?                                 yes
   Does Emacs use GSettings?                               yes
   Does Emacs use a file notification library?             yes -lglibc 
(inotify)
   Does Emacs use access control lists?                    no
   Does Emacs use -lselinux?                               yes
   Does Emacs use -lgnutls?                                yes
   Does Emacs use -lxml2?                                  yes
   Does Emacs use -lfreetype?                              yes
   Does Emacs use -lm17n-flt?                              no
   Does Emacs use -lotf?                                   no
   Does Emacs use -lxft?                                   yes
   Does Emacs use -lsystemd?                               no
   Does Emacs directly use zlib?                           yes
   Does Emacs have dynamic modules support?                no
   Does Emacs use toolkit scroll bars?                     yes
   Does Emacs support Xwidgets (requires gtk3)?            no

Kendall

  reply	other threads:[~2017-11-07  5:43 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 [this message]
2017-11-07 23:58 ` Emanuel Berg
2017-11-08  1:01   ` John Mastro
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

  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=26a60bbd-d78a-93bc-29b0-4e2922095756@kendallshaw.com \
    --to=kshaw@kendallshaw.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.
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).