all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* build from source code
@ 2021-09-05 10:57 황병희
  2021-09-05 15:07 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 8+ messages in thread
From: 황병희 @ 2021-09-05 10:57 UTC (permalink / raw)
  To: help-gnu-emacs

Hellow

I am using now GNU Emacs 27.1 under Debian 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!

Sincerley, Gnus fan Byung-Hee 




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build from source code
  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
  2021-09-05 15:17   ` Emanuel Berg via Users list for the GNU Emacs text editor
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-09-05 15:07 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build from source code
  2021-09-05 15:07 ` Emanuel Berg via Users list for the GNU Emacs text editor
@ 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-07 11:07   ` Byung-Hee HWANG
  2 siblings, 0 replies; 8+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-09-05 15:17 UTC (permalink / raw)
  To: help-gnu-emacs

> $ 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/"

Or better,

$ lsb_release -d -s
Debian GNU/Linux 11 (bullseye)

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build from source code
  2021-09-05 15:07 ` Emanuel Berg via Users list for the GNU Emacs text editor
  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-07 11:07   ` Byung-Hee HWANG
  2 siblings, 1 reply; 8+ messages in thread
From: Pankaj Jangid @ 2021-09-06  6:54 UTC (permalink / raw)
  To: help-gnu-emacs

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

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

If you use ‘eww’ to read HTML then do install the package ‘libxml2-dev’
otherwise the default build will disable this feature. I discovered it
when I saw raw HTML in some emails where ‘text/plain’ part was not sent.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build from source code
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-09-06  7:03 UTC (permalink / raw)
  To: help-gnu-emacs

Pankaj Jangid wrote:

> If you use ‘eww’ to read HTML then do install the package
> ‘libxml2-dev’ otherwise the default build will disable this
> feature. I discovered it when I saw raw HTML in some emails
> where ‘text/plain’ part was not sent.

I'm not following?

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build from source code
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Pankaj Jangid @ 2021-09-06 12:31 UTC (permalink / raw)
  To: help-gnu-emacs

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Pankaj Jangid wrote:
>
>> If you use ‘eww’ to read HTML then do install the package
>> ‘libxml2-dev’ otherwise the default build will disable this
>> feature. I discovered it when I saw raw HTML in some emails
>> where ‘text/plain’ part was not sent.
>
> I'm not following?

The default web-browser in Emacs is ‘eww’. You need to install the
Debian package ‘libxml2-dev’ to build Emacs with a functioning ‘eww’.

So,

apt install libxml2-dev





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build from source code
  2021-09-06 12:31       ` Pankaj Jangid
@ 2021-09-07  2:04         ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 8+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-09-07  2:04 UTC (permalink / raw)
  To: help-gnu-emacs

Pankaj Jangid wrote:

>>> If you use ‘eww’ to read HTML then do install the package
>>> ‘libxml2-dev’ otherwise the default build will disable
>>> this feature. I discovered it when I saw raw HTML in some
>>> emails where ‘text/plain’ part was not sent.
>>
>> I'm not following?
>
> The default web-browser in Emacs is ‘eww’. You need to
> install the Debian package ‘libxml2-dev’ to build Emacs with
> a functioning ‘eww’.
>
> So,
>
> apt install libxml2-dev

Maybe that is done with line 13,

  sudo apt-get build-dep emacs

?

Anyway `eww' seems to work fine. I use Emacs-w3m which I get
from MELPA.

So that is installed _after_ building Emacs :)

https://dataswamp.org/~incal/conf/.zsh/install-emacs

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build from source code
  2021-09-05 15:07 ` Emanuel Berg via Users list for the GNU Emacs text editor
  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-07 11:07   ` Byung-Hee HWANG
  2 siblings, 0 replies; 8+ messages in thread
From: Byung-Hee HWANG @ 2021-09-07 11:07 UTC (permalink / raw)
  To: help-gnu-emacs

> 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

Thanks Emanuel^^^

Sincerely, Gnus fan Byung-Hee




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-07 11:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.