-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Emacs HEAD won't install #41630
Comments
Is it an issue with the way Hombrew install Emacs, or with Emacs itself? In the latter case, you should report it upstream. |
I suspect it is an issue from the way Homebrew installs Emacs.
|
This seems like an emacs bug, if |
Answer from upstream:
However, brew does not forward --without-ns to ./configure so I patched the formula and now it works fine: diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb
index 2af96ec..e52d466 100644
--- a/Library/Formula/emacs.rb
+++ b/Library/Formula/emacs.rb
@@ -98,7 +98,7 @@ class Emacs < Formula
args << "--with-x"
args << "--with-gif=no" << "--with-tiff=no" << "--with-jpeg=no"
else
- args << "--without-x"
+ args << "--without-x" << "--without-ns"
end
system "./configure", *args |
@creack Could you make a pull-request? Thanks! |
cf #41672 |
Closes Homebrew#41672. Closes Homebrew#41630. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
brew install emacs --HEAD
used to work fine. It does not anymore.brew install ctags
),brew install emacs --HEAD
will fail because the emacs' ctags bin gets removed. There is no choice but to dobrew install emacs --HEAD --with-ctags
.Error: No such file or directory - /usr/local/Cellar/emacs/HEAD/bin/ctags
brew install emacs --HEAD --with-ctags
works just fine with no error, however, it does not yield any binary:The text was updated successfully, but these errors were encountered: