FAQ
Further to my previous questions,
I have now installed Linux on a VM and would like to build a node addon on
it using node-gyp ?

1. Do I need to install python, node, node-gyp npm etc on Linux to build
this or would just gcc would do?
2. For the addon to link to node.lib, and the other header files node.h,
v8.h what do I need to do? Do I just download the latest node tar file.


Rgds,
NodeNinja

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Search Discussions

  • Nathan Rajlich at Nov 3, 2012 at 7:42 am
    1. You're gonna need Python 2.6 or 2.7, as well as gcc/g++, and node
    and npm (node-gyp comes with npm, or you can install it globally
    manually).

    2. node-gyp downloads everything you need automatically. Just type
    `npm install` in the root dir of your native module. Or `npm install
    ___` if you want to install a native module from the npm registry.

    Cheers!
    On Fri, Nov 2, 2012 at 11:19 PM, NodeNinja wrote:
    Further to my previous questions,
    I have now installed Linux on a VM and would like to build a node addon on
    it using node-gyp ?

    1. Do I need to install python, node, node-gyp npm etc on Linux to build
    this or would just gcc would do?
    2. For the addon to link to node.lib, and the other header files node.h,
    v8.h what do I need to do? Do I just download the latest node tar file.


    Rgds,
    NodeNinja

    --
    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+unsubscribe@googlegroups.com
    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 nodejs@googlegroups.com
    To unsubscribe from this group, send email to
    nodejs+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/nodejs?hl=en?hl=en
  • NodeNinja at Nov 4, 2012 at 3:52 am
    Thanks Nathan,
    In Visual Studio I had to manually link to node.lib for compiling on
    windows do I need do something similar to link to that library on linux?
    On Saturday, November 3, 2012 1:12:45 PM UTC+5:30, Nathan Rajlich wrote:

    1. You're gonna need Python 2.6 or 2.7, as well as gcc/g++, and node
    and npm (node-gyp comes with npm, or you can install it globally
    manually).

    2. node-gyp downloads everything you need automatically. Just type
    `npm install` in the root dir of your native module. Or `npm install
    ___` if you want to install a native module from the npm registry.

    Cheers!
    On Fri, Nov 2, 2012 at 11:19 PM, NodeNinja wrote:
    Further to my previous questions,
    I have now installed Linux on a VM and would like to build a node addon on
    it using node-gyp ?

    1. Do I need to install python, node, node-gyp npm etc on Linux to build
    this or would just gcc would do?
    2. For the addon to link to node.lib, and the other header files node.h,
    v8.h what do I need to do? Do I just download the latest node tar file.


    Rgds,
    NodeNinja

    --
    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 nod...@googlegroups.com<javascript:>
    To unsubscribe from this group, send email to
    nodejs+un...@googlegroups.com <javascript:>
    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 nodejs@googlegroups.com
    To unsubscribe from this group, send email to
    nodejs+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/nodejs?hl=en?hl=en
  • Nathan Rajlich at Nov 4, 2012 at 4:43 am
    No, not needed.

    Also, linking to the node.lib file on Windows should be taken care of
    automatically by node-gyp.
    On Sat, Nov 3, 2012 at 8:52 PM, NodeNinja wrote:
    Thanks Nathan,
    In Visual Studio I had to manually link to node.lib for compiling on windows
    do I need do something similar to link to that library on linux?

    On Saturday, November 3, 2012 1:12:45 PM UTC+5:30, Nathan Rajlich wrote:

    1. You're gonna need Python 2.6 or 2.7, as well as gcc/g++, and node
    and npm (node-gyp comes with npm, or you can install it globally
    manually).

    2. node-gyp downloads everything you need automatically. Just type
    `npm install` in the root dir of your native module. Or `npm install
    ___` if you want to install a native module from the npm registry.

    Cheers!
    On Fri, Nov 2, 2012 at 11:19 PM, NodeNinja wrote:
    Further to my previous questions,
    I have now installed Linux on a VM and would like to build a node addon
    on
    it using node-gyp ?

    1. Do I need to install python, node, node-gyp npm etc on Linux to build
    this or would just gcc would do?
    2. For the addon to link to node.lib, and the other header files node.h,
    v8.h what do I need to do? Do I just download the latest node tar file.


    Rgds,
    NodeNinja

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupnodejs @
categoriesnodejs
postedNov 3, '12 at 6:19a
activeNov 4, '12 at 4:43a
posts4
users2
websitenodejs.org
irc#node.js

2 users in discussion

NodeNinja: 2 posts Nathan Rajlich: 2 posts

People

Translate

site design / logo © 2022 Grokbase