From: PierGianLuca <luca@magnaspesmeretrix.org>
To: Byung-Hee HWANG <soyeomul@doraji.xyz>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Question on updating to 29.1 (on Ubuntu)
Date: Sat, 7 Oct 2023 14:28:58 +0200 [thread overview]
Message-ID: <398a0571-3d3c-2e58-ff23-16cb947e9088@magnaspesmeretrix.org> (raw)
In-Reply-To: <87cyxqaav4.fsf@penguin>
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/emacs
>
> Thanks Yuri, i'm also Ubuntu user as like Luca (OP).
>
> Sincerely, Byung-Hee
>
next prev parent reply other threads:[~2023-10-07 12:28 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 8:11 Question on updating to 29.1 PierGianLuca
2023-08-11 8:21 ` Philip Kaludercic
2023-08-11 8:45 ` PierGianLuca
2023-08-11 8:54 ` Basile Starynkevitch
2023-08-11 10:16 ` Emanuel Berg
2023-08-11 11:20 ` Basile Starynkevitch
2023-08-11 12:20 ` Emanuel Berg
2023-08-17 16:17 ` PierGianLuca
2023-08-17 17:01 ` Corwin Brust
2023-08-17 17:55 ` PierGianLuca
2023-08-17 18:58 ` Basile Starynkevitch
2023-10-05 18:21 ` hw
2023-10-05 18:54 ` Eli Zaretskii
2023-08-18 19:24 ` Philip Kaludercic
2023-08-19 11:05 ` Pop-up font size with lucid toolkit (was: Question on updating to 29.1) PierGianLuca
2023-08-19 11:10 ` Solved: " PierGianLuca
2023-08-19 11:13 ` Gregory Heytings
2023-08-19 11:15 ` PierGianLuca
2023-08-20 12:36 ` Pop-up font size with lucid toolkit Philip Kaludercic
2023-08-20 13:13 ` PierGianLuca
2023-08-21 15:14 ` Philip Kaludercic
2023-08-11 11:16 ` Question on updating to 29.1 Eli Zaretskii
2023-08-11 22:04 ` Jens Schmidt via Users list for the GNU Emacs text editor
2023-08-12 5:48 ` Eli Zaretskii
2023-08-12 6:08 ` PierGianLuca
2023-08-12 6:23 ` Eli Zaretskii
2023-08-13 12:46 ` Petteri Hintsanen
2023-10-05 11:44 ` Byung-Hee HWANG
2023-10-05 17:17 ` Emanuel Berg
2023-10-06 23:51 ` Byung-Hee HWANG
2023-10-07 7:43 ` Yuri Khan
2023-10-07 12:13 ` Byung-Hee HWANG
2023-10-07 12:28 ` PierGianLuca [this message]
2023-10-23 16:41 ` Basile Starynkevitch
2023-10-06 1:30 ` Emanuel Berg
2023-10-07 6:06 ` జిందం వాఐి
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=398a0571-3d3c-2e58-ff23-16cb947e9088@magnaspesmeretrix.org \
--to=luca@magnaspesmeretrix.org \
--cc=help-gnu-emacs@gnu.org \
--cc=soyeomul@doraji.xyz \
/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).