[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build from source code

From: Emanuel Berg
Subject: Re: build from source code
Date: Sun, 05 Sep 2021 17:07:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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="11 (bullseye)"

> 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:

local EMACS_SRC=
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

# configure --with-x-toolkit=no
# make
# sudo make install

underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]