Make sure you have 'node-gyp' installed:
npm install -g node-gyp
Configure the package using node-gyp:
If you're running a "pre" version of node, you need to pass the node folder, e.g.:
node-gyp configure --nodedir "$HOME/node"
Compile the package using node-gyp:
You can easily install this package with npm:
npm install db2
The current test code depends on a database I have set up within my development vm. The code will be updated to use the sample database from DB2 later.