![在 Alpine Linux 下以用户身份运行 ./configure 脚本](https://linux22.com/image/168007/%E5%9C%A8%20Alpine%20Linux%20%E4%B8%8B%E4%BB%A5%E7%94%A8%E6%88%B7%E8%BA%AB%E4%BB%BD%E8%BF%90%E8%A1%8C%20.%2Fconfigure%20%E8%84%9A%E6%9C%AC.png)
我正在尝试在 Alpine Linux 下从源代码编译一个程序。当我./configure
在 root 下运行时,一切顺利,但是当我像普通用户一样时,我得到:
./configure: This script requires a shell more modern than all
./configure: the shells that I found on your system.
./configure: Please tell [email protected] about your system,
./configure: including any error possibly output before this
./configure: message. Then install a modern shell, or manually run
./configure: the script under such a shell if you do have one.
我每次都尝试过同样的bash
消息ash
。sh
在网上和这个网站上搜索了解决方案,但找不到。知道我做错了什么吗?
答案1
也许 root 有权执行用户无权执行的 shell。或者,这可能只是应用程序中的错误处理不当,而且只是权限问题。