Closed mrbigmouth closed 9 years ago
AFAIK it becomes an executable if you have i386 libraries. So, EncloseJS installs all compilers, including x86. And you should set via --x64
flag. By the way you can use the function system()
like in examples.
I mean: when I first run "enclose" for help text, the errror happen! .....that mean I don't know I should add -x64 flag even environment is x64. XD
:) indeed. Thanks - i will fix it
Fixed that. Please retry if you have time. Thanks!
It's ok now
Environment is Ubuntu 14.04.1 64bit. After execute command "enclose", see error below:
/usr/local/lib/node_modules/enclose/bin/enclose.js:118 if (error) throw error; ^ Error: Compiler not found for v0.12.7-linux-x86 at ChildProcess. (/usr/local/lib/node_modules/enclose/bin/enclose.js:166:10)
at ChildProcess.emit (events.js:95:17)
at Process.ChildProcess._handle.onexit (child_process.js:818:12)
It's because enclose-v4.2.2-linux-x86-bb37fdb is not a executeable file in x64 environment. I think your code: https://github.com/igorklopov/enclose/blob/master/bin/enclose.js#L85 should be return a "x64" string?