Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [build]

Building Emacs from source

3
votes
1answer
496 views

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 ...
1
vote
1answer
33 views

Building on macOS with a prefix

When I pull 25.1 down from FTP and configure using the following (extrapolated from this run): curl -o "/tmp/emacs-25.1.tar.xz" "https://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.xz" tar xf "/tmp/emacs-25....
0
votes
2answers
417 views

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/. ...
0
votes
1answer
129 views

How can I tell if emacs was built with X support?

Is there a variable like system-configuration-options that will provide the computed features of the running emacs? Specifically, I'm looking for X support (--with-x=yes|no). Ultimately I'm trying ...
0
votes
1answer
47 views

How to know the current configuration options of the running Emacs?

How can I know the current configuration options, like with-cocoa, with-librsvg, with-modules(i.e. the options using when Emacs was built), of the running Emacs, programmatically?
0
votes
1answer
279 views

Emacs 26 build on RHEL6 has blank window frame

I just built Emacs 26.1 (stable) on Centos 6 (RHEL 6.9). When I fire up the executable with src/emacs -Q over X11 it shows an empty window with no minibuffer: I built Emacs without gnutls, but that ...
3
votes
2answers
2k views

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 ...
1
vote
0answers
101 views

-static flag leads to “error: C compiler cannot create executables”

The compiler here is gcc (v. 6.2.0). If I add -static to either LDFLAGS or CPPFLAGS, the ./configure step of an Emacs build fails, with the error configure: error: C compiler cannot create ...
1
vote
0answers
84 views

Cannot enable sound when building from source

I can't seem to enable sound support when building Emacs from source: Does Emacs support sound? no It does not seem to be doing anything even if I do: ./configure ...
3
votes
2answers
345 views

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 ...
1
vote
1answer
53 views

How to programmatically extract path to etags executable

Q:  Assuming that we open Emacs with a path to ../Emacs.app/Contents/MacOS/Emacs, how can we programmatically extract the path to etags located at ../Emacs.app/Contents/MacOS/bin/etags. [The location ...
1
vote
1answer
593 views

How to build Emacs for an embedded ARM Linux system

I am trying to build Emacs for an embedded ARM Linux system. Unfortunately, it is proving to be more difficult than I anticipated. I have the device mounted at /mnt/my_device. Now I am not sure ...
10
votes
2answers
2k views

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 ...
0
votes
1answer
276 views

Cannot open JPEG files in new emacs build

When I try to open jpeg images on a new emacs build I get the error message Cannot display image: (This Emacs mishandles this image file type) I compiled on Debian Jessie and the configure commands ...
1
vote
1answer
77 views

How do I resolve Ubuntu 16.04 emacs v46.1 default versus compiled v25.2-1 “downgrade”? [closed]

I'm working for the first time on an Ubuntu 16.04 LTS machine, and honestly I'm not sure if this is an emacs build/debian package question or if it's an Ubuntu 16.04 question. Please nudge me in the ...
0
votes
0answers
303 views

What Debian packages are needed to build Emacs from source?

I know that I can run sudo apt-get install emacs25, but (for reasons I don't want to get into) I want to build Emacs from source. In the past, in order to do this, I've had to apt-get install Debian ...
6
votes
0answers
82 views

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,...
0
votes
0answers
68 views

How to build and run Emacs from source with Eclipse?

I have just downloaded the latest version (Oxygen, Release 4.7.0) of the Eclipse IDE for C/C++ Developers, and would like to use it to build and run Emacs from source, which I have downloaded from the ...
0
votes
1answer
46 views

Downloaded 1996 Emacs (19.34), consulted INSTALL, no `configure` file

I'm trying to build Emacs 19.34 (which dates from 1996) because I'm interested in its historical behaviour. I've unpacked the archive and read the INSTALL file. That file seems to say that I should ...
3
votes
0answers
164 views

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 ...
9
votes
1answer
2k views

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?
5
votes
1answer
889 views

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 ...
0
votes
2answers
110 views

What's the lighest version of emacs for Ostro x86_64-unknown-linux-gnu?

Using Ostro on #IntelMaker #Joule, I've downloaded the earliest version of emacs available from https://ftp.gnu.org/pub/gnu/emacs/, and tried running configure, but it failed with a message that emacs ...
1
vote
0answers
381 views

Find All Dependencies Necessary for an Emacs Install Without X

I'm building a script to install a version of emacs (24.5 in this case) on a small server running on a raspberry pi. Since this will be in headless mode, I have no need for a GUI/X windows based ...
2
votes
1answer
111 views

Building emacs without certain packages/components

I'm a longtime Emacs user, and I've decided to take the plunge and build it myself, because I can, and because maybe I'd like to choose a different graphical toolkit. By the by, is there any way, when ...
3
votes
2answers
793 views

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 ...
1
vote
1answer
224 views

How to exclude ncurses when building Emacs from source

I have a building environment/setup that contains ncurses, and I am looking to build Emacs master branch without that library. I did not see any obvious option in the .configure --help dialog, or by ...
0
votes
1answer
97 views

Emacs build error when use “autogen.sh all” to generate configure for master branch

I just cloned the source and try to build Emacs under my debian Jessie, but has some problems: [23:31:04 coeus]$ ./autogen.sh all Checking whether you have the necessary tools... (Read INSTALL.REPO ...
1
vote
1answer
755 views

How can I build a GUI emacs on OS X?

I've downloaded a copy of GUI emacs from here and have been using it since then, but it crashes pretty often when I have 20+ frames opened. (I don't know if it's also the case for when there are just ...
3
votes
1answer
802 views

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". ...
11
votes
2answers
2k views

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 ...
8
votes
2answers
966 views

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 ...