Hi, I'm trying to compile nodejs can module on the sabrelite imx6, I managed to have a working nodejs server but I keep having issues with libc and stdlib.h
As stated below: command : npm install -g can make: Entering directory `/usr/lib/node_modules/can/build' CXX(target) Release/obj.target/can/src/raw.o ../src/raw.cc:21:20: fatal error: stdlib.h: No such file or directory compilation terminated. make: *** [Release/obj.target/can/src/raw.o] Error 1 make: Leaving directory `/usr/lib/node_modules/can/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:25) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17) gyp ERR! stack at Process._handle.onexit (child_process.js:678:10) gyp ERR! System Linux 3.0.35-1.1.0+g2dc5560 gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" gyp ERR! cwd /usr/lib/node_modules/can gyp ERR! node -v v0.8.18 gyp ERR! node-gyp -v v0.8.2 gyp ERR! not ok > [email protected]<mailto:[email protected]> preuninstall /usr/lib/node_modules/can > rm -rf build/* npm ERR! [email protected]<mailto:[email protected]> preinstall: `node-gyp configure && node-gyp build` npm ERR! `sh "-c" "node-gyp configure && node-gyp build"` failed with 1 npm ERR! npm ERR! Failed at the [email protected]<mailto:[email protected]> preinstall script. npm ERR! This is most likely a problem with the can package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp configure && node-gyp build npm ERR! You can get their info via: npm ERR! npm owner ls can npm ERR! There is likely additional logging output above. npm ERR! System Linux 3.0.35-1.1.0+g2dc5560 npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "can" npm ERR! cwd /home/root npm ERR! node -v v0.8.18 npm ERR! npm -v 1.2.2 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/root/npm-debug.log npm ERR! not ok code 0 Which packaged should I bitbake and install to solve the missing library issue? Regards, ____________________________________________________________ Nino Paparo Specialist Engineer - TEORESI, Inc. Software Engineer Magneti Marelli Electronic Systems USA L.L.C. [cid:[email protected]] [email protected]<mailto:[email protected]> [cid:[email protected]] [email protected]<mailto:[email protected]> Teoresi, Inc. is a Teoresi Group company
<<inline: image001.png>>
_______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
