设置zookeeper php扩展以安装kafka-php时出错

问题描述:

安装kafka-php时出现问题。 zookeeper php扩展是我需要管理群集的依赖项。设置zookeeper php扩展以安装kafka-php时出错

我下面these instructionsphpize运行后./configure当我得到这个错误:

configure: error: Can't find zookeeper headers under "/usr/share/zookeeper"

我已经验证该路径存在,而且我也试图通过pecl安装。这给出了同样的错误(也与其他版本的扩展)。

我该如何解决这个问题?

看后,我可以找到解决方案。我只需要安装一些dev-packages以使C客户端丢失头文件。

Here you can see the details