I recently installed the 'phantomjs' module, and was surprised to see the 
installation script downloaded the phantomjs binary for the appropriate 
platform (i.e. it did this on linux and windows). This makes complete 
sense, phantom is probably both time consuming and complicated to compile, 
but it made the module installation quite slick.

Could the same approach be used to install other native modules? 

I know the node approach is to compile the source for native modules, but 
on Windows this is painful (sometimes very painful).

Perhaps the missing part of the equation is an automated build system for 
native modules, which would provide the built binaries for certain 
platforms. If you're on a compatible platform then NPM gets the binary from 
there, otherwise you're back to building it on your own.

Rich.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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 nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to