From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: PierGianLuca Newsgroups: gmane.emacs.help Subject: Re: Question on updating to 29.1 (on Ubuntu) Date: Sat, 7 Oct 2023 14:28:58 +0200 Message-ID: <398a0571-3d3c-2e58-ff23-16cb947e9088@magnaspesmeretrix.org> References: <7434968f-40b1-ac55-c692-56a9b1c6a547@magnaspesmeretrix.org> <87wmw1e1k4.fsf@thinkpad.home> <878r8hdm4x.fsf@dataswamp.org> <87lecfe2dt.fsf@penguin> <87cyxqaav4.fsf@penguin> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4688"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Cc: help-gnu-emacs@gnu.org To: Byung-Hee HWANG Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 07 14:30:01 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qp6RV-00012h-6n for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 Oct 2023 14:30:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qp6Qi-0003Yv-Ql; Sat, 07 Oct 2023 08:29:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qp6Qh-0003Ym-Jn for help-gnu-emacs@gnu.org; Sat, 07 Oct 2023 08:29:11 -0400 Original-Received: from manu28.manufrog.com ([138.128.182.226]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qp6Qc-0000kQ-IW for help-gnu-emacs@gnu.org; Sat, 07 Oct 2023 08:29:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=magnaspesmeretrix.org; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:Cc:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jmkUtiMhmWnm7AY4RGiBE9+13a1aqjc0ZgLnuSdks9k=; b=j4OuYufzZXxsQQ/Hqm+LiqJ3Wt iyB65KDki0IDDH8wl7+paiA+Llc3dwAnUJq1NoypQQxnoWkajkkL4d4AK0u3R4Ux9fyKrsZ7ckYwL ZKdsfM0dtinXHDvYxwagsLaMQ; Original-Received: from [88.94.196.62] (port=46790 helo=[10.0.0.18]) by manu28.manufrog.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.1) (envelope-from ) id 1qp6Qd-00DUQX-0n; Sat, 07 Oct 2023 14:29:04 +0200 Content-Language: en-GB, en-US In-Reply-To: <87cyxqaav4.fsf@penguin> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - manu28.manufrog.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - magnaspesmeretrix.org X-Get-Message-Sender-Via: manu28.manufrog.com: authenticated_id: luca@magnaspesmeretrix.org X-Authenticated-Sender: manu28.manufrog.com: luca@magnaspesmeretrix.org Received-SPF: pass client-ip=138.128.182.226; envelope-from=luca@magnaspesmeretrix.org; helo=manu28.manufrog.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-0.644, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145234 Archived-At: 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 writes: > >> On Sat, 7 Oct 2023 at 06:52, Byung-Hee HWANG 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 >