2015-10-26 21:11
浏览 154

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

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 after phpize:

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?

图片转代码服务由CSDN问答提供 功能建议

安装时遇到问题 kafka-php 。 zookeeper php扩展是我需要管理集群的依赖项。

我正在关注这些说明我在 phpize 之后运行 ./ configure 时遇到此错误 code>:

configure:error:在“/ usr / share / zookeeper”下找不到zookeeper头

我已经验证路径存在,我也尝试通过 pecl 进行安装。 这也会产生同样的错误(扩展的其他版本也是如此)。


  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • dqq46733 2015-10-27 02:29

    After looking, I could find a solution. I just needed to install some dev-packages to have the missing headers of the C client.

    Here you can see the details

    解决 无用
    打赏 举报
  • 查看更多回答(1条)

相关推荐 更多相似问题