Still struggling to get Emacs built on the Mac
Seems the gccjit gets borked, and I'm struggling to get it unborked.
This commit is contained in:
parent
da0919d558
commit
ca2288a73f
1 changed files with 17 additions and 7 deletions
|
@ -28,20 +28,30 @@ I find that I need to … at least, on my work computer, install two different v
|
|||
#+end_src
|
||||
And the following for “work”:
|
||||
#+begin_src sh
|
||||
brew install emacs-plus@29 --with-native-comp --with-elrumo1-icon
|
||||
brew install emacs-plus@29 --with-native-comp --with-mailutils --with-elrumo1-icon
|
||||
#+end_src
|
||||
** Ouchie
|
||||
Sometimes get the following error:
|
||||
#+begin_example
|
||||
ld: symbol(s) not found for architecture x86_64
|
||||
#+end_example
|
||||
And [[https://duckduckgo.com/?q=brew+ld%3A+symbol(s)+not+found+for+architecture+x86_64&t=ffab&ia=web][web searches]] yield mixed results. To solve, I:
|
||||
* =brew uninstall emacs-plus@28=
|
||||
* =brew update=
|
||||
* =brew upgrade=
|
||||
* =brew reinstall libgccjit=
|
||||
(Oh, and I made sure that =brew doctor= was clean…enough)
|
||||
|
||||
And [[https://duckduckgo.com/?q=brew+ld%3A+symbol(s)+not+found+for+architecture+x86_64&t=ffab&ia=web][web searches]] yield mixed results. To solve, first /re-touch/ the environment (as it appears the problem is that some dependent library is now out-of-date compared to operating system installation):
|
||||
#+begin_src sh
|
||||
brew update
|
||||
brew upgrade
|
||||
#+end_src
|
||||
|
||||
Next make sure that all the dependencies are /reinstalled/ with the current operating system:
|
||||
#+begin_src sh
|
||||
brew reinstall $(brew deps emacs-plus@29)
|
||||
#+end_src
|
||||
|
||||
Then reinstall the =libgccjit= (as it doesn’t seem to get picked up with the /deps/ listing):
|
||||
#+begin_src sh
|
||||
brew uninstall --ignore-dependencies libgccjit
|
||||
brew install libgccjit
|
||||
#+end_src
|
||||
* Supporting Packages
|
||||
Now install all the extras:
|
||||
#+begin_src sh
|
||||
|
|
Loading…
Reference in a new issue