:/data/data/org.gnu.emacs/files/.emacs.d.doom/bin $ ls
ls
doom doom.cmd doomscript org-capture org-tangle
:/data/data/org.gnu.emacs/files/.emacs.d.doom/bin $ doom install
doom install
/system/bin/sh: doom: inaccessible or not found
:/data/data/org.gnu.emacs/files/.emacs.d.doom/bin $ ls
ls
doom doom.cmd doomscript org-capture org-tangle
:/data/data/org.gnu.emacs/files/.emacs.d.doom/bin $ ./doom install
./doom install
/system/bin/sh: ./doom: No such file or directory
126|:/data/data/org.gnu.emacs/files/.emacs.d.doom/bin $ doom
doom
/system/bin/sh: /data/data/com.termux/files/usr/bin/doom: No such file or directory
:/data/data/org.gnu.emacs/files/.emacs.d.doom/bin $ /data/data/org.gnu.emacs/files/.emacs.d.doom/bin/doom
/data/data/org.gnu.emacs/files/.emacs.d.doom/bin/doom
/system/bin/sh: /data/data/org.gnu.emacs/files/.emacs.d.doom/bin/doom: No such file or directory
:/data/data/org.gnu.emacs/files/.emacs.d.doom/bin $ emacs --version
emacs --version
GNU Emacs 30.0.50
Copyright (C) 2024 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
termux安装的工具链也可以在emacs中调用
:/data/data/org.gnu.emacs/files/.emacs.d.doom/bin $ which git
which git
/data/data/com.termux/files/usr/bin/git
但就是找不到doom……
另外,termux安装的工具链有的能用,有的不能,例如mpv就会报错:
CANNOT LINK EXECUTABLE "mpv": cannot locate symbol "_Z17createHeifDecoderv" referenced by "/system/lib64/libhwui.so"
:/data/data/org.gnu.emacs/files/.emacs.d.doom/bin $ emacs --version
emacs --version
GNU Emacs 30.0.50
Copyright (C) 2024 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
./doom 可能需要调整其中的 shebang,将:
#!/usr/bin/env sh
改变为
#!/system/bin/sh
CANNOT LINK EXECUTABLE "mpv": cannot locate symbol "_Z17createHeifDecoderv" referenced by "/system/lib64/libhwui.so"