all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: build from source code
Date: Sun, 05 Sep 2021 17:07:34 +0200	[thread overview]
Message-ID: <87wnnvkqmh.fsf@zoho.eu> (raw)
In-Reply-To: yw911ggork9.fsf@vsykf.oak-birch

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




  reply	other threads:[~2021-09-05 15:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05 10:57 build from source code 황병희
2021-09-05 15:07 ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-09-05 15:17   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-06  6:54   ` Pankaj Jangid
2021-09-06  7:03     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-06 12:31       ` Pankaj Jangid
2021-09-07  2:04         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-07 11:07   ` Byung-Hee HWANG

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnnvkqmh.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.