Emacs 25.1 build and and troubleshooting
Table of Contents
Download archive
download source archive from GNU FTP
compile
# prepare sudo apt-get build-dep emacs ./configure --prefix=/usr --with-modules --host=x86_64-pc-linux-gnu --with-x-toolkit=lucid make -j4 sudo make install
troubleshooting
Symbol's function definition is void: eieio-make-class-predicate
remove all .elc files under ~/.emacs.d
if the problem still exists, try:
emacs --debug-init
then comment ralated package in init.el
Warning (bytecomp): reference to free variable ‘helm-alive-p’
grep 'helm-alive-p' * -R -n
the result shows:
elpa/sr-speedbar-20150804.951/sr-speedbar.el:633: (not helm-alive-p)
so i just comment sr-speedbar in init.el
elpa
operations
Emacs Lisp Package Archive
M-x list-packages
operation keys:
key | op |
i | Instatll |
u | Upgrade |
x | Execute |
configure
(package-initialize) (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("org-mode" . "http://orgmode.org/elpa/")))
some packages
go-mode lua-mode quickrun slime go-autocomplete google-c-style highlight-parentheses sr-speedbar linum-relative smex molokai-theme org