Created
July 31, 2017 18:07
-
-
Save danielrmeyer/35702082b07d5eb75f3754ce8985e907 to your computer and use it in GitHub Desktop.
build emacs in your home dir on minimal server without X and stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make | |
./configure --prefix=/home/<yourhome>/ --with-x-toolkit=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Commenting here as this is a top search engine hit; the configure suggestion here is useful.
Use
./autogen.sh
as the first step instead ofmake
:./autogen.sh ./configure --prefix=$HOME --with-x-toolkit=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no make make install
Running
make
first can work becausemake
determines that it should run./autogen.sh
, but it will also run configure and start building on its own (resulting in "wasted" CPU cycles asemacs
will be rebuilt after the next./configure
). Here's whatmake
says if run before./autogen.sh
:The Emacs README has detail on 'autogen.sh':