Problem installing emscripten on ubuntu 19.04

24 views
Skip to first unread message

Gary Tarr

unread,
Feb 5, 2020, 12:16:37 PM2/5/20
to emscripten-discuss
I need to install emscripten 1.38.30 as I want to try out QT and that is one of the versions QT supports.  I  did the following :

1.  Installed a new copy of Ubuntu in a Windows 10 Hyper-V
2. Opened a terminal and executed the following:
    sudo apt-get install python
   sudo apt-get install cmake
     git clone https://github.com/emscripten-core/emsdk.git
   ./emsdk list --old
   ./emsdk install emscripten-1.38.30

After the install completed with no errors, I executed the following :
   ./emsdk activate emscripten-1.38.30
   ./emsdk_env.sh

I then changed directory and tried to test.  Below is what happened.  I am totally new to Linux so any help would be most appreciated.

~/emsdk/emscripten/1.38.30$ ./em++

Traceback (most recent call last):
  File "/home/gtarr/emsdk/emscripten/1.38.30/emcc.py", line 41, in <module>
    from tools import shared, system_libs, client_mods, js_optimizer, jsrun
  File "/home/gtarr/emsdk/emscripten/1.38.30/tools/shared.py", line 782, in <module>
    CLANG_CC = os.path.expanduser(build_clang_tool_path(exe_suffix('clang')))
  File "/home/gtarr/emsdk/emscripten/1.38.30/tools/shared.py", line 647, in build_clang_tool_path
    return os.path.join(LLVM_ROOT, tool)
  File "/usr/lib/python2.7/posixpath.py", line 70, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'



   

Sam Clegg

unread,
Feb 5, 2020, 4:33:02 PM2/5/20
to emscripte...@googlegroups.com
You need to install a full SDK, rather than just emscripten.  Try `emsdk install sdk-fastcomp-1.38.30-64bit`.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/9c072c29-d77c-406b-8ed1-c6c2839c1bfa%40googlegroups.com.

Gary Tarr

unread,
Feb 5, 2020, 5:33:11 PM2/5/20
to emscripten-discuss
Thank you very much.  That worked.

Regards
Gary
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages