我正在尝试在 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。或者,这可能只是应用程序中的错误处理不当,而且只是权限问题。