Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Gevent installation fails in OS X Lion and Linux
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Avinash  
View profile  
 More options May 2 2012, 9:08 pm
From: Avinash <avilanc...@gmail.com>
Date: Wed, 2 May 2012 18:08:43 -0700 (PDT)
Local: Wed, May 2 2012 9:08 pm
Subject: Gevent installation fails in OS X Lion and Linux
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
    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
    Complete output from command /usr/bin/python -c "import
setuptools;__file__='/Users/avinash/build/gevent/
setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'),
__file__, 'exec'))" install --single-version-externally-managed --
record /tmp/pip-80RO_Z-record/install-record.txt:
    running install

running build

running build_py

creating build

creating build/lib.macosx-10.7-intel-2.7

creating build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/__init__.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/backdoor.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/baseserver.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/coros.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/dns.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/event.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/greenlet.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/http.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/httplib.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/hub.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/local.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/monkey.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/pool.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/pywsgi.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/queue.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/rawgreenlet.py -> build/lib.macosx-10.7-intel-2.7/
gevent

copying gevent/select.py -> build/lib.macosx-10.7-intel-2.7/gevent

copying gevent/server.py -> ...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bolang  
View profile  
 More options May 4 2012, 4:51 am
From: Bolang <boo.l...@gmail.com>
Date: Fri, 04 May 2012 15:51:43 +0700
Local: Fri, May 4 2012 4:51 am
Subject: Re: [gevent] Gevent installation fails in OS X Lion and Linux
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:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »