Am Donnerstag, 22. Mai 2014 18:02:56 UTC+2 schrieb Kevin Ingwersen:
>
>
> Am 22.05.2014 um 17:51 schrieb Aria Stewart <[email protected]<javascript:>>: 
>
>
> > 
> > On May 22, 02014, at 10:04, Ingo Albers <[email protected]<javascript:>> 
> wrote: 
> >> 
> >> For a new project I need some modules (serialport, socket.io, express) 
> but I can't use npm on my device. I tried building the modules on an ARM 
> QEMU but those modules didn't work. 
> > 
> > Why can’t you use npm? What have you tried? 
> He is probably using a non-shell interactive thing…like FTP. I therefore 
> would suggest to: 
>
>         - Set CC, CXX, CFLAGS, CXXFLAGS, LDFLAGS correctly to point and 
> use your NDK installation. 
>         - npm install under this dev environment. node-gyp should pick 
> these variables up and use them accordingly. As a result, you should have 
> ARM binaries. 
>         - Copy the resulting node_modules foder to your device/application 
> folder and make sure nodejs can pick it up.


I was following this tutorial to build node.js: 
https://gist.github.com/modeswitch/114c9bd55d800df242a2
So I only put the node executable on the device itself. 

Thank you Kevin, I will try to do it like that.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/bbdfb916-a9c8-460f-b23e-ea8bea963fdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to