I have installed emscripten on Mac OSX using Portable Emscripten SDK for Linux and OS X, after following the instructions of installation, when I run:
$ ./emcc -v
I get this error:Traceback (most recent call last):
File "./emcc", line 52, in <module>
from tools import shared, jsrun, system_libs
ImportError: No module named tools
How can I solve this problem?
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No, there is no directory called "tools" at where emcc exists, ( at the top of the emscripten installation)
> You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
It looks like the attached image, but how to include missing folders?
On Mon, Jun 29, 2015 at 11:54 PM, Alon Zakai <alon...@gmail.com> wrote:
are none of those there? Perhaps try installing from scratch.
On Mon, Jun 29, 2015 at 1:38 PM, Samir Sabri <as3...@gmail.com> wrote:
No, there is no directory called "tools" at where emcc exists, ( at the top of the emscripten installation)
On Jun 29, 2015 8:39 PM, "Alon Zakai" <alon...@gmail.com> wrote:
>
> There should be a directory called "tools" at the top of the emscripten installation. Is it not there?
>
>
> On Sun, Jun 28, 2015 at 11:03 PM, Samir Sabri <as3...@gmail.com> wrote:
>>
>> I have installed emscripten on Mac OSX using Portable Emscripten SDK for Linux and OS X, after following the instructions of installation, when I run:
>>
>> $ ./emcc -v
>>
>> I get this error:
>>
>> Traceback (most recent call last):
>>
>> File "./emcc", line 52, in <module>
>>
>> from tools import shared, jsrun, system_libs
>>
>> ImportError: No module named tools
>>
>> How can I solve this problem?
>>
>>
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
> You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.
$ sudo ./emsdk install latest
Installing SDK 'sdk-tag-1.34.1-64bit'..
Installing tool 'clang-tag-e1.34.1-64bit'..
File '/Users/Apple/Downloads/emsdk_portable 2/zips/llvm-e1.34.1.tar.gz' already downloaded, skipping.
Unpacking '/Users/Apple/Downloads/emsdk_portable 2/zips/llvm-e1.34.1.tar.gz' to '/Users/Apple/Downloads/emsdk_portable 2/clang/tag-e1.34.1/src'
..
..
..
..
Running CMake: ['cmake', '-G', 'Unix Makefiles', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DPYTHON_EXECUTABLE=/usr/bin/python', '-DLLVM_TARGETS_TO_BUILD=X86;JSBackend', '-DLLVM_INCLUDE_EXAMPLES=OFF', '-DLLVM_INCLUDE_TESTS=OFF', '-DCLANG_INCLUDE_EXAMPLES=OFF', '-DCLANG_INCLUDE_TESTS=OFF', '/Users/Apple/Downloads/emsdk_portable 2/clang/tag-e1.34.1/src']
Traceback (most recent call last):
File "./emsdk", line 1734, in <module>
sys.exit(main())
File "./emsdk", line 1717, in main
success = tool.install()
File "./emsdk", line 1007, in install
success = tool.install()
File "./emsdk", line 1016, in install
success = build_fastcomp_tool(self)
File "./emsdk", line 611, in build_fastcomp_tool
'-DLLVM_INCLUDE_EXAMPLES=OFF', '-DLLVM_INCLUDE_TESTS=OFF', '-DCLANG_INCLUDE_EXAMPLES=OFF', '-DCLANG_INCLUDE_TESTS=OFF'])
File "./emsdk", line 559, in cmake_configure
ret = subprocess.check_call(cmdline, cwd=build_root)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 535, in check_call
retcode = call(*popenargs, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
$ emcc -v
INFO root: (Emscripten: Running sanity checks)
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.34.1
clang version 3.7.0
Target: x86_64-apple-darwin14.1.0
Thread model: posix
INFO root: (Emscripten: Running sanity checks)
AM I ready to get started? is my clang a bit old? if so, do I have to update it? how would I?
>> To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
> You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
----
Kind Regards,---------------------------------------------
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
>> To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
> You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.
----
Kind Regards,---------------------------------------------
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.
>> To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
> You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
----
Kind Regards,---------------------------------------------
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
----
Kind Regards,---------------------------------------------
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/W6uok7SBQLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.