Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emscripten "Permission Denied" even when I sudo enmake

I'm playing around with emscripten and I keep getting this confusing message

|[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

but even if I use sudo I get the same error:

|[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

I'm on the sudoer's list, I have root access... but no matter what I do I get permission denied. Any ideas?

like image 785
JKirchartz Avatar asked Feb 16 '13 06:02

JKirchartz


1 Answers

emmake expects the make executable as parameter, not Makefile. Just try ../emmake make.

like image 170
kranich Avatar answered Sep 20 '22 12:09

kranich