You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pulsar.apache.org by Apache Pulsar Slack <ap...@gmail.com> on 2018/05/26 09:11:04 UTC

Slack digest for #general - 2018-05-26

2018-05-25 11:14:33 UTC - Byron: Hi folks. I am attempting to build the C++ client on debian and I got two missing dependencies from the `cmake` call. `clang-tidy` and `clang-format`. I added them as dependencies to the `apt-get install` call, however `cmake` still fails stating `clang-format` has not been found.
----
2018-05-25 14:13:48 UTC - Roy Wang: @Roy Wang has joined the channel
----
2018-05-25 15:20:15 UTC - Ryan Rose: Hi team! I was able to build the python client off of master, but it dies on import, any ideas? Looks like a boost issue, but I'm struggling to find a way to solve it. Thanks so much! On macOS 10.13.4:
```
Traceback (most recent call last):
  File "examples/rpc_server.py", line 22, in &lt;module&gt;
    import pulsar
  File "/Users/galapagos/anaconda3/lib/python3.6/site-packages/pulsar_client-2.1.0-py3.6-macosx-10.7-x86_64.egg/pulsar.py", line 99, in &lt;module&gt;
    import _pulsar
ImportError: dlopen(/Users/galapagos/anaconda3/lib/python3.6/site-packages/pulsar_client-2.1.0-py3.6-macosx-10.7-x86_64.egg/_pulsar.cpython-36m-darwin.so, 2): Symbol not found: __ZNK5boost6python7objects21py_function_impl_base9max_arityEv
  Referenced from: /Users/galapagos/anaconda3/lib/python3.6/site-packages/pulsar_client-2.1.0-py3.6-macosx-10.7-x86_64.egg/_pulsar.cpython-36m-darwin.so
  Expected in: flat namespace
 in /Users/galapagos/anaconda3/lib/python3.6/site-packages/pulsar_client-2.1.0-py3.6-macosx-10.7-x86_64.egg/_pulsar.cpython-36m-darwin.so
```
----
2018-05-25 15:48:24 UTC - Matteo Merli: @Ryan Rose For the binaries that are pushed on PyPI we link statically, to make the pulsar_client egg self contained. When compiling C++ library pass the flag to cmake. eg: `cmake . -DLINK_STATIC=ON`
----
2018-05-25 15:51:02 UTC - Matteo Merli: @Byron There’s a Docker image we use for builds in CI that contains all the dependencies. It’s based on Ubuntu-16.04, you can use that directly (`apachepulsar/pulsar-build:ubuntu-16.04`) or you can peek at the Dockerfile: <https://github.com/apache/incubator-pulsar/blob/master/build/docker/Dockerfile#L26>
----
2018-05-25 15:52:33 UTC - Ryan Rose: Thanks @Matteo Merli!
----
2018-05-25 16:29:13 UTC - Byron: @Matteo Merli Great thanks
----
2018-05-26 05:48:06 UTC - Krishna: @Krishna has joined the channel
----