[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems building Emacs on macOS Sonoma 14.7.4 aarch
From: |
Pierre Rouleau |
Subject: |
Problems building Emacs on macOS Sonoma 14.7.4 aarch |
Date: |
Sun, 23 Mar 2025 17:02:13 -0400 |
Hi all,
I've been trying to build emacs on a macOS Sonoma 14.7.4 without success so
far.
I tried building with the macOS provided clang system and also with gcc-14
toolchain with pretty much the same outcome.
I tried building from the git repo at emacs-30 and emacs-30.1 tags. Also
with pretty much the same outcome.
- I executed a complete clean of the repo.
- then executed ./autogen.sh, ./configure, make
The make ended up with
rm -f emacs && cp -f temacs emacs
make[4]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs/src'
/opt/homebrew/bin/gmkdir -p
/Users/roup/my/dvpub/emacs-repos/emacs/nextstep/Emacs.app/Contents/MacOS
cp -f ../src/emacs
/Users/roup/my/dvpub/emacs-repos/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs
make[3]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs/nextstep'
make[2]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs/src'
make -C lisp all
make[2]: Entering directory '/Users/roup/my/dvpub/emacs-repos/emacs/lisp'
ELC international/titdic-cnv.elc
desired fingerprint:
a77c8bdbeb375aaa14d9197e1b34491b66209472a4f43adf97d644df80cd9c47
found fingerprint:
5e53d193b39f8a244271fe0e867bb1d61b361310d94ec3faeb3ab8170b682837
emacs: could not load dump file
"/Users/roup/my/dvpub/emacs-repos/emacs/src/emacs.pdmp": not built for this
Emacs executable
make[2]: *** [Makefile:335: international/titdic-cnv.elc] Error 1
make[2]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs/lisp'
make[1]: *** [Makefile:537: lisp] Error 2
make[1]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs'
make[1]: Entering directory '/Users/roup/my/dvpub/emacs-repos/emacs'
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=1", which displays the full commands invoked by make,
*** to further investigate the problem
***
make[1]: *** [Makefile:418: advice-on-failure] Error 2
make[1]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs'
make: *** [Makefile:374: all] Error 2
>2@16:35:10 L1 roup@macStudio1:[~/my/dvpub/emacs-repos/emacs]
git:(emacs-30)emacs
zsh%
Then I did a make bootstrap and ended up with:
load-with-code-conversion("/Users/roup/my/dvpub/emacs-repos/emacs/lisp/emacs-lisp/cl-preloaded.el"
"/Users/roup/my/dvpub/emacs-repos/emacs/lisp/emacs-lisp/cl-preloaded.el"
nil nil)
load("emacs-lisp/cl-preloaded")
load("loadup.el")
Eager macro-expansion failure: (void-function define-inline)
make[3]: *** [Makefile:1016: bootstrap-emacs.pdmp] Error 255
make[3]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs/src'
make[2]: *** [Makefile:554: src] Error 2
make[2]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs'
make[2]: Entering directory '/Users/roup/my/dvpub/emacs-repos/emacs'
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=1", which displays the full commands invoked by make,
*** to further investigate the problem
***
make[2]: *** [Makefile:418: advice-on-failure] Error 2
make[2]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs'
make[1]: *** [Makefile:374: all] Error 2
make[1]: Leaving directory '/Users/roup/my/dvpub/emacs-repos/emacs'
>2@16:43:50 L1 roup@macStudio1:[~/my/dvpub/emacs-repos/emacs]
git:(emacs-30)emacs
zsh%
I then tried:
- make extraclean
- make bootstrap
- make V=1
Nothing seems to complete the build.
Is there a specific set of instructions to built Emacs on macOS? I was
able to build it from Linux, but macOS seems a little more difficult.
Any pointers as to what I might want to look into?
Thanks
--
/Pierre
- Problems building Emacs on macOS Sonoma 14.7.4 aarch,
Pierre Rouleau <=