Error build uWsgi 2.0.12 from pip
-
- Offline
- 2 years 1 week ago
- 2016-03-23
*** uWSGI compiling server core ***
[thread 1][gcc] core/utils.o
[thread 2][gcc] core/protocol.o
[thread 3][gcc] core/socket.o
[thread 0][gcc] core/logging.o
core/protocol.c: In function 'uwsgi_proto_check_12':
core/protocol.c:399:8: error: implicit declaration of function 'setenv' [-Werror=implicit-function-declaration]
if (setenv(buf, env_value, 1)) {
^
core/socket.c: In function 'bind_to_udp':
core/socket.c:267:17: error: storage size of 'mc' isn't known
struct ip_mreq mc;
^
core/protocol.c: In function 'uwsgi_parse_vars':
core/protocol.c:799:9: error: implicit declaration of function 'realpath' [-Werror=implicit-function-declaration]
if (!realpath(udd->key, udd->value)) {
^
core/socket.c:267:17: error: unused variable 'mc' [-Werror=unused-variable]
core/utils.c: In function 'uwsgi_as_root':
core/utils.c:344:7: error: implicit declaration of function 'unshare' [-Werror=implicit-function-declaration]
if (unshare(uwsgi.unshare)) {
^
core/utils.c:564:5: error: implicit declaration of function 'sigfillset' [-Werror=implicit-function-declaration]
sigfillset(&smask);
^
...
^
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
----------------------------------------
Command "/usr/local/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-WJiK4u/uwsgi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-PDM8lF-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-WJiK4u/uwsgi/