../emmake Makefile Error: Exception thrown when invokin-6ren">
gpt4 book ai didi

makefile - Emscripten "Permission Denied"即使我 sudo enmake

转载 作者:行者123 更新时间:2023-12-01 12:47:05 25 4
gpt4 key购买 nike

我正在玩 emscripten 并且我不断收到这个令人困惑的消息

|[413077]-$>../emmake Makefile
Error: Exception thrown when invoking Popen in make with args: "Makefile"!
Traceback (most recent call last):
File "../emmake", line 24, in <module>
shared.Building.make(sys.argv[1:])
File "/Users/jkirchartz/Dropbox/emscripten/tools/shared.py", line 670, in make
Popen(args, stdout=stdout, stderr=stderr, env=env).communicate()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied

但即使我使用 sudo我犯了同样的错误:
|[254829]-$>sudo !!
sudo ../emmake Makefile
Password:
Error: Exception thrown when invoking Popen in make with args: "Makefile"!
Traceback (most recent call last):
File "../emmake", line 24, in <module>
shared.Building.make(sys.argv[1:])
File "/Users/jkirchartz/Dropbox/emscripten/tools/shared.py", line 670, in make
Popen(args, stdout=stdout, stderr=stderr, env=env).communicate()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied

我在 sudoer 的名单上,我有 root 访问权限……但无论我做什么,我的权限都被拒绝。有任何想法吗?

最佳答案

emmake预计make可执行作为参数,而不是 Makefile .试试看 ../emmake make .

关于makefile - Emscripten "Permission Denied"即使我 sudo enmake,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14907846/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com