gevent 0.13 is relatively hard to build, compared to 1.0 beta.
Maybe you can try 1.0
On 05/03/2012 08:08 AM, Avinash wrote:
> Need help in installing gevent. The installation fails because of a
> weird error . The libevent library is in /usr/local/lib . Other
> softwares using the libevent library got installed successfully but
> not in the case of gevent. Following are the error statement
>
>
> 1. In file included from gevent/libevent.h:38,
> from gevent/core.c:225:
> /usr/local/include/evhttp.h:223: error: expected specifier-
> qualifier-list before �ev_int64_t�
>
> 2. lipo: can't open input file: /var/tmp//ccxV5QLs.out (No such file
> or directory)
>
> error: command 'llvm-gcc-4.2' failed with exit status 1
>
> Following is the complete log. Help would be highly appreciated.
>
> Installing collected packages: gevent
> Running setup.py install for gevent
> building 'gevent.core' extension
> llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -
> pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -
> DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -
> Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -
> DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/
> Frameworks/Python.framework/Versions/2.7/include/python2.7 -c gevent/
> core.c -o build/temp.macosx-10.7-intel-2.7/gevent/core.o
> In file included from gevent/libevent.h:38,
> from gevent/core.c:225:
> /usr/local/include/evhttp.h:223: error: expected specifier-
> qualifier-list before �ev_int64_t�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_5timer___init__�:
> gevent/core.c:4825: warning: implicit conversion shortens 64-bit
> value into a 32-bit value
> gevent/core.c:4830: warning: implicit conversion shortens 64-bit
> value into a 32-bit value
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6reinit�:
> gevent/core.c:5812: warning: implicit declaration of function
> �event_reinit�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_6buffer_1__len__�:
> gevent/core.c:7159: warning: implicit declaration of function
> �EVBUFFER_LENGTH�
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6buffer_6read�:
> gevent/core.c:7545: warning: implicit declaration of function
> �EVBUFFER_DATA�
> gevent/core.c:7591: warning: implicit declaration of function
> �evbuffer_drain�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_6buffer_9write�:
> gevent/core.c:8222: warning: implicit declaration of function
> �evbuffer_add�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_6get_input_headers�:
> gevent/core.c:9286: error: dereferencing pointer to incomplete
> type
> gevent/core.c:9319: error: dereferencing pointer to incomplete
> type
> gevent/core.c:9328: error: dereferencing pointer to incomplete
> type
> gevent/core.c:9396: error: dereferencing pointer to incomplete
> type
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_7chunked___get__�:
> gevent/core.c:10488: error: �struct evhttp_request� has no member
> named �chunked�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_13output_buffer___get__�:
> gevent/core.c:10695: error: �struct evhttp_request� has no member
> named �output_buffer�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_12http_request_3send_reply�:
> gevent/core.c:12050: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
> gevent/core.c:12091: warning: implicit declaration of function
> �evbuffer_new�
> gevent/core.c:12091: warning: assignment makes pointer from
> integer without a cast
> gevent/core.c:12115: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
> gevent/core.c:12124: warning: implicit declaration of function
> �evbuffer_free�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_12http_request_5send_reply_chunk�:
> gevent/core.c:12361: warning: passing argument 2 of
> �evhttp_send_reply_chunk� from incompatible pointer type
> gevent/core.c:12388: warning: assignment makes pointer from
> integer without a cast
> gevent/core.c:12412: warning: passing argument 2 of
> �evhttp_send_reply_chunk� from incompatible pointer type
> gevent/core.c: In function
> �__pyx_f_6gevent_4core_report_internal_error�:
> gevent/core.c:15376: warning: assignment makes pointer from
> integer without a cast
> gevent/core.c:15403: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
> In file included from gevent/libevent.h:38,
> from gevent/core.c:225:
> /usr/local/include/evhttp.h:223: error: expected specifier-
> qualifier-list before �ev_int64_t�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_5timer___init__�:
> gevent/core.c:4825: warning: implicit conversion shortens 64-bit
> value into a 32-bit value
> gevent/core.c:4830: warning: implicit conversion shortens 64-bit
> value into a 32-bit value
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6reinit�:
> gevent/core.c:5812: warning: implicit declaration of function
> �event_reinit�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_6buffer_1__len__�:
> gevent/core.c:7159: warning: implicit declaration of function
> �EVBUFFER_LENGTH�
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6buffer_6read�:
> gevent/core.c:7545: warning: implicit declaration of function
> �EVBUFFER_DATA�
> gevent/core.c:7545: warning: cast to pointer from integer of
> different size
> gevent/core.c:7591: warning: implicit declaration of function
> �evbuffer_drain�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_6buffer_7readline�:
> gevent/core.c:7849: warning: cast to pointer from integer of
> different size
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_6buffer_9write�:
> gevent/core.c:8222: warning: implicit declaration of function
> �evbuffer_add�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_6get_input_headers�:
> gevent/core.c:9286: error: dereferencing pointer to incomplete
> type
> gevent/core.c:9319: error: dereferencing pointer to incomplete
> type
> gevent/core.c:9328: error: dereferencing pointer to incomplete
> type
> gevent/core.c:9396: error: dereferencing pointer to incomplete
> type
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_7chunked___get__�:
> gevent/core.c:10488: error: �struct evhttp_request� has no member
> named �chunked�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_13output_buffer___get__�:
> gevent/core.c:10695: error: �struct evhttp_request� has no member
> named �output_buffer�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_12http_request_3send_reply�:
> gevent/core.c:12050: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
> gevent/core.c:12091: warning: implicit declaration of function
> �evbuffer_new�
> gevent/core.c:12091: warning: assignment makes pointer from
> integer without a cast
> gevent/core.c:12115: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
> gevent/core.c:12124: warning: implicit declaration of function
> �evbuffer_free�
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_12http_request_5send_reply_chunk�:
> gevent/core.c:12361: warning: passing argument 2 of
> �evhttp_send_reply_chunk� from incompatible pointer type
> gevent/core.c:12388: warning: assignment makes pointer from
> integer without a cast
> gevent/core.c:12412: warning: passing argument 2 of
> �evhttp_send_reply_chunk� from incompatible pointer type
> gevent/core.c: In function
> �__pyx_f_6gevent_4core_report_internal_error�:
> gevent/core.c:15376: warning: assignment makes pointer from
> integer without a cast
> gevent/core.c:15403: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
> list before �ev_int64_t�
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_5timer___init__�:
>
> gevent/core.c:4825: warning: implicit conversion shortens 64-bit value
> into a 32-bit value
>
> gevent/core.c:4830: warning: implicit conversion shortens 64-bit value
> into a 32-bit value
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6reinit�:
>
> gevent/core.c:5812: warning: implicit declaration of function
> �event_reinit�
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6buffer_1__len__�:
>
> gevent/core.c:7159: warning: implicit declaration of function
> �EVBUFFER_LENGTH�
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6buffer_6read�:
>
> gevent/core.c:7545: warning: implicit declaration of function
> �EVBUFFER_DATA�
>
> gevent/core.c:7591: warning: implicit declaration of function
> �evbuffer_drain�
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6buffer_9write�:
>
> gevent/core.c:8222: warning: implicit declaration of function
> �evbuffer_add�
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_6get_input_headers�:
>
> gevent/core.c:9286: error: dereferencing pointer to incomplete type
>
> gevent/core.c:9319: error: dereferencing pointer to incomplete type
>
> gevent/core.c:9328: error: dereferencing pointer to incomplete type
>
> gevent/core.c:9396: error: dereferencing pointer to incomplete type
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_7chunked___get__�:
>
> gevent/core.c:10488: error: �struct evhttp_request� has no member
> named �chunked�
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_13output_buffer___get__�:
>
> gevent/core.c:10695: error: �struct evhttp_request� has no member
> named �output_buffer�
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_12http_request_3send_reply�:
>
> gevent/core.c:12050: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
>
> gevent/core.c:12091: warning: implicit declaration of function
> �evbuffer_new�
>
> gevent/core.c:12091: warning: assignment makes pointer from integer
> without a cast
>
> gevent/core.c:12115: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
>
> gevent/core.c:12124: warning: implicit declaration of function
> �evbuffer_free�
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_12http_request_5send_reply_chunk�:
>
> gevent/core.c:12361: warning: passing argument 2 of
> �evhttp_send_reply_chunk� from incompatible pointer type
>
> gevent/core.c:12388: warning: assignment makes pointer from integer
> without a cast
>
> gevent/core.c:12412: warning: passing argument 2 of
> �evhttp_send_reply_chunk� from incompatible pointer type
>
> gevent/core.c: In function
> �__pyx_f_6gevent_4core_report_internal_error�:
>
> gevent/core.c:15376: warning: assignment makes pointer from integer
> without a cast
>
> gevent/core.c:15403: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
>
> In file included from gevent/libevent.h:38,
>
> from gevent/core.c:225:
>
> /usr/local/include/evhttp.h:223: error: expected specifier-qualifier-
> list before �ev_int64_t�
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_5timer___init__�:
>
> gevent/core.c:4825: warning: implicit conversion shortens 64-bit value
> into a 32-bit value
>
> gevent/core.c:4830: warning: implicit conversion shortens 64-bit value
> into a 32-bit value
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6reinit�:
>
> gevent/core.c:5812: warning: implicit declaration of function
> �event_reinit�
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6buffer_1__len__�:
>
> gevent/core.c:7159: warning: implicit declaration of function
> �EVBUFFER_LENGTH�
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6buffer_6read�:
>
> gevent/core.c:7545: warning: implicit declaration of function
> �EVBUFFER_DATA�
>
> gevent/core.c:7545: warning: cast to pointer from integer of different
> size
>
> gevent/core.c:7591: warning: implicit declaration of function
> �evbuffer_drain�
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6buffer_7readline�:
>
> gevent/core.c:7849: warning: cast to pointer from integer of different
> size
>
> gevent/core.c: In function �__pyx_pf_6gevent_4core_6buffer_9write�:
>
> gevent/core.c:8222: warning: implicit declaration of function
> �evbuffer_add�
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_6get_input_headers�:
>
> gevent/core.c:9286: error: dereferencing pointer to incomplete type
>
> gevent/core.c:9319: error: dereferencing pointer to incomplete type
>
> gevent/core.c:9328: error: dereferencing pointer to incomplete type
>
> gevent/core.c:9396: error: dereferencing pointer to incomplete type
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_7chunked___get__�:
>
> gevent/core.c:10488: error: �struct evhttp_request� has no member
> named �chunked�
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_17http_request_base_13output_buffer___get__�:
>
> gevent/core.c:10695: error: �struct evhttp_request� has no member
> named �output_buffer�
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_12http_request_3send_reply�:
>
> gevent/core.c:12050: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
>
> gevent/core.c:12091: warning: implicit declaration of function
> �evbuffer_new�
>
> gevent/core.c:12091: warning: assignment makes pointer from integer
> without a cast
>
> gevent/core.c:12115: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type
>
> gevent/core.c:12124: warning: implicit declaration of function
> �evbuffer_free�
>
> gevent/core.c: In function
> �__pyx_pf_6gevent_4core_12http_request_5send_reply_chunk�:
>
> gevent/core.c:12361: warning: passing argument 2 of
> �evhttp_send_reply_chunk� from incompatible pointer type
>
> gevent/core.c:12388: warning: assignment makes pointer from integer
> without a cast
>
> gevent/core.c:12412: warning: passing argument 2 of
> �evhttp_send_reply_chunk� from incompatible pointer type
>
> gevent/core.c: In function
> �__pyx_f_6gevent_4core_report_internal_error�:
>
> gevent/core.c:15376: warning: assignment makes pointer from integer
> without a cast
>
> gevent/core.c:15403: warning: passing argument 4 of
> �evhttp_send_reply� from incompatible pointer type