Closed
Description
Hi, I just installed emscripten 1.39.16 via the Arch Linux package.
When I run emcc --version
I get this onm the first run:
==============================================================================
Welcome to Emscripten!
This is the first time any of the Emscripten tools has been run.
A settings file has been copied to ~/.emscripten, at absolute path: /home/jendrik/.emscripten
It contains our best guesses for the important paths, which are:
LLVM_ROOT = /usr/bin
NODE_JS = /usr/bin/node
EMSCRIPTEN_ROOT = /usr/lib/emscripten
Please edit the file if any of those are incorrect.
This command will now exit. When you are done editing those paths, re-run it.
==============================================================================
When I run it again, I get an error:
Traceback (most recent call last):
File "/usr/lib/emscripten/emcc.py", line 42, in <module>
import emscripten
File "/usr/lib/emscripten/emscripten.py", line 25, in <module>
from tools import shared
File "/usr/lib/emscripten/tools/shared.py", line 3501, in <module>
check_vanilla()
File "/usr/lib/emscripten/tools/shared.py", line 660, in check_vanilla
is_vanilla_file = temp_cache.get('is_vanilla.txt', get_vanilla_file)
File "/usr/lib/emscripten/tools/cache.py", line 110, in get
self.acquire_cache_lock()
File "/usr/lib/emscripten/tools/cache.py", line 60, in acquire_cache_lock
self.filelock.acquire(60)
File "/usr/lib/emscripten/tools/filelock.py", line 240, in acquire
self._acquire()
File "/usr/lib/emscripten/tools/filelock.py", line 360, in _acquire
fd = os.open(self._lock_file, open_mode)
PermissionError: [Errno 13] Permission denied: '/usr/lib/emscripten/cache.lock'
Why is it trying to write in /usr/lib/emscripten?
Metadata
Metadata
Assignees
Labels
No labels