Gearman是一个用来把工作委派给其他机器、分布式的调用更适合做某项工作的机器、并发的做某项工作在多个调用间做负载均衡、或用来在调用其它语言的函数的系统。
编译安装 gearmand
- 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
上面错误的原因是编译器找不到 头文件