Questions tagged [build]

Building Emacs from source

This tag is about building Emacs from its source code. For questions about running compilers and more generally building programs from within Emacs, see .

55 questions
30
votes
3 answers

Does emacs have an option to display build settings?

Does emacs have an option or some internal command that displays build time settings and whatever features it supports? A good example is the nginx -V command which lists the ./configure options it was compiled with.
vfclists
  • 1,347
  • 1
  • 11
  • 28
12
votes
2 answers

Is there an X11-free build of Emacs that can run on Wayland (not going through XWayland)

I am running Wayland on Ubuntu 18.04. According to the Wayland FAX, one of it's advantages, compared to X11, is that Wayland allows better isolation between processes: one window cannot access resources from, or inject keystrokes into, another…
Craig Hicks
  • 304
  • 2
  • 9
12
votes
1 answer

OS X emacs: difference between X11 vs NS vs Cocoa?

I believe, there are three ways to build emacs on osx --- x11, ns (nextstep?), and cocoa. Can anyone explain what the build options mean / the difference between these three are?
user12502
11
votes
2 answers

Build a minimal Emacs 25 for unit testing

I would like to build a very minimal variant of Emacs trunk for unit-testing my Emacs Lisp package. The build needs no GUI, no image support, etc. It should should essentially just be a minimal Emacs Lisp interpreter with the core Emacs Lisp…
user227
10
votes
2 answers

How to build Emacs master branch (aka trunk) on MS-Windows

I took the plunge today and started out on my quest to build the most recent Emacs master branch developer build -- aka Emacs Trunk -- for MS-Windows. I found an old blog and went through the procedure, only to be met with an error message telling…
lawlist
  • 18,826
  • 5
  • 37
  • 118
8
votes
1 answer

installing emacs: which x-toolkit?

I am installing Emacs 24.5.0, and I want to install it with X. I am on Fedora. the configuration script cannot find any x-toolkit. How do I find out which one is good for me, and in which folder do I find it? Somewhere I have read that the x-toolkit…
simona
  • 403
  • 2
  • 4
  • 7
6
votes
0 answers

How to build Emacs without byte-compiling Lisp files

Q:  Is there an option to build Emacs without byte-compiling the Lisp files? BACKGROUND:  The length of time needed to build Emacs makes debugging / developing an extremely slow process. For example, the latest bug that I am working on debugging…
lawlist
  • 18,826
  • 5
  • 37
  • 118
6
votes
2 answers

building emacs in a docker container

Until very recently, I've been able to build emacs from source in a docker container using this recipe. However as of last week, all my builds have been failing with Warning: Your system has a gap between BSS and the heap (32188607 bytes). This…
fommil
  • 1,750
  • 11
  • 24
5
votes
3 answers

configure chooses the "wrong" libraries

I'm trying to build Emacs 26 from source but make fails ./temacs --batch --load loadup bootstrap ./temacs: error while loading shared libraries: libjpeg.so.9: cannot open shared object file: No such file or directory If I search for libjpeg.so I…
gboffi
  • 594
  • 2
  • 19
5
votes
1 answer

Installing Emacs from source: no 'configure' file

I wish to build the latest development version of Emacs from source. I've browsed to https://savannah.gnu.org/projects/emacs and executed the command suggested on the front page, namely git clone -b master git://git.sv.gnu.org/emacs.git I then read…
Evan Aad
  • 1,461
  • 1
  • 14
  • 29
5
votes
1 answer

Building Emacs 25 on CentOS *without admin rights*

I'm having a hard time getting Emacs to build under CentOS 7.1 where I don't have admin rights to install dependencies. After downloading Emacs sources I tried ./configure, and I found out that I was missing X libraries. I grabbed the gtk3-dev…
Daniel
  • 3,563
  • 16
  • 41
5
votes
1 answer

Error: compiled without dbus support?

I am running Emacs 24.5.1 (compiled) and Spacemacs v.0.105.4 on Ubuntu 12.04. When I try to use the spotify layer I get the following error: peculiar error: "Emacs not compiled with dbus support". How do I fix it?
3
votes
2 answers

Another way to install emacs on OS X using homebrew

It seems homebrew has removed all the options (incl. --with-cocoa) for brew install emacs. Now it recommends to use brew cask install emacs to get a built binary from https://emacsformacosx.com/. However, it is not clear to me which options are used…
skyork
  • 211
  • 2
  • 5
3
votes
2 answers

Emacs 26.1 configure script doesn't like the gnutls version on a RedHat sytem

Even though gnutls-devel.x86_64 is installed on my RedHat 6.6 system. How do I guide the configure script to the required libraries? [update 2018-06-03 after hint from Ian] In fact configure found the libraries but in config.log it says that the…
Dieter.Wilhelm
  • 1,836
  • 14
  • 25
3
votes
0 answers

How to run emacs under valgrind correctly?

I have tried running the official Fedora build of emacs under valgrind. It very quickly errors out due to thinking it has run out of memory. This is a known issue mentioned in the Valgrind documentation. The Valgrind documentation says to rebuild…
Robin Green
  • 949
  • 7
  • 16
1
2 3 4