Hi, when I execute the command build and locally install gRPC, Protocol Buffers, and Abseil: $ cd grpc $ mkdir -p cmake/build $ pushd cmake/build $ cmake -DgRPC_INSTALL=ON \ -DgRPC_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=$MY_INSTALL_DIR \ ../..
I got the following error: -- The C compiler identification is GNU 9.3.1 -- The CXX compiler identification is GNU 9.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /opt/rh/devtoolset-9/root/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/rh/devtoolset-9/root/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE CMake Error at cmake/cares.cmake:25 (add_subdirectory): The source directory /home/yh/tools/grpc/third_party/cares/cares does not contain a CMakeLists.txt file. Call Stack (most recent call first): CMakeLists.txt:254 (include) -- -- 3.17.3.0 -- Performing Test protobuf_HAVE_BUILTIN_ATOMICS -- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes CMake Warning at cmake/ssl.cmake:55 (message): gRPC_SSL_PROVIDER is "module" but BORINGSSL_ROOT_DIR is wrong Call Stack (most recent call first): CMakeLists.txt:257 (include) CMake Deprecation Warning at third_party/zlib/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off64_t -- Check size of off64_t - done -- Looking for fseeko -- Looking for fseeko - found -- Looking for unistd.h -- Looking for unistd.h - found -- Configuring incomplete, errors occurred! See also "/home/yh/tools/grpc/cmake/build/CMakeFiles/CMakeOutput.log". See also "/home/yh/tools/grpc/cmake/build/CMakeFiles/CMakeError.log". Any suggestion would be welcomed, thanks -- 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 grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/7d9a16fe-2418-4206-8e83-cb35a1acac0cn%40googlegroups.com.