3
4

More than 3 years have passed since last update.

GNU Emacs 28.0.50 (build 1, aarch64-apple-darwin20.3.0, NS appkit-2022.30 Version 11.2 (Build 20D64))

Last updated at Posted at 2021-02-07

introduction

Macを購入したらまず初めにEmacsをビルドします。M1 MacBook Airを買ってもとーぜん。。。

スクリーンショット 2021-02-07 10.34.00.png

environment

  • macOS: M1, Intel
  • xcode
  • MacPorts: autoconf, texinfo

build

#!/bin/sh

EMACSDIR=Emacs
JOBS=4

if test ! -e /opt/local/bin/autoconf; then
    echo "sudo port install autoconf"
    exit 0
fi

export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin

cd /tmp

git clone --depth 1 https://git.savannah.gnu.org/git/emacs.git $EMACSDIR

cd /tmp/$EMACSDIR
sh autogen.sh

mkdir build
cd build
../configure --with-ns --without-makeinfo --with-gnutls=no

make -j $JOBS || (echo "falure exit" ; exit)
make install

open /tmp/$EMACSDIR/build/nextstep

exit 0

Note

Trumpで相手がmacOSのァイルを開けないのは何故だろう。
Raspberry Pi (Ubuntu)相手なら開けるのに。
ここではGnuTLSを使ってないけど、--with-gnutlsでもダメ。
どうすれば解決しますかね。

C-x C-f /ssh:hostname: 
3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4