您的位置:首页 > 其它

gearmand 环境安装与配置

2015-11-16 11:43 232 查看
Gearman是一个用来把工作委派给其他机器、分布式的调用更适合做某项工作的机器、并发的做某项工作在多个调用间做负载均衡、或用来在调用其它语言的函数的系统。

 

编译安装 gearmand

Php代码  


cd gearmand-1.1.12  

[root@AY1403121111165237f2Z gearmand-1.1.12]# ls  

aclocal.m4  build-aux     configure.ac  gear_config.in  libgearman-1.0     libhashkit-1.0  Makefile.am  README   tests  

AUTHORS     ChangeLog     COPYING       gearmand        libgearmancore     libhostile      Makefile.in  rpm      THANKS  

benchmark   configmake.h  docs          HACKING         libgearman-server  libtest         man          scripts  util  

bin         configure     examples      libgearman      libhashkit         m4              NEWS         support  version.m4  

[root@AY1403121111165237f2Z gearmand-1.1.12]# ./configure   

configure: error: could not find boost 错误解决  

[root@AY1403121111165237f2Z gearmand-1.1.12]#yum install boost-devel*  

configure: error: could not find gperf 错误解决  

[root@AY1403121111165237f2Z gearmand-1.1.12]#yum install gperf*  

configure: error: Unable to find libevent 错误解决  

[root@AY1403121111165237f2Z gearmand-1.1.12]#yum install libevent-devel*  

configure: error: Unable to find libuuid 错误解决  

[root@AY1403121111165237f2Z gearmand-1.1.12]#yum install libuuid-devel  

 上面错误的原因是编译器找不到 头文件
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: