vli02 commented on issue #1964: pulsar-client-cpp not able to build with static 
link
URL: 
https://github.com/apache/incubator-pulsar/issues/1964#issuecomment-397414253
 
 
   Hi @merlimat I just had a quick try with 
`apachepulsar/pulsar-build:centos-7`, build failed early in cmake:
   
   ```
   $ BUILD_IMAGE_VERSION=centos-7 ./docker-build.sh
   ---- Build Pulsar C++ client using image apachepulsar/pulsar-build:centos-7
   centos-7: Pulling from apachepulsar/pulsar-build
   ...
   Digest: 
sha256:233a5b70ae3546d14ff4605a09b74c91b6f6b3b1980fc14ed9e96c4760a62dad
   Status: Downloaded newer image for apachepulsar/pulsar-build:centos-7
   -- The C compiler identification is GNU 4.8.5
   -- The CXX compiler identification is GNU 4.8.5
   -- Check for working C compiler: /usr/bin/cc
   -- Check for working C compiler: /usr/bin/cc -- works
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Check for working CXX compiler: /usr/bin/c++
   -- Check for working CXX compiler: /usr/bin/c++ -- works
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- BUILD_TESTS:  ON
   -- LINK_STATIC:  OFF
   -- USE_LOG4CXX:  OFF
   -- CMAKE_BUILD_TYPE:  RelWithDebInfo
   -- Found ZLIB: /usr/local/lib/libz.so (found version "1.2.11")
   -- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.5")
   -- PYTHON: 2.7.5
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Looking for pthread_create
   -- Looking for pthread_create - not found
   -- 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
   -- Boost version: 1.64.0
   -- Found the following Boost libraries:
   --   program_options
   --   filesystem
   --   regex
   --   thread
   --   system
   --   python
   -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.2k")
   clang-tidy not found
   clang-format not found
   CMake Error: The following variables are used in this project, but they are 
set to NOTFOUND.
   Please set them or make sure they are set and tested correctly in the CMake 
files:
   GMOCK_INCLUDE_PATH
      used as include directory in directory /pulsar/pulsar-client-cpp
   ...
   GMOCK_LIBRARY_PATH
       linked by target "main" in directory /pulsar/pulsar-client-cpp/tests
   GTEST_INCLUDE_PATH
      used as include directory in directory /pulsar/pulsar-client-cpp
   ...
   LOG4CXX_LIBRARY_PATH
       linked by target "pulsarShared" in directory 
/pulsar/pulsar-client-cpp/lib
   ...
   -- Configuring incomplete, errors occurred!
   See also "/pulsar/pulsar-client-cpp/CMakeFiles/CMakeOutput.log".
   See also "/pulsar/pulsar-client-cpp/CMakeFiles/CMakeError.log".
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to