Gearman安装在windows中

时间:2014-09-30 08:03:21

标签: windows makefile installation gearman libevent

我已经在这方面工作了好几天,而且我真的不知道发生了什么

我正在尝试在Windows上安装gearman并严格遵循此链接上的内容:

http://www.phpvs.net/2010/11/30/installing-gearman-and-gearmand-on-windows-with-cygwin/

然而,没有运气。我安装了libevent,我正在安装gearman:

我只是设法在cygwin上执行 ./ configure 。 之后,使用制作

make -j2  all-am
make[1]: Entering directory '/cygdrive/c/gearman'
  CXX      libgearman/libgearman_libgearman_la-error.lo
libgearman/error.cc: In function 'gearman_return_t gearman_universal_set_perror(gearman_universal_st&, gearman_return_t, int, const char*, const char*, const char*, ...)':
libgearman/error.cc:218:83: error: 'strerror_r' was not declared in this scope
     errmsg_ptr= strerror_r(universal._error.system_error(), errmsg, sizeof(errmsg));
                                                                                   ^
Makefile:6247: recipe for target 'libgearman/libgearman_libgearman_la-error.lo' failed
make[1]: *** [libgearman/libgearman_libgearman_la-error.lo] Error 1
make[1]: Leaving directory '/cygdrive/c/gearman'
Makefile:3050: recipe for target 'all' failed
make: *** [all] Error 2

这件事发生了,我不知道我做错了什么。我需要帮助。谢谢!

0 个答案:

没有答案