Hi,
Previously I installed grpc and ran the example on a Ubuntu 16.04 machine.
I followed the instructions given in:
And it worked like a charm.
Now, I am trying to re-install it on a new machine (again Ubuntu 16.04) without success.
I keep on getting:
jay@Nembuntu:~/grpc/examples/cpp/helloworld$ make
DEPENDENCY ERROR
You don't have the grpc c++ protobuf plugin installed in your path.
Please install grpc. You can find it here:
https://github.com/grpc/grpc
Here is what I get when trying to detect if you have the plugin:
which grpc_cpp_plugin
Makefile:104: recipe for target 'system-check' failed
make: [system-check] Error 1 (ignored)
Makefile:104: recipe for target 'system-check' failed
make: *** [system-check] Error 1
jay@Nembuntu:~/grpc/examples/cpp/helloworld$
I checked the previous machine (protoc --version and I get: libprotoc 3.5.0)
The new machine I get: libprotoc 3.6.1
I did all the hints given in;
I tried:
cd third_party/protobuf
./autogen.sh
./configure
make
make check
make install
No luck.
jay@Nembuntu:~/grpc/third_party/protobuf$ make check
Making check in .
make[1]: Entering directory '/home/jay/grpc/third_party/protobuf'
make check-local
make[2]: Entering directory '/home/jay/grpc/third_party/protobuf'
Making lib/libgmock.a lib/libgmock_main.a in gmock
/bin/sh: line 0: cd: third_party/googletest/googletest: No such file or directory
Makefile:1964: recipe for target 'check-local' failed
make[2]: *** [check-local] Error 1
make[2]: Leaving directory '/home/jay/grpc/third_party/protobuf'
Makefile:1826: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/jay/grpc/third_party/protobuf'
Makefile:1538: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
Any hints?
Thx,
S