[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_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