From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: build from source code Date: Sun, 05 Sep 2021 17:07:34 +0200 Message-ID: <87wnnvkqmh.fsf@zoho.eu> References: Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13885"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:MhSs7UuU0ObmFEMr6UkcQvViYTI= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 05 17:08:38 2021 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 1mMtl7-0003TH-QP for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 17:08:37 +0200 Original-Received: from localhost ([::1]:46540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMtl6-0003PI-Pv for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 11:08:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMtkI-0003P8-KC for help-gnu-emacs@gnu.org; Sun, 05 Sep 2021 11:07:46 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:56682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMtkF-0004Y6-Tl for help-gnu-emacs@gnu.org; Sun, 05 Sep 2021 11:07:46 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mMtkE-0002Uw-Ak for help-gnu-emacs@gnu.org; Sun, 05 Sep 2021 17:07:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:132899 Archived-At: soyeomul wrote: > I am using now GNU Emacs 27.1 under Debian 11 Bullseye. I'm also on Debian but I run M-x emacs-version RET GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2021-08-27 $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" > By the way for some reason, i would like to get 27.2 > version. Actually i did fail to search new package GNU Emacs > 27.2 in Debian Project repository. So i have to try a way of > build manually? > > Any guidence and comments welcome! This works for the me with 28.0, perhaps you don't need the "reset" part ... #! /bin/zsh # # this file: # http://user.it.uu.se/~embe8573/conf/.zsh/install-emacs # https://dataswamp.org/~incal/conf/.zsh/install-emacs local EMACS_SRC=https://git.savannah.gnu.org/git/emacs.git local EMACS_DIR=~/src emacs-install-prepare () { sudo apt-get -qq update sudo apt-get install build-essential sudo apt-get build-dep emacs } emacs-src-reset () { cd $EMACS_DIR git reset --hard git clean -xdf git pull $EMACS_SRC } alias emacs-reset-src=emacs-src-reset emacs-src-get () { cd $EMACS_DIR git clone $EMACS_SRC } alias emacs-get-src=emacs-src-get # autogen.sh # configure --with-x-toolkit=no # make # sudo make install -- underground experts united https://dataswamp.org/~incal