On Linux and OSX it is very hard to install node-protobuf if the protocol buffers package is installed to somewhere other than the default /usr/local folder.
Although there is a workaround of creating an include.gypi in ~/.gyp but I think it is more convenient to use by setting LIBPROTOBUF environment variable correctly.
On Linux and OSX it is very hard to install node-protobuf if the protocol buffers package is installed to somewhere other than the default /usr/local folder.
Although there is a workaround of creating an include.gypi in ~/.gyp but I think it is more convenient to use by setting LIBPROTOBUF environment variable correctly.