From 0a95d87e6cff67b481f8ffe7fe04dec85d1d0ec8 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Thu, 23 Apr 2015 13:33:04 -0700 Subject: Added information about custom gRPC install locations in README, bumped version --- src/node/README.md | 6 ++++++ src/node/package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/node/README.md b/src/node/README.md index b1d2310ede..df57d1e56b 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/include LDFLAGS=-L 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 fc3ca1f103..6c0953a83f 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/", -- cgit v1.2.3 From 58584a35dbda716a58fe258e982e1c6fcbe02a84 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Thu, 23 Apr 2015 13:34:42 -0700 Subject: Fixed typo in README change --- src/node/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/README.md b/src/node/README.md index df57d1e56b..6e4934151e 100644 --- a/src/node/README.md +++ b/src/node/README.md @@ -17,7 +17,7 @@ This requires `node` to be installed. If you instead have the `nodejs` executabl 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/include LDFLAGS=-L npm install [grpc] +CXXFLAGS=-I/include LDFLAGS=-L/lib npm install [grpc] ``` ## Tests -- cgit v1.2.3