Open pklim101 opened 1 year ago
brew --version Homebrew 3.6.15 Homebrew/homebrew-core (git revision 1ec573e932b; last commit 2022-12-18) Homebrew/homebrew-cask (git revision 3ff0159ed3; last commit 2022-12-18)
brew install --HEAD universal-ctags/universal-ctags/universal-ctags ==> Fetching universal-ctags/universal-ctags/universal-ctags ==> Cloning https://github.com/universal-ctags/ctags.git Updating /Users/libo56/Library/Caches/Homebrew/universal-ctags--git ==> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. HEAD is now at bec7905e Merge pull request #3602 from masatake/c++--consteval ==> Installing universal-ctags from universal-ctags/universal-ctags ==> ./autogen.sh ==> ./configure --prefix=/opt/homebrew/Cellar/universal-ctags/HEAD-bec7905 ==> make Last 15 lines from /Users/libo56/Library/Logs/Homebrew/universal-ctags/03.make: make[2]: [ctags-faq.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory RST2MAN ctags-lang-iPythonCell.7.in RST2MAN ctags-lang-gdscript.7.in make[2]: [ctags-optlib.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory make[2]: [ctags-lang-asm.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory make[2]: [ctags-client-tools.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory make[2]: [ctags-lang-iPythonCell.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory make[2]: [ctags-lang-gdscript.7.in] Error 126 make[1]: [all-recursive] Error 1 make: [all] Error 2
python --version Python 3.9.7 whereis python /usr/bin/python
I install python by brew: brew install python
then: which -a python3 /opt/homebrew/bin/python3 /usr/bin/python3
/opt/homebrew/bin/python3 --version Python 3.10.9
Finaly, reinstall ctags: brew install --HEAD universal-ctags/universal-ctags/universal-ctags It's okay, maybe it needs that python version is 3.10 and path is under homebrew.
brew --version Homebrew 3.6.15 Homebrew/homebrew-core (git revision 1ec573e932b; last commit 2022-12-18) Homebrew/homebrew-cask (git revision 3ff0159ed3; last commit 2022-12-18)
brew install --HEAD universal-ctags/universal-ctags/universal-ctags ==> Fetching universal-ctags/universal-ctags/universal-ctags ==> Cloning https://github.com/universal-ctags/ctags.git Updating /Users/libo56/Library/Caches/Homebrew/universal-ctags--git ==> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. HEAD is now at bec7905e Merge pull request #3602 from masatake/c++--consteval ==> Installing universal-ctags from universal-ctags/universal-ctags ==> ./autogen.sh ==> ./configure --prefix=/opt/homebrew/Cellar/universal-ctags/HEAD-bec7905 ==> make Last 15 lines from /Users/libo56/Library/Logs/Homebrew/universal-ctags/03.make: make[2]: [ctags-faq.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory RST2MAN ctags-lang-iPythonCell.7.in RST2MAN ctags-lang-gdscript.7.in make[2]: [ctags-optlib.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory make[2]: [ctags-lang-asm.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory make[2]: [ctags-client-tools.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory make[2]: [ctags-lang-iPythonCell.7.in] Error 126 /bin/sh: /opt/homebrew/opt/docutils/bin/rst2man: /opt/homebrew/opt/python@3.10/bin/python3.10: bad interpreter: No such file or directory make[2]: [ctags-lang-gdscript.7.in] Error 126 make[1]: [all-recursive] Error 1 make: [all] Error 2