All, its been quite some time since I last built+installed gRPC from 
source.  I'm attempting to build+install on Ubuntu 18.04 LTS from source 
and I can't seem to get the libgrpc++* libraries to install.  I'm following 
the directions on the gRPC building guide, but regardless of the 
version/options I choose, the build refuses to install the necessary 
libraries.  So far, I've tried the current master branch (HEAD), v1.28.1, 
v.1.27.2, v.1.25.0 and they all fail.  

Build method: 
$> git clone --recurse-submodules -b v1.28.1 https://github.com/grpc/grpc
$> cd grpc
$> mkdir -p cmake/build
$> cd cmake/build
$> cmake -DCMAKE_INSTALL_PREFIX=/home/user/grpc -DgRPC_INSTALL=ON ../../
$> make -j
$> make install

....where `/home/user/grpc` is a directory within my home directory.   I 
see the following libs installed: 
libcares.a  libprotobuf.a  libprotobuf-lite.a  libprotoc.a  libz.a  libz.so

libgrpc++.a (and its other variants) are built via cmake, but they're not 
installed.  As an aside, I also tried manually enabling the CPP plugin in 
the cmake build, but it delivers the same results.  

I've also tried building the helloworld test from within the source tree as 
directed by the instructions on Github.  It fails to find a cmake 
dependency from the install: 
CMake Error at /home/user/grpc/lib/cmake/grpc/gRPCConfig.cmake:12 (include):
  include could not find load file:

    /home/user/grpc/lib/cmake/grpc/gRPCTargets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:116 (find_package)


Any thoughts?  

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/e33c184b-b83c-4109-b0c5-459f71ff9023%40googlegroups.com.

Reply via email to