Closed jdiamondDB closed 9 years ago
Did you install protobuf to non-standard location?
Most likely yes, as I am in a corporate dev environment and don't have control over installation locations. I can either put it in my private work area, or out on the NAS somewhere...
@jdiamondDB No, I mean, by default it goes to system default location if you install it from packages. Or into /usr/local if you manually compile. (I'm talking about libprotobuf from Google).
Correct. I cannot install anything (including libprotobuf) into /usr/local on this system. I must install it elsewhere - either in our team's shared dev area, or somewhere under my home directory.
@jdiamondDB you can download latest snapshot of node-protobuf and edit bindings.gyp file to point include_dirs where you need, then compile it with node-gyp.
I am having trouble installing on Linux - specifically, the build fails, looking for the protobuf include files. How do I tell npm to look for the protobuf includes, libs in a particular location?
Thanks,
Josh Diamond