Skip to content

Instantly share code, notes, and snippets.

@coagulant
Created June 28, 2013 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coagulant/5883957 to your computer and use it in GitHub Desktop.
Save coagulant/5883957 to your computer and use it in GitHub Desktop.
(sentry)sentry@gitlab:~$ pip install gevent
Downloading/unpacking gevent
Downloading gevent-0.13.8.tar.gz (300kB): 300kB downloaded
Running setup.py egg_info for package gevent
Downloading/unpacking greenlet (from gevent)
Downloading greenlet-0.4.1.zip (75kB): 75kB downloaded
Running setup.py egg_info for package greenlet
Installing collected packages: gevent, greenlet
Running setup.py install for gevent
building 'gevent.core' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/sentry/.pythonz/pythons/CPython-2.7.3/include/python2.7 -c gevent/core.c -o build/temp.linux-x86_64-2.7/gevent/core.o
In file included from gevent/core.c:253:
gevent/libevent.h:9:19: error: event.h: No such file or directory
gevent/libevent.h:38:20: error: evhttp.h: No such file or directory
gevent/libevent.h:39:19: error: evdns.h: No such file or directory
gevent/core.c:427: error: field ‘ev’ has incomplete type
gevent/core.c:855: warning: parameter names (without types) in function declaration
gevent/core.c: In function ‘__pyx_f_6gevent_4core___event_handler’:
gevent/core.c:1876: warning: implicit declaration of function ‘event_pending’
gevent/core.c:1876: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:1876: error: (Each undeclared identifier is reported only once
gevent/core.c:1876: error: for each function it appears in.)
gevent/core.c:1876: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:1876: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:1876: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event___init__’:
gevent/core.c:2093: warning: implicit declaration of function ‘evtimer_set’
gevent/core.c:2105: warning: implicit declaration of function ‘event_set’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_7pending___get__’:
gevent/core.c:2252: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c:2252: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:2252: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:2252: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_10events_str___get__’:
gevent/core.c:2448: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c:2458: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:2468: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:2486: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:2496: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_9flags_str___get__’:
gevent/core.c:2839: error: ‘EVLIST_TIMEOUT’ undeclared (first use in this function)
gevent/core.c:2849: error: ‘EVLIST_INSERTED’ undeclared (first use in this function)
gevent/core.c:2859: error: ‘EVLIST_SIGNAL’ undeclared (first use in this function)
gevent/core.c:2877: error: ‘EVLIST_ACTIVE’ undeclared (first use in this function)
gevent/core.c:2887: error: ‘EVLIST_INTERNAL’ undeclared (first use in this function)
gevent/core.c:2897: error: ‘EVLIST_INIT’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_2add’:
gevent/core.c:3215: warning: implicit declaration of function ‘event_add’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_4cancel’:
gevent/core.c:3475: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c:3475: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:3475: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:3475: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:3485: warning: implicit declaration of function ‘event_del’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_10read_event___init__’:
gevent/core.c:4425: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:4444: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_11write_event___init__’:
gevent/core.c:4636: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:4655: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15readwrite_event___init__’:
gevent/core.c:4894: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:4894: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:4913: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_f_6gevent_4core___simple_handler’:
gevent/core.c:5346: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:5346: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:5346: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:5346: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6signal___init__’:
gevent/core.c:5712: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:5712: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12active_event___init__’:
gevent/core.c:5885: warning: implicit declaration of function ‘event_active’
gevent/core.c:5885: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_init’:
gevent/core.c:6020: warning: implicit declaration of function ‘event_init’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_2dispatch’:
gevent/core.c:6083: warning: implicit declaration of function ‘event_dispatch’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4loop’:
gevent/core.c:6248: error: ‘EVLOOP_ONCE’ undeclared (first use in this function)
gevent/core.c:6267: error: ‘EVLOOP_NONBLOCK’ undeclared (first use in this function)
gevent/core.c:6293: warning: implicit declaration of function ‘event_loop’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6get_version’:
gevent/core.c:6413: warning: implicit declaration of function ‘event_get_version’
gevent/core.c:6413: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
/home/sentry/.pythonz/pythons/CPython-2.7.3/include/python2.7/stringobject.h:63: note: expected ‘const char *’ but argument is of type ‘int’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_8get_method’:
gevent/core.c:6469: warning: implicit declaration of function ‘event_get_method’
gevent/core.c:6469: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
/home/sentry/.pythonz/pythons/CPython-2.7.3/include/python2.7/stringobject.h:63: note: expected ‘const char *’ but argument is of type ‘int’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_10get_header_version’:
gevent/core.c:6525: error: ‘_EVENT_VERSION’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12reinit’:
gevent/core.c:6581: warning: implicit declaration of function ‘event_reinit’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_14dns_init’:
gevent/core.c:6632: warning: implicit declaration of function ‘evdns_init’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_16dns_shutdown’:
gevent/core.c:6717: warning: implicit declaration of function ‘evdns_shutdown’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_18dns_err_to_string’:
gevent/core.c:6773: warning: implicit declaration of function ‘evdns_err_to_string’
gevent/core.c:6773: warning: assignment makes pointer from integer without a cast
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_20dns_resolve_ipv4’:
gevent/core.c:7287: warning: implicit declaration of function ‘evdns_resolve_ipv4’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_22dns_resolve_ipv6’:
gevent/core.c:7459: warning: implicit declaration of function ‘evdns_resolve_ipv6’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_24dns_resolve_reverse’:
gevent/core.c:7631: warning: implicit declaration of function ‘evdns_resolve_reverse’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_26dns_resolve_reverse_ipv6’:
gevent/core.c:7803: warning: implicit declaration of function ‘evdns_resolve_reverse_ipv6’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6buffer_2__len__’:
gevent/core.c:8047: warning: implicit declaration of function ‘EVBUFFER_LENGTH’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6buffer_12read’:
gevent/core.c:8498: warning: implicit declaration of function ‘EVBUFFER_DATA’
gevent/core.c:8498: warning: cast to pointer from integer of different size
gevent/core.c:8544: warning: implicit declaration of function ‘evbuffer_drain’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6buffer_14readline’:
gevent/core.c:8821: warning: cast to pointer from integer of different size
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6buffer_18write’:
gevent/core.c:9224: warning: implicit declaration of function ‘evbuffer_add’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_12get_input_headers’:
gevent/core.c:10379: error: dereferencing pointer to incomplete type
gevent/core.c:10388: error: dereferencing pointer to incomplete type
gevent/core.c:10420: error: dereferencing pointer to incomplete type
gevent/core.c:10429: error: dereferencing pointer to incomplete type
gevent/core.c:10494: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_10connection___get__’:
gevent/core.c:10589: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_11remote_host___get__’:
gevent/core.c:10678: error: dereferencing pointer to incomplete type
gevent/core.c:10689: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_11remote_port___get__’:
gevent/core.c:10773: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_4kind___get__’:
gevent/core.c:10922: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_4type___get__’:
gevent/core.c:11003: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_7typestr___get__’:
gevent/core.c:11091: error: dereferencing pointer to incomplete type
gevent/core.c:11105: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_3uri___get__’:
gevent/core.c:11201: error: dereferencing pointer to incomplete type
gevent/core.c:11212: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_5major___get__’:
gevent/core.c:11296: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_5minor___get__’:
gevent/core.c:11377: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_7version___get__’:
gevent/core.c:11460: error: dereferencing pointer to incomplete type
gevent/core.c:11462: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_13response_code___get__’:
gevent/core.c:11553: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_18response_code_line___get__’:
gevent/core.c:11633: error: dereferencing pointer to incomplete type
gevent/core.c:11644: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_7chunked___get__’:
gevent/core.c:11796: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_12input_buffer___get__’:
gevent/core.c:11902: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_13output_buffer___get__’:
gevent/core.c:12031: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_14find_input_header’:
gevent/core.c:12145: warning: implicit declaration of function ‘evhttp_find_header’
gevent/core.c:12145: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_16find_output_header’:
gevent/core.c:12259: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_18add_input_header’:
gevent/core.c:12408: warning: implicit declaration of function ‘evhttp_add_header’
gevent/core.c:12408: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_20add_output_header’:
gevent/core.c:12547: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_22remove_input_header’:
gevent/core.c:12652: warning: implicit declaration of function ‘evhttp_remove_header’
gevent/core.c:12652: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_24remove_output_header’:
gevent/core.c:12749: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_26clear_input_headers’:
gevent/core.c:12834: warning: implicit declaration of function ‘evhttp_clear_headers’
gevent/core.c:12834: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_28clear_output_headers’:
gevent/core.c:12910: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_6send_reply’:
gevent/core.c:13661: warning: implicit declaration of function ‘evhttp_send_reply’
gevent/core.c:13699: warning: implicit declaration of function ‘evbuffer_new’
gevent/core.c:13699: warning: assignment makes pointer from integer without a cast
gevent/core.c:13728: warning: implicit declaration of function ‘evbuffer_free’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_8send_reply_start’:
gevent/core.c:13897: warning: implicit declaration of function ‘evhttp_send_reply_start’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_10send_reply_chunk’:
gevent/core.c:13991: warning: implicit declaration of function ‘evhttp_send_reply_chunk’
gevent/core.c:14015: warning: assignment makes pointer from integer without a cast
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_12send_reply_end’:
gevent/core.c:14153: warning: implicit declaration of function ‘evhttp_send_reply_end’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_14send_error’:
gevent/core.c:14289: warning: implicit declaration of function ‘evhttp_send_error’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_19http_request_client___init__’:
gevent/core.c:14533: warning: implicit declaration of function ‘evhttp_request_new’
gevent/core.c:14533: warning: assignment makes pointer from integer without a cast
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_19http_request_client_2__dealloc__’:
gevent/core.c:14786: warning: implicit declaration of function ‘evhttp_request_free’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_2new’:
gevent/core.c:15156: warning: implicit declaration of function ‘evhttp_connection_new’
gevent/core.c:15156: warning: assignment makes pointer from integer without a cast
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_4__dealloc__’:
gevent/core.c:15276: warning: implicit declaration of function ‘evhttp_connection_free’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_4peer___get__’:
gevent/core.c:15758: error: ‘ev_uint16_t’ undeclared (first use in this function)
gevent/core.c:15758: error: expected ‘;’ before ‘__pyx_v_port’
gevent/core.c:15812: error: ‘__pyx_v_port’ undeclared (first use in this function)
gevent/core.c:15821: warning: implicit declaration of function ‘evhttp_connection_get_peer’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_12set_local_address’:
gevent/core.c:15969: warning: implicit declaration of function ‘evhttp_connection_set_local_address’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_14set_timeout’:
gevent/core.c:16055: warning: implicit declaration of function ‘evhttp_connection_set_timeout’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_16set_retries’:
gevent/core.c:16141: warning: implicit declaration of function ‘evhttp_connection_set_retries’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_18make_request’:
gevent/core.c:16261: warning: implicit declaration of function ‘evhttp_make_request’
gevent/core.c: In function ‘__pyx_f_6gevent_4core__http_cb_handler’:
gevent/core.c:16834: error: dereferencing pointer to incomplete type
gevent/core.c:16857: warning: implicit declaration of function ‘evhttp_connection_set_closecb’
gevent/core.c: In function ‘__pyx_f_6gevent_4core_report_internal_error’:
gevent/core.c:17352: error: dereferencing pointer to incomplete type
gevent/core.c:17366: error: dereferencing pointer to incomplete type
gevent/core.c:17375: error: dereferencing pointer to incomplete type
gevent/core.c:17384: warning: assignment makes pointer from integer without a cast
gevent/core.c:17393: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4http___init__’:
gevent/core.c:17583: warning: implicit declaration of function ‘evhttp_new’
gevent/core.c:17583: warning: assignment makes pointer from integer without a cast
gevent/core.c:17592: warning: implicit declaration of function ‘evhttp_set_gencb’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4http_2__dealloc__’:
gevent/core.c:17653: warning: implicit declaration of function ‘evhttp_free’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4http_6bind’:
gevent/core.c:17886: warning: implicit declaration of function ‘evhttp_bind_socket’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4http_8accept’:
gevent/core.c:18002: warning: implicit declaration of function ‘evhttp_accept_socket’
gevent/core.c: In function ‘initcore’:
gevent/core.c:22746: error: ‘EVHTTP_REQ_GET’ undeclared (first use in this function)
gevent/core.c:22764: error: ‘EVHTTP_REQ_POST’ undeclared (first use in this function)
gevent/core.c:22782: error: ‘EVHTTP_REQ_HEAD’ undeclared (first use in this function)
gevent/core.c:23045: error: ‘EVHTTP_REQUEST’ undeclared (first use in this function)
gevent/core.c:23057: error: ‘EVHTTP_RESPONSE’ undeclared (first use in this function)
gevent/core.c: At top level:
gevent/core.c:24479: error: expected ‘)’ before ‘val’
error: command 'gcc' failed with exit status 1
Complete output from command /home/sentry/envs/sentry/bin/python -c "import setuptools;__file__='/home/sentry/envs/sentry/build/gevent/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-E4Ock6-record/install-record.txt --single-version-externally-managed --install-headers /home/sentry/envs/sentry/include/site/python2.7:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/gevent
copying gevent/http.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/win32util.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/hub.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/pywsgi.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/util.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/socket.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/backdoor.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/sslold.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/event.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/wsgi.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/__init__.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/select.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/server.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/httplib.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/local.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/monkey.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/coros.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/timeout.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/dns.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/thread.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/greenlet.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/ssl.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/baseserver.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/queue.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/rawgreenlet.py -> build/lib.linux-x86_64-2.7/gevent
copying gevent/pool.py -> build/lib.linux-x86_64-2.7/gevent
running build_ext
building 'gevent.core' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/gevent
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/sentry/.pythonz/pythons/CPython-2.7.3/include/python2.7 -c gevent/core.c -o build/temp.linux-x86_64-2.7/gevent/core.o
In file included from gevent/core.c:253:
gevent/libevent.h:9:19: error: event.h: No such file or directory
gevent/libevent.h:38:20: error: evhttp.h: No such file or directory
gevent/libevent.h:39:19: error: evdns.h: No such file or directory
gevent/core.c:427: error: field ‘ev’ has incomplete type
gevent/core.c:855: warning: parameter names (without types) in function declaration
gevent/core.c: In function ‘__pyx_f_6gevent_4core___event_handler’:
gevent/core.c:1876: warning: implicit declaration of function ‘event_pending’
gevent/core.c:1876: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:1876: error: (Each undeclared identifier is reported only once
gevent/core.c:1876: error: for each function it appears in.)
gevent/core.c:1876: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:1876: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:1876: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event___init__’:
gevent/core.c:2093: warning: implicit declaration of function ‘evtimer_set’
gevent/core.c:2105: warning: implicit declaration of function ‘event_set’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_7pending___get__’:
gevent/core.c:2252: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c:2252: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:2252: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:2252: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_10events_str___get__’:
gevent/core.c:2448: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c:2458: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:2468: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:2486: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:2496: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_9flags_str___get__’:
gevent/core.c:2839: error: ‘EVLIST_TIMEOUT’ undeclared (first use in this function)
gevent/core.c:2849: error: ‘EVLIST_INSERTED’ undeclared (first use in this function)
gevent/core.c:2859: error: ‘EVLIST_SIGNAL’ undeclared (first use in this function)
gevent/core.c:2877: error: ‘EVLIST_ACTIVE’ undeclared (first use in this function)
gevent/core.c:2887: error: ‘EVLIST_INTERNAL’ undeclared (first use in this function)
gevent/core.c:2897: error: ‘EVLIST_INIT’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_2add’:
gevent/core.c:3215: warning: implicit declaration of function ‘event_add’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_5event_4cancel’:
gevent/core.c:3475: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c:3475: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:3475: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:3475: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:3485: warning: implicit declaration of function ‘event_del’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_10read_event___init__’:
gevent/core.c:4425: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:4444: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_11write_event___init__’:
gevent/core.c:4636: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:4655: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15readwrite_event___init__’:
gevent/core.c:4894: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:4894: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:4913: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_f_6gevent_4core___simple_handler’:
gevent/core.c:5346: error: ‘EV_READ’ undeclared (first use in this function)
gevent/core.c:5346: error: ‘EV_WRITE’ undeclared (first use in this function)
gevent/core.c:5346: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:5346: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6signal___init__’:
gevent/core.c:5712: error: ‘EV_SIGNAL’ undeclared (first use in this function)
gevent/core.c:5712: error: ‘EV_PERSIST’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12active_event___init__’:
gevent/core.c:5885: warning: implicit declaration of function ‘event_active’
gevent/core.c:5885: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_init’:
gevent/core.c:6020: warning: implicit declaration of function ‘event_init’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_2dispatch’:
gevent/core.c:6083: warning: implicit declaration of function ‘event_dispatch’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4loop’:
gevent/core.c:6248: error: ‘EVLOOP_ONCE’ undeclared (first use in this function)
gevent/core.c:6267: error: ‘EVLOOP_NONBLOCK’ undeclared (first use in this function)
gevent/core.c:6293: warning: implicit declaration of function ‘event_loop’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6get_version’:
gevent/core.c:6413: warning: implicit declaration of function ‘event_get_version’
gevent/core.c:6413: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
/home/sentry/.pythonz/pythons/CPython-2.7.3/include/python2.7/stringobject.h:63: note: expected ‘const char *’ but argument is of type ‘int’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_8get_method’:
gevent/core.c:6469: warning: implicit declaration of function ‘event_get_method’
gevent/core.c:6469: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
/home/sentry/.pythonz/pythons/CPython-2.7.3/include/python2.7/stringobject.h:63: note: expected ‘const char *’ but argument is of type ‘int’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_10get_header_version’:
gevent/core.c:6525: error: ‘_EVENT_VERSION’ undeclared (first use in this function)
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12reinit’:
gevent/core.c:6581: warning: implicit declaration of function ‘event_reinit’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_14dns_init’:
gevent/core.c:6632: warning: implicit declaration of function ‘evdns_init’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_16dns_shutdown’:
gevent/core.c:6717: warning: implicit declaration of function ‘evdns_shutdown’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_18dns_err_to_string’:
gevent/core.c:6773: warning: implicit declaration of function ‘evdns_err_to_string’
gevent/core.c:6773: warning: assignment makes pointer from integer without a cast
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_20dns_resolve_ipv4’:
gevent/core.c:7287: warning: implicit declaration of function ‘evdns_resolve_ipv4’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_22dns_resolve_ipv6’:
gevent/core.c:7459: warning: implicit declaration of function ‘evdns_resolve_ipv6’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_24dns_resolve_reverse’:
gevent/core.c:7631: warning: implicit declaration of function ‘evdns_resolve_reverse’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_26dns_resolve_reverse_ipv6’:
gevent/core.c:7803: warning: implicit declaration of function ‘evdns_resolve_reverse_ipv6’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6buffer_2__len__’:
gevent/core.c:8047: warning: implicit declaration of function ‘EVBUFFER_LENGTH’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6buffer_12read’:
gevent/core.c:8498: warning: implicit declaration of function ‘EVBUFFER_DATA’
gevent/core.c:8498: warning: cast to pointer from integer of different size
gevent/core.c:8544: warning: implicit declaration of function ‘evbuffer_drain’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6buffer_14readline’:
gevent/core.c:8821: warning: cast to pointer from integer of different size
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_6buffer_18write’:
gevent/core.c:9224: warning: implicit declaration of function ‘evbuffer_add’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_12get_input_headers’:
gevent/core.c:10379: error: dereferencing pointer to incomplete type
gevent/core.c:10388: error: dereferencing pointer to incomplete type
gevent/core.c:10420: error: dereferencing pointer to incomplete type
gevent/core.c:10429: error: dereferencing pointer to incomplete type
gevent/core.c:10494: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_10connection___get__’:
gevent/core.c:10589: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_11remote_host___get__’:
gevent/core.c:10678: error: dereferencing pointer to incomplete type
gevent/core.c:10689: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_11remote_port___get__’:
gevent/core.c:10773: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_4kind___get__’:
gevent/core.c:10922: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_4type___get__’:
gevent/core.c:11003: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_7typestr___get__’:
gevent/core.c:11091: error: dereferencing pointer to incomplete type
gevent/core.c:11105: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_3uri___get__’:
gevent/core.c:11201: error: dereferencing pointer to incomplete type
gevent/core.c:11212: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_5major___get__’:
gevent/core.c:11296: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_5minor___get__’:
gevent/core.c:11377: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_7version___get__’:
gevent/core.c:11460: error: dereferencing pointer to incomplete type
gevent/core.c:11462: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_13response_code___get__’:
gevent/core.c:11553: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_18response_code_line___get__’:
gevent/core.c:11633: error: dereferencing pointer to incomplete type
gevent/core.c:11644: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_7chunked___get__’:
gevent/core.c:11796: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_12input_buffer___get__’:
gevent/core.c:11902: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_13output_buffer___get__’:
gevent/core.c:12031: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_14find_input_header’:
gevent/core.c:12145: warning: implicit declaration of function ‘evhttp_find_header’
gevent/core.c:12145: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_16find_output_header’:
gevent/core.c:12259: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_18add_input_header’:
gevent/core.c:12408: warning: implicit declaration of function ‘evhttp_add_header’
gevent/core.c:12408: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_20add_output_header’:
gevent/core.c:12547: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_22remove_input_header’:
gevent/core.c:12652: warning: implicit declaration of function ‘evhttp_remove_header’
gevent/core.c:12652: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_24remove_output_header’:
gevent/core.c:12749: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_26clear_input_headers’:
gevent/core.c:12834: warning: implicit declaration of function ‘evhttp_clear_headers’
gevent/core.c:12834: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_17http_request_base_28clear_output_headers’:
gevent/core.c:12910: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_6send_reply’:
gevent/core.c:13661: warning: implicit declaration of function ‘evhttp_send_reply’
gevent/core.c:13699: warning: implicit declaration of function ‘evbuffer_new’
gevent/core.c:13699: warning: assignment makes pointer from integer without a cast
gevent/core.c:13728: warning: implicit declaration of function ‘evbuffer_free’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_8send_reply_start’:
gevent/core.c:13897: warning: implicit declaration of function ‘evhttp_send_reply_start’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_10send_reply_chunk’:
gevent/core.c:13991: warning: implicit declaration of function ‘evhttp_send_reply_chunk’
gevent/core.c:14015: warning: assignment makes pointer from integer without a cast
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_12send_reply_end’:
gevent/core.c:14153: warning: implicit declaration of function ‘evhttp_send_reply_end’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_12http_request_14send_error’:
gevent/core.c:14289: warning: implicit declaration of function ‘evhttp_send_error’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_19http_request_client___init__’:
gevent/core.c:14533: warning: implicit declaration of function ‘evhttp_request_new’
gevent/core.c:14533: warning: assignment makes pointer from integer without a cast
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_19http_request_client_2__dealloc__’:
gevent/core.c:14786: warning: implicit declaration of function ‘evhttp_request_free’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_2new’:
gevent/core.c:15156: warning: implicit declaration of function ‘evhttp_connection_new’
gevent/core.c:15156: warning: assignment makes pointer from integer without a cast
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_4__dealloc__’:
gevent/core.c:15276: warning: implicit declaration of function ‘evhttp_connection_free’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_4peer___get__’:
gevent/core.c:15758: error: ‘ev_uint16_t’ undeclared (first use in this function)
gevent/core.c:15758: error: expected ‘;’ before ‘__pyx_v_port’
gevent/core.c:15812: error: ‘__pyx_v_port’ undeclared (first use in this function)
gevent/core.c:15821: warning: implicit declaration of function ‘evhttp_connection_get_peer’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_12set_local_address’:
gevent/core.c:15969: warning: implicit declaration of function ‘evhttp_connection_set_local_address’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_14set_timeout’:
gevent/core.c:16055: warning: implicit declaration of function ‘evhttp_connection_set_timeout’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_16set_retries’:
gevent/core.c:16141: warning: implicit declaration of function ‘evhttp_connection_set_retries’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_15http_connection_18make_request’:
gevent/core.c:16261: warning: implicit declaration of function ‘evhttp_make_request’
gevent/core.c: In function ‘__pyx_f_6gevent_4core__http_cb_handler’:
gevent/core.c:16834: error: dereferencing pointer to incomplete type
gevent/core.c:16857: warning: implicit declaration of function ‘evhttp_connection_set_closecb’
gevent/core.c: In function ‘__pyx_f_6gevent_4core_report_internal_error’:
gevent/core.c:17352: error: dereferencing pointer to incomplete type
gevent/core.c:17366: error: dereferencing pointer to incomplete type
gevent/core.c:17375: error: dereferencing pointer to incomplete type
gevent/core.c:17384: warning: assignment makes pointer from integer without a cast
gevent/core.c:17393: error: dereferencing pointer to incomplete type
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4http___init__’:
gevent/core.c:17583: warning: implicit declaration of function ‘evhttp_new’
gevent/core.c:17583: warning: assignment makes pointer from integer without a cast
gevent/core.c:17592: warning: implicit declaration of function ‘evhttp_set_gencb’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4http_2__dealloc__’:
gevent/core.c:17653: warning: implicit declaration of function ‘evhttp_free’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4http_6bind’:
gevent/core.c:17886: warning: implicit declaration of function ‘evhttp_bind_socket’
gevent/core.c: In function ‘__pyx_pf_6gevent_4core_4http_8accept’:
gevent/core.c:18002: warning: implicit declaration of function ‘evhttp_accept_socket’
gevent/core.c: In function ‘initcore’:
gevent/core.c:22746: error: ‘EVHTTP_REQ_GET’ undeclared (first use in this function)
gevent/core.c:22764: error: ‘EVHTTP_REQ_POST’ undeclared (first use in this function)
gevent/core.c:22782: error: ‘EVHTTP_REQ_HEAD’ undeclared (first use in this function)
gevent/core.c:23045: error: ‘EVHTTP_REQUEST’ undeclared (first use in this function)
gevent/core.c:23057: error: ‘EVHTTP_RESPONSE’ undeclared (first use in this function)
gevent/core.c: At top level:
gevent/core.c:24479: error: expected ‘)’ before ‘val’
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /home/sentry/envs/sentry/bin/python -c "import setuptools;__file__='/home/sentry/envs/sentry/build/gevent/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-E4Ock6-record/install-record.txt --single-version-externally-managed --install-headers /home/sentry/envs/sentry/include/site/python2.7 failed with error code 1 in /home/sentry/envs/sentry/build/gevent
Storing complete log in /home/sentry/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment