6

我在玩 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 访问权限……但无论我做什么,我都会被拒绝。有任何想法吗?

4

2 回答 2

3

emmake期望make可执行文件作为参数,而不是Makefile. 试试看../emmake make

于 2013-10-31T14:59:53.543 回答
2

所有 Building.make() 所做的就是调用make. 检查您是否可以make在命令行上手动运行自己。

于 2013-02-19T00:39:52.910 回答