Juniper / grpc-c

C implementation of gRPC layered on top of core library
BSD 3-Clause "New" or "Revised" License
220 stars 59 forks source link

../configure fails #42

Closed hale2bopp closed 4 years ago

hale2bopp commented 4 years ago

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.

hale2bopp commented 4 years ago

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.