You don't actually need to compile node yourself to compile native modules,
just use node-gyp: https://github.com/TooTallNate/node-gyp

The reason you don't need to compile node manually is that node-gyp
downloads the required node.lib file from Joyent's servers, all you need to
do is specify the target version of node you want to build the module for.
Please let me know how it works for you!

P.S. I realize that that didn't at all answer the original question, I just
wanted to perhaps show you a better road to go down.

On Thu, Feb 9, 2012 at 12:17 PM, C. Mundi <[email protected]> wrote:

>
> Hi.  I choose to build node because I need to build native modules against
> it.
>
> I have built node 0.6.10 for Windows and I would like to wrap it up in an
> MSI for convenient repeatable deployment.
>
> So I installed WiX 3.5 and did this:
>
> C:\node-v0.6.10> vcbuild.bat release msi
>
> and what I get is
>
> C:\node-v0.6.10>.\vcbuild.bat release nobuild msi
> ['-f', 'msvs', '-G', 'msvs_version=2010', '.\\node.gyp', '-I',
> '.\\common.gypi', '--depth=.', '-Dtarget_arch=ia32', '-Dc
> omponent=static_library', '-Dlibrary=static_library']
> Project files generated.
> 'heat' is not recognized as an internal or external command,
> operable program or batch file.
> candle.exe : error CNDL0103: The system cannot find the file
> '..\..\..\npm.wxs' with type 'Source'. [C:\node-v0.6.10\to
> ols\msvs\msi\nodemsi.wixproj]
>
> Any suggestions where I should start to look?  Do I need to build npm from
> source first?  (Just guessing)
>
> Thanks for all your help, especially for providing a Windows build at all!
>
>
>  --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to