This is a fork of http://code.google.com/p/protobuf-for-node/
My intention is just to package it up nicely for NPM and to fix some bugs.
I also intend to make it work with the NodeJS 0.6.x series.
NodeJS v0.4.X npm
- wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.gz
- tar -xzvf protobuf-2.4.1.tar.gz
- cd protobuf-2.4.1/
- ./configure && make && sudo make install
- cd
- npm install protobuf
- echo "/home/chris/node_modules/protobuf/build/default/" | sudo tee /etc/ld.so.conf.d/protobuf.conf (replace /home/chris/node_modules with wherever you installed the module)
- sudo ldconfig
- run node, try "require('protobuf');" - you should see: { Schema: [Function: Schema] }
As seen from the instructions above, this is my first attempt at packaging a slightly complex C++ module for NPM.
If you can help me simplify these instructions, please submit a patch.
Good luck,
Chris.