![]() I configured my Emacs with the following options. ![]() If you need to have libxml2 first in your PATH, run:Įcho 'export PATH="/usr/local/opt/libxml2/bin:$PATH"' > ~/.zshrcįor compilers to find libxml2 you may need to set:Įxport LDFLAGS="-L/usr/local/opt/libxml2/lib"Įxport CPPFLAGS="-I/usr/local/opt/libxml2/include"įor pkg-config to find libxml2 you may need to set:Įxport PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig" Compile Here are the steps: Install dependenciesįollow the post-installation instruction from libxml2 to fix the path and environment variables. ![]() It took me several tries to get it right but I think I documented everything. Also it’s quite a satisfying experience to be able to compile Emacs from source. 1 It’s pretty cool to try the latest features like the native compilation and the native emoji before the stable releases. Recently I started to compile the Emacs master branch from source for daily use instead of using one of the popular formulas on Homebrew.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |