After looking, I could find a solution. I just needed to install some dev-packages to have the missing headers of the C client.
I have an issue while installing
kafka-php. The zookeeper php extension is a dependency that I need to manage clusters.
I'm following these instructions and I'm getting this error when running
configure: error: Can't find zookeeper headers under "/usr/share/zookeeper"
I already verified that the path exists, and I also tried to install via
pecl. That gives the same error (with other versions of the extension too).
How do I resolve this?
- 点赞 评论 复制链接分享
Usually zookeeper headers are on /usr/include/zookeeper so I thing /usr/ is fine, as it is showed bellow.
To enable zookeeper support, configure with --with-libzookeeper-dir=DIR . DIR is the install prefix of ZooKeeper C Binding, which must contain the include/zookeeper/zookeeper.h点赞 评论 复制链接分享