我试图使用以下命令将Gearman安装在一个干净的10.04服务器上:
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中添加了以下内容:
deb http://ppa.launchpad.net/gearman-developers/ppa/ubuntu lucid main但是,在运行apt-get install之后,我会得到以下错误:
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:
sudo apt-add-repository ppa:drizzle-developers/ppa
sudo apt-get update
sudo apt-get install libdrizzle1在此之后,我能够安装Gearman,但是,我无法安装PECL模块。该模块似乎不再受支持。我可以这样安装它:
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_扩展
发布于 2011-05-01 06:00:40
看来,用于齿轮人工作服务器的PPA有点坏了。我建议在这里把这件事报告为窃听器:
https://bugs.launchpad.net/gearmand/+filebug
也就是说,有一个工作版本的gearman-作业服务器,在透明,v0.10。它有点老,没有libdrizzle的支持,所以持之以恒将不得不通过其他方式,但它应该有效。
https://askubuntu.com/questions/38662
复制相似问题