作成日 :
最終更新日: 2023-03-18 Sat 20:56
ホーム | 文書トップ | 目次

Emacsビルド(28.2、Ubuntu20.04)

Table of Contents

概要

  • 2023.03.11

参考

ソースの確認

手順

$ sudo apt install autoconf make texinfo gnutls-bin
$ mkdir source
$ cd source/
$ git clone --depth 1 --branch emacs-28 git://git.savannah.gnu.org/emacs.git
$ git clone --depth 1 --branch emacs-28.2 git://git.savannah.gnu.org/emacs.git
$ sudo apt autoremove
$ sudo apt install autoconf make texinfo gnutls-bin libgccjit-10-dev
$ sudo apt install gcc
$ sudo apt install zlib1g-dev
$ sudo apt install libncurses-dev
$ sudo apt install libncurses-dev
$ sudo apt install libgtk-3-dev
$ sudo apt install xorg-dev
$ sudo apt install libjpeg-dev
$ sudo apt install libgif-dev
$ sudo apt install libtiff-dev
$ sudo apt install libgnutls28-dev
$ sudo apt install librsvg2-dev
$ sudo apt install libcairo-5c-dev
$ sudo apt install liblcms2-dev
$ sudo apt install libgpm-dev
$ sudo apt install libacl1-dev
$ sudo apt install libxml2-dev
$ sudo apt install libm17n-dev
$ sudo apt install libotf-dev
$ sudo apt install libsystemd-dev
$ sudo apt install libjansson-dev
$ ./autogen.sh
$ CFLAGS='-I/usr/lib/gcc/x86_64-linux-gnu/10/include -L/usr/lib/gcc/x86_64-linux-gnu/10' ./configure --with-native-compilation --without-pop
Configured for 'x86_64-pc-linux-gnu'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -I/usr/lib/gcc/x86_64-linux-gnu/10/include -L/usr/lib/gcc/x86_64-linux-gnu/10
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK3
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use a png library?                           yes -lpng16 -lz
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use cairo?                                   yes
  Does Emacs use -llcms2?                                 yes
  Does Emacs use imagemagick?                             no
  Does Emacs use native APIs for images?                  no
  Does Emacs support sound?                               yes
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               yes
  Does Emacs use a file notification library?             yes -lglibc (inotify)
  Does Emacs use access control lists?                    yes -lacl
  Does Emacs use -lselinux?                               yes
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use HarfBuzz?                                yes
  Does Emacs use -lm17n-flt?                              yes
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   no
  Does Emacs use -lsystemd?                               yes
  Does Emacs use -ljansson?                               yes
  Does Emacs use the GMP library?                         yes
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                yes
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets?                            no
  Does Emacs have threading support in lisp?              yes
  Does Emacs support the portable dumper?                 yes
  Does Emacs support legacy unexec dumping?               no
  Which dumping strategy does Emacs use?                  pdumper
  Does Emacs have native lisp compiler?                   yes


configure: creating ./config.status
config.status: creating src/verbose.mk
config.status: creating src/emacs-module.h
config.status: creating Makefile
config.status: creating lib/gnulib.mk
config.status: creating ./doc/man/emacs.1
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating nextstep/Makefile
config.status: creating nt/Makefile
config.status: creating test/Makefile
config.status: creating admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
configure: You might want to install GNU Mailutils
<https://mailutils.org> and use './configure --with-mailutils'.
make
sudo make install
ホーム | 文書トップ | 目次
Created by Emacs 28.2 (Org mode 9.5.5)