无法在Ubuntu 12.04上安装Gearman

前端之家收集整理的这篇文章主要介绍了无法在Ubuntu 12.04上安装Gearman前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试图通过以下命令在我的Ubuntu 12.04机器上安装Gearman
sudo apt-get install gearman-job-server libgearman-dev 
sudo apt-get install PHP-pear PHP5-dev

上面的命令运行正常但我跑的时候

sudo pecl install gearman

它给出了如下错误

checking whether to enable gearman support... yes,shared
found in /usr
checking for gearman_client_set_context in -lgearman... yes
checking for gearman_worker_set_server_option in -lgearman... yes
checking for gearman_job_error in -lgearman... no
configure: error: libgearman version 1.1.0 or later required
ERROR: `/tmp/pear/temp/gearman/configure' Failed

我无法找到如何安装它.

在您的存储库中有旧版本的gearman.您需要从 @L_404_0@编译并安装最新版本(至少1.1.0)的源代码.然后使用pecl安装PHP模块将顺利进行.我在centos上有类似的问题.
原文链接:https://www.f2er.com/ubuntu/348656.html

猜你在找的Ubuntu相关文章