docker中linux版本
cat /proc/version
Linux version 4.9.184-linuxkit (root@a8c33e955a82) (gcc version 8.3.0 (Alpine 8.3.0) ) #1 SMP Tue Jul 2 22:58:16 UTC 2019
方式一: apt失败
apt-get install emacs 失败
方式二:源码编译安装
下载: ftp://ftp.gnu.org/pub/gnu/emacs 或NJU Mirror tar -zxvf emacs-26.3.tar.gz
–without-x 仅用于控制台环境,如果需要GUI界面还要安装其它开发包
./configure --without-x --with-gnutls=no
编译
make
编译失败:
Makefile:740: recipe for target 'bootstrap-emacs' failed
make[1]: *** [bootstrap-emacs] Error 139
make[1]: Leaving directory '/notebooks/docker-env/emacs-26.3/src'
Makefile:421: recipe for target 'src' failed
make: *** [src] Error 2