electron-edge-js: xlocale.h not found on Ubuntu while installing
I’m having trouble installing this awesome module on Ubuntu 17.10:
vadi@volga:~/Programs/packager-demo$ rm -rf node_modules/electron-edge-js/
vadi@volga:~/Programs/packager-demo$ npm install
> electron-edge-js@8.3.2 install /home/vadi/Programs/packager-demo/node_modules/electron-edge-js
> node tools/install.js
make: Entering directory '/home/vadi/Programs/packager-demo/node_modules/electron-edge-js/build'
TOUCH Release/obj.target/edge_nativeclr.stamp
CXX(target) Release/obj.target/edge_coreclr/src/common/v8synchronizationcontext.o
CXX(target) Release/obj.target/edge_coreclr/src/common/callbackhelper.o
CXX(target) Release/obj.target/edge_coreclr/src/common/edge.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/coreclrembedding.o
In file included from ../src/CoreCLREmbedding/json/casablanca/include/cpprest/json.h:37:0,
from ../src/CoreCLREmbedding/coreclrembedding.cpp:8:
../src/CoreCLREmbedding/json/casablanca/include/cpprest/asyncrt_utils.h:44:10: fatal error: xlocale.h: No such file or directory
#include <xlocale.h>
^~~~~~~~~~~
compilation terminated.
edge_coreclr.target.mk:120: recipe for target 'Release/obj.target/edge_coreclr/src/CoreCLREmbedding/coreclrembedding.o' failed
make: *** [Release/obj.target/edge_coreclr/src/CoreCLREmbedding/coreclrembedding.o] Error 1
I’m not sure which xlocale.h
is it looking for? I already installed the dependencies necessary for the build (sans mono):
curl g++ pkg-config libgdiplus libunwind8 libssl-dev make gettext libssl-dev libcurl4-openssl-dev zlib1g libicu-dev uuid-dev unzip
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 3
- Comments: 16 (7 by maintainers)
I’ve worked around it by doing
ln -s /usr/include/locale.h /usr/include/xlocale.h
.Both
edge-js
andelectron-edge-js
with this PR have just been published to NPM. Please let me know if you have any problems.edge-js
if that works i will merge everything into this projectAbsolutely