Emscripten logo

ERROR:root:We cannot build the native system library in “~/.emscripten_ports/binaryen/binaryen-version_48” when under the influence of emmake/emconfigure. To avoid this, create system dirs beforehand, so they are not auto-built on demand. For example, for binaryen, do “python embuilder.py build binaryen”
ERROR:root:a problem occurred when using an emscripten-ports library. try to run emcc –clear-ports and then run this command again

Π Π΅ΡˆΠ°Π΅Ρ‚ΡΡ эта ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌΠ° двумя ΠΊΠΎΠΌΠ°Π½Π΄Π°ΠΌΠΈ:

emcc --clear-ports
python embuilder.py build binaryen

ΠŸΡ€ΠΈ Π²ΠΎΠ·Π½ΠΈΠΊΠ½ΠΎΠ²Π΅Π½ΠΈΠΈ сообщСния ΠΎΠ± ошибкС Β«can’t open file ’embuilder.py’: [Errno 2] No such file or directoryΒ», ΡƒΠΊΠ°ΠΆΠΈΡ‚Π΅ ΠΏΠΎΠ»Π½Ρ‹ΠΉ ΠΏΡƒΡ‚ΡŒ ΠΊ Ρ‚Π΅ΠΊΡƒΡ‰Π΅ΠΉ вСрсии embuilder.py. Π’ ΠΌΠΎΠ΅ΠΌ случаС ΠΏΡƒΡ‚ΡŒ получаСтся Ρ‚Π°ΠΊΠΎΠΉ:

python /usr/local/Cellar/emscripten/1.38.5/libexec/embuilder.py build binaryen