首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在10.04安装Gearman

在10.04安装Gearman
EN

Ask Ubuntu用户
提问于 2011-05-01 02:43:04
回答 1查看 1.7K关注 0票数 1

我试图使用以下命令将Gearman安装在一个干净的10.04服务器上:

代码语言:javascript
复制
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
sudo apt-get update
sudo apt-get install gearman-job-server libgearman2 libgearman-dev uuid-dev php5-dev
sudo pecl install channel://pecl.php.net/gearman-0.7.0

我在我的/etc/apt/sources.list中添加了以下内容:

代码语言:javascript
复制
deb http://ppa.launchpad.net/gearman-developers/ppa/ubuntu lucid main

但是,在运行apt-get install之后,我会得到以下错误:

代码语言:javascript
复制
Reading package lists… Done
Building dependency tree
Reading state information… Done
uuid-dev is already the newest version.
php5-dev is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gearman-job-server: Depends: libdrizzle1 (>= 2010.10.01) but it is not installable
E: Broken packages

任何帮助都将不胜感激。

更新:

我似乎能够用以下说明安装libdrizzle

代码语言:javascript
复制
sudo apt-add-repository ppa:drizzle-developers/ppa
sudo apt-get update
sudo apt-get install libdrizzle1

在此之后,我能够安装Gearman,但是,我无法安装PECL模块。该模块似乎不再受支持。我可以这样安装它:

代码语言:javascript
复制
wget http://pecl.php.net/get/gearman-0.7.0.tgz
tar -xvfz gearman-0.7.0.tgz
cd gearman-0.7.0
./configure
make
sudo make install

本页更多信息:http://gearman.org/index.php?id=gearman_php_扩展

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2011-05-01 06:00:40

看来,用于齿轮人工作服务器的PPA有点坏了。我建议在这里把这件事报告为窃听器:

https://bugs.launchpad.net/gearmand/+filebug

也就是说,有一个工作版本的gearman-作业服务器,在透明,v0.10。它有点老,没有libdrizzle的支持,所以持之以恒将不得不通过其他方式,但它应该有效。

票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/38662

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档