node-waf is a tool shipped with Node.js to help build C++ files into a node.js compatible library or tool. It is only available if you installed node.js from source.
The path to node-waf is usually in /usr/local/bin
If you see that node is installed in /usr/bin but not /usr/local/bin then you did not install node.js from source.
$ git clone https://github.com/joyent/node.git
$ ./configure
$ make
$ sudo make install
And now you should see node-waf in /usr/local/bin
If you simply try to use node-waf without installing node you’ll see this error:
“ImportError: No module named Scripting”
Do not do this, instead install node.js.
Advertisements