Compiling gearman 1.1.0 on ArchLinux
Hello. I'm unsuccessfully trying to compile the latest version of gearman on my ArchLinux.
---
Configuration summary for gearmand version 1.1.0
* Installation prefix: /usr/local
* System type: unknown-linux-gnu
* Host CPU: x86_64
* C Compiler: gcc
* C Flags: -g -O2 -Werror -Wall -Wextra -std=c99 -Wbad-function-cast -Wmissing-
* C++ Compiler: g++
* C++ Flags: -g -O2 -Werror -Wall -Wextra -Wpragmas -D_FORTIFY_SOURCE=2 -Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=2 -Wlong-long -Wmaybe-
* CPP Flags:
* Assertions enabled: no
* Debug enabled: no
* Warnings as failure:
* Building with libsqlite3 yes
* Building with libdrizzle no
* Building with libmemcached yes
* Building with libpq yes
* Building with tokyocabinet no
* Building with libmysql yes
---
Compilation fails with error:
make all-am
make[1]: Entering directory `/home/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
In file included from /usr/include/
In function 'int poll(pollfd*, nfds_t, int)',
inlined from 'gearman_return_t gearman_
/usr/include/
cc1plus: all warnings being treated as errors
make[1]: *** [libgearman/
make[1]: Leaving directory `/home/
make: *** [all] Error 2
What am I doing wrong?
P.S. I tried to make version 0.38 and compilation failed with the same (or at least very similar) error.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Gearman Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: