• How to compile the newest version of Emacs?

    From Juha Nieminen@nospam@thanks.invalid to gnu.emacs.help on Thu Jun 16 09:32:17 2022
    From Newsgroup: gnu.emacs.help

    I am using an Ubuntu system (not my choice), and it uses a version of Emacs that's from approximately the Punic Wars. I have experienced some problems
    with autoindentation of complex code (containing a boatload of curly
    brackets), and I was wondering if a newer version of Emacs could perhaps
    have fixed these problems.

    So I tried downloading the sources for the newest version, expecting to be
    able to build it with just a simple "./configure; make", but it turns out
    it's not even nearly that simple.

    What is the easiest way to get the newest version of Emacs for a system
    that lags behind by several major versions?
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From =?utf-8?Q?G=C4=B3s_Hillenius?=@gijs@hillenius.net to gnu.emacs.help on Thu Jun 16 12:37:33 2022
    From Newsgroup: gnu.emacs.help


    What is the easiest way to get the newest version of Emacs for a system
    that lags behind by several major versions?

    emacs-snaphot

    http://emacs.secretsauce.net/


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Fenris@fenris@invalid.invalid to gnu.emacs.help on Thu Jun 16 15:56:54 2022
    From Newsgroup: gnu.emacs.help

    On 2022-06-16, G-|s Hillenius <gijs@hillenius.net> wrote:

    What is the easiest way to get the newest version of Emacs for a system
    that lags behind by several major versions?

    emacs-snaphot

    http://emacs.secretsauce.net/

    Or from this git repository: https://github.com/mirrors/emacs.git

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Anssi Saari@as@sci.fi to gnu.emacs.help on Fri Jun 17 10:56:14 2022
    From Newsgroup: gnu.emacs.help

    Juha Nieminen <nospam@thanks.invalid> writes:

    What is the easiest way to get the newest version of Emacs for a system
    that lags behind by several major versions?

    I've recently built Emacs 28 in Debian 11, just running apt build-dep
    emacs installed all the build dependencies for Emacs 27 and those were
    fine for Emacs 28 too. Worth a try.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Bernardo@bernardo.bacic@pobox.com to gnu.emacs.help on Sun Jun 19 11:52:06 2022
    From Newsgroup: gnu.emacs.help


    it's not clear what issues have you encountered;
    something like this should work:

    #+BEGIN_CODE sh
    ./autogen.sh
    ./configure
    make bootstrap
    #+END_CODE


    getting "builds" from the web implies you have infinite trust in good intentions of the build owner - which is often justified but you can
    never be sure
    --
    Rgds, Bernardo


    --- Synchronet 3.21d-Linux NewsLink 1.2