../configure fails
hale2bopp opened this issue · 1 comments
What operating system (Linux, Windows, …) and version?
MacOS 10.14.5
What did you do?
I cloned the repo using :
$ git clone https://github.com/Juniper/grpc-c.git
I installed required dependencies as described in the gRPC docs.
Then I did
$ cd grpc-c
$ autoreconf --install
$ git submodule update --init
$ ./builddeps.sh
then -
$mkdir build && cd build
$ ../configure
Error!
What did you expect to see?
Something beautiful!
I expected to see the grpc-c compile nicely.
What did you see instead?
Here, I get the following error :
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking grpc/grpc.h usability... no
checking grpc/grpc.h presence... no
checking for grpc/grpc.h... no
configure: error: Could not find grpc.h anywhere, install grpc
I have installed grpc.
Issue caused due to unused variable warning - error - line 57 in create_channel.cc
As a result grpc build failed, but didn't prevent protobufs build, so I didn't realize that it had failed for a while.
Commented out the two lines: line 56 and 57.
// internal::GrpcLibrary
// init_lib; // We need to call init in case of a bad creds.