kripken/speak.js — Issue #15: "cat: speak.raw.js: File or directory not found"  Language Support 
Author: alancps
Created: 2012-01-13 18:29:14+00:00
State: open

I found this error when I tried to build speak.js for language support (using emscripten.sh, bundle.py, post.js). Follow the instructions in the file README.markdown

I use:
closure compiler
Node.js 0.6.6
clang + llvm 3.0
Ubuntu 11.10 32bits
later versions of emscriptem and speak.js

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
espeak.cpp:357:4: warning: conversion from string literal to 'char *' is
deprecated [-Wdeprecated-writable-strings]
{"pho", no_argument, 0, 0x109},
^
espeak.cpp:358:4: warning: conversion from string literal to 'char *' is
deprecated [-Wdeprecated-writable-strings]
{"ipa", no_argument, 0, 0x10a},
^
12 warnings generated.
emcc: x_debug.o: Not valid LLVM bitcode
mv libespeak.so libespeak.so.1.1.45
/bin/ln -sf libespeak.so.1.1.45 libespeak.so.1
/bin/ln -sf libespeak.so.1 libespeak.so
/home/alan/emscripten/em++ -o espeak espeak.o -lstdc++ -L . -lespeak
dis
emscripten
emcc: warning: The relooper optimization can be very slow.
Traceback (most recent call last):
File "/home/alan/emscripten/emcc", line 540, in
final = shared.Building.closure_compiler(final)
File "/home/alan/emscripten/tools/shared.py", line 659, in closure_compiler
'--js', filename, '--js_output_file', filename + '.cc.js'], stdout=PIPE, stderr=STDOUT).communicate()[0]
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
cat: speak.raw.js: File or directory not found
----------------------------------------------------------------------------------------------------------------------------------------------------------