Skip to content

crifkin/protobuf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview:

This is a fork of https://github.com/chrisdew/protobuf

It was forked to add support for nodejs 0.6.x using code from https://github.com/pzgz/protobuf-for-node and to provide better support for future nodejs versions and npm.

Prerequisites:

To install on Ubuntu:

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 "/path/to/app/dir/node_modules"
git clone git://github.com/englercj/protobuf.git protobuf
cd protobuf
npm install

Now protobuf is installed but will not run becuase more than likely you library path does not include protobuf binaries. On Ubuntu you can update this with the following script:

echo "/path/to/app/dir/node_modules/protobuf/build/Release" | tee /etc/ld.so.conf.d/protobuf.conf && ldconfig

Test your install:

You can test your installation by opening the nodejs console (by typing node) and issue the following

require('protobuf');
.exit

You should see the output { Schema: [Function: Schema] }

Issues:

Please report any issues or bugs at https://github.com/englercj/protobuf/issues

About

Protocol Buffers for Node.JS

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors