|
From: | PierGianLuca |
Subject: | Re: Question on updating to 29.1 (on Ubuntu) |
Date: | Sat, 7 Oct 2023 14:28:58 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
Hi Byung-Hee, I actually managed to compile the stable version without any problems on Ubuntu 20.04. Quite happy with the result. I list here some links that have been useful in understanding different aspects of the installation, and then the sequence of commands I used. Many people on this list have been very helpful in understanding several aspects of this. Cheers, Luca - Useful links: https://www.emacswiki.org/emacs/BuildingEmacs https://www.masteringemacs.org/article/whats-new-in-emacs-29-1 https://git.savannah.gnu.org/cgit/emacs.git/tree/INSTALL https://www.taingram.org/blog/emacs-native-comp.html https://practical.li/blog/posts/build-emacs-from-source-on-ubuntu-linux/ My sequence of instructions – may not work for you, of course! **NB** I decided not to use the GTK toolkit and toolkit scroll bars. If you want them instead, remove "--with-x-toolkit=lucid --without-toolkit-scroll-bars" from the instructions below. # download tarball from https://git.savannah.gnu.org/cgit/emacs.git/ # save it in some directory, then open a terminal in that directory $ sudo apt build-dep -y emacs # to install dependencies needed $ gcc --version # to check CC version, called [VERSION] below $ sudo apt install libgccjit0 libgccjit-[VERSION]-dev $ sudo apt install libjansson4 libjansson-dev gnutls-bin $ tar -xf emacs-29.1.tar.xz $ cd emacs-29.1 $ ./autogen.sh $ ./configure --with-native-compilation --with-json --enable-link-time-optimization --with-x-toolkit=lucid --without-toolkit-scroll-bars $ make $ ./src/emacs -Q # to check if it works properly $ sudo make install On 231007 14:13, Byung-Hee HWANG wrote:
Yuri Khan <yuri.v.khan@gmail.com> writes:On Sat, 7 Oct 2023 at 06:52, Byung-Hee HWANG <soyeomul@doraji.xyz> wrote:Like me, you do contact to Ubuntu team with Emacs update.What do you mean?I think that manaual building is not easy. Maybe there is a package for emacs 29.1 of Ubuntu?There’s this PPA that hosts the package backported from Debian Sid: https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/emacsThanks Yuri, i'm also Ubuntu user as like Luca (OP). Sincerely, Byung-Hee
[Prev in Thread] | Current Thread | [Next in Thread] |