diff --git a/src/node/README.md b/src/node/README.md index b1d2310ede05f5c5b5c14f1e91713f4629cfebc6..df57d1e56beadf073d52351a03d9899bd5fad3f5 100644 --- a/src/node/README.md +++ b/src/node/README.md @@ -14,6 +14,12 @@ This requires `node` to be installed. If you instead have the `nodejs` executabl 2. Follow the instructions in the `INSTALL` file in the root of that repository to install the C core library that this package depends on. 3. Run `npm install`. +If you install the gRPC C core library in a custom location, then you need to set some environment variables to install this library. The command will look like this: + +```sh +CXXFLAGS=-I<custom location>/include LDFLAGS=-L<custom location> npm install [grpc] +``` + ## Tests To run the test suite, simply run `npm test` in the install location. diff --git a/src/node/package.json b/src/node/package.json index fc3ca1f103cfcd602931e74a0faae8ad364a125e..6c0953a83f2b208bef2681763ac305dbec6e7ce9 100644 --- a/src/node/package.json +++ b/src/node/package.json @@ -1,6 +1,6 @@ { "name": "grpc", - "version": "0.6.1", + "version": "0.6.2", "author": "Google Inc.", "description": "gRPC Library for Node", "homepage": "http://www.grpc.io/",