Linux installation

56 views
Skip to first unread message

Mark Sibly

unread,
Jul 7, 2015, 10:32:01 PM7/7/15
to emscripte...@googlegroups.com
Hi,

I'm trying to install emscripten on Ubuntu 14.10 and get the following error when I try to './emsdk install latest':
 
Installing SDK 'sdk-tag-1.34.1-64bit'..
Manifest error: No tool by name 'clang-tag-1.34.1-64bit' found! This may indicate an internal SDK error!
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()

Had a poke around, but I'm a bit out of my depth here. ./emsdk list gives:

The following precompiled tool packages are available for download:
           emscripten-1.30.0        
           emscripten-1.34.1        

The following tools can be compiled from source:
           clang-tag-e1.34.0-32bit  
           clang-tag-e1.34.1-32bit  
           clang-tag-e1.34.0-64bit  
           clang-tag-e1.34.1-64bit  
           clang-incoming-32bit     
           clang-incoming-64bit     
           clang-master-32bit       
           clang-master-64bit       
           emscripten-tag-1.34.0-32bit
           emscripten-tag-1.34.1-32bit
           emscripten-tag-1.34.0-64bit
           emscripten-tag-1.34.1-64bit
           emscripten-incoming-32bit
           emscripten-master-32bit  
           emscripten-incoming-64bit
           emscripten-master-64bit  

I have g++ etc installed as I can use it to build other stuff.

Bye!
Mark

Mark Sibly

unread,
Jul 7, 2015, 10:36:33 PM7/7/15
to emscripte...@googlegroups.com
Ok, found this is another thread and it fixes my problem - well, it's building a truck load of stuff now at least...

replace the line 1093:
    "uses": ["clang-tag-%tag%-64bit", "emscripten-tag-%tag%-64bit"],
to
    "uses": ["clang-tag-e%tag%-64bit", "emscripten-tag-%tag%-64bit"], 

Jeff Gonzales

unread,
Jul 7, 2015, 11:12:30 PM7/7/15
to emscripte...@googlegroups.com
does that work for you?  my build fails around 97% even after fixing this typo.
--
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.


--
Sent from Gmail Mobile

Mark Sibly

unread,
Jul 7, 2015, 11:33:37 PM7/7/15
to emscripte...@googlegroups.com
> does that work for you?  my build fails around 97% even after fixing this typo.

Oh crap, I'm only up to 53%!

Will report back...

To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jeff Gonzales

unread,
Jul 8, 2015, 12:02:49 AM7/8/15
to emscripte...@googlegroups.com
look for one of my posts regarding the error I got.
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.


--
Sent from Gmail Mobile

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

Mark Sibly

unread,
Jul 8, 2015, 1:25:56 AM7/8/15
to emscripte...@googlegroups.com
Whew, it all built OK here eventually. Are some of your .cpp files not compiling?

However, once it all built I also had change 'node' in ~/.emscripten to 'nodejs' before it worked.

Linux release appears to be a bit rough around the edges!
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Sent from Gmail Mobile

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

For more options, visit https://groups.google.com/d/optout.

Jeff Gonzales

unread,
Jul 8, 2015, 1:30:56 AM7/8/15
to emscripte...@googlegroups.com
some kind of issue with clang.  you should symlink node to nodejs as I think it is a bad thing to manually edit ~./.emscripten.
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.


--
Sent from Gmail Mobile

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


--
Sent from Gmail Mobile

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

Mark Sibly

unread,
Jul 8, 2015, 1:41:18 AM7/8/15
to emscripte...@googlegroups.com
> you should symlink node to nodejs as I think it is a bad thing to manually edit ~./.emscripten.

Thanks, where should I put the link? /usr/bin/node? A bit new to some of this...

Also, what exactly does 'source' do? There doesn't seem to be a man page for it. I've had to add the "source $HOME/emsdk/emsdk_env.sh" bit to my ~/.profile so paths are setup correctly - is this the right thing to do?


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/y2TMWKo1CJs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.

Jeff Gonzales

unread,
Jul 8, 2015, 4:28:28 PM7/8/15
to emscripte...@googlegroups.com
In my situation, I use Ubuntu 14.  There is some old amateur radio related app called "node" that causes a conflict.  See here for the workaround:


Source worked for me.  I, too, tried to find its man page.  I have no idea how it works.

Mark Sibly

unread,
Jul 8, 2015, 4:41:00 PM7/8/15
to emscripte...@googlegroups.com

Jeff Gonzales

unread,
Jul 8, 2015, 4:45:30 PM7/8/15
to emscripte...@googlegroups.com
Nice.  I'll have to remember that for my next interview.

Jukka Jylänki

unread,
Aug 4, 2015, 7:19:11 AM8/4/15
to emscripte...@googlegroups.com
> some kind of issue with clang.  you should symlink node to nodejs as I think it is a bad thing to manually edit ~./.emscripten.

It is ok to edit ~/.emscripten manually. One thing to remember there is that if using emsdk, then calling 'emsdk activate xxx' will overwrite what you changed there, so it is best to make the manual changes only after setting up emsdk activate first.
Reply all
Reply to author
Forward
0 new messages