Open guzishiwo opened 1 year ago
From the logs I guess you installed with --with-natural-title-bar
? Could you tell me if other options be used?
A failure during autogen.sh
is quite rarely seen. Could you try remove ~/Library/Caches/Homebrew/emacs-mac--*
and brew cleanup
and try again?
From the logs I guess you installed with
--with-natural-title-bar
? Could you tell me if other options be used?A failure during
autogen.sh
is quite rarely seen. Could you try remove~/Library/Caches/Homebrew/emacs-mac--*
andbrew cleanup
and try again?
Thank you reply I tried to remove ~/library/caches/homebrew/emacs-MAC-* as you said, and continue to install emacs but it still fail
➜ rm -fr ~/Library/Caches/Homebrew/emacs-mac--*
➜ brew cleanup
Warning: Skipping cocoapods: most recent version 1.12.1 not installed
Warning: Skipping dart-lang/dart/dart: most recent version 2.19.6 not installed
Warning: Skipping docker: most recent version 23.0.4 not installed
Warning: Skipping fastlane: most recent version 2.212.2 not installed
Warning: Skipping fzf: most recent version 0.39.0 not installed
Warning: Skipping libgit2: most recent version 1.6.4 not installed
Warning: Skipping node: most recent version 20.0.0 not installed
Warning: Skipping ruby: most recent version 3.2.2 not installed
Warning: Skipping ruby@3.1: most recent version 3.1.4 not installed
Warning: Skipping rust: most recent version 1.68.2 not installed
Warning: Skipping tmux: most recent version 3.3a_2 not installed
➜ brew install emacs-mac
Warning: Treating emacs-mac as a formula. For the cask, use railwaycat/emacsmacport/emacs-mac
==> Fetching railwaycat/emacsmacport/emacs-mac
==> Downloading https://raw.githubusercontent.com/railwaycat/homebrew-emacsmacport/667f0efc08506facfc6963ac1fd1d5b9b777e094/patches/multi-tty-27.diff
Already downloaded: /Users/indie/Library/Caches/Homebrew/downloads/8a6c12e323fded340e400b297b7cf56254dc256768d95a99b74d9d2b0cb3806a--multi-tty-27.diff
==> Downloading https://bitbucket.org/mituharu/emacs-mac/get/emacs-28.2-mac-9.1.tar.gz
Already downloaded: /Users/indie/Library/Caches/Homebrew/downloads/a6ffcc21ac6193b6a9d0b00ee6452f7651b79680cb54aef6726aaadc072f5eca--mituharu-emacs-mac-7ec68b6ffd2d.tar.gz
==> Installing emacs-mac from railwaycat/emacsmacport
==> Patching
==> Applying multi-tty-27.diff
patching file 'lisp/server.el'
patching file 'src/frame.c'
patching file 'src/macterm.c'
==> ./autogen.sh
Last 15 lines from /Users/indie/Library/Logs/Homebrew/emacs-mac/01.autogen.sh:
2023-05-03 11:59:19 +0000
./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65) ... ok
Your system has the required tools.
Building aclocal.m4 ...
Running 'autoreconf -fi -I m4' ...
Array found where operator expected at /usr/local/opt/autoconf/bin/autoreconf line 248, near "merge_WARNINGS @warning"
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/railwaycat/homebrew-emacsmacport/issues
These open issues may also help:
Emacs.app installed via `brew install emacs-mac` not launching on macOS 13.0 Ventura (M1) https://github.com/railwaycat/homebrew-emacsmacport/issues/313
Error: emacs-mac: Failed to download resource "emacs-mac--patch" https://github.com/railwaycat/homebrew-emacsmacport/issues/298
emacs-mac fails to build with natural title bar https://github.com/railwaycat/homebrew-emacsmacport/issues/250
❯ brew upgrade emacs-mac Error: no cask support for Mojave(10.14) https://github.com/railwaycat/homebrew-emacsmacport/issues/293
emacs-mac on big sur 11.3.1 doesn't redraw correctly in search mode https://github.com/railwaycat/homebrew-emacsmacport/issues/253
I have the same problem on macOS 15.0 (24A335)
System: Version 13.3.1 (22E261) Computer: Macbook Pro(2020) brew install failed log