Gevent requires libevent 1.4.x or later. Check that debian has correct
version(if i'm not wrong lenny shipped with 1.3).
> Hi,
> I'm trying to install gevent on a debian 5.0 64bits
--
Alexandre Kandalintsev
What you can do is to install libevent from lenny-backports as
explained here: http://backports.org/dokuwiki/doku.php?id=instructions
After you've set up backports on your server, the right command would
be something like
apt-get install -t lenny-backports libevent-dev libevent-1.4-2
If you don't have root access, then download libevent from
http://www.monkey.org/~provos/libevent-1.4.14b-stable.tar.gz, build it
with
./configure --with-pic --disable-shared
make
and then build gevent with
gevent$ python setup.py build --libevent /path/to/libevent
Using backports is easier though.
> Hi,
> I tried a solution found in that group with the git gevent branch :
>
> git branch -a
> * upstream
> origin/HEAD
> origin/close-socket-cancel-event
> origin/pywsgi-without-basehttpserver
> origin/upstream
> origin/wip-3-all
> origin/wip-all
> origin/wip-config
> origin/wip-download
> origin/wip-setup-config
> ns38966:~/gevent# git checkout origin/wip-all
> Note: moving to "origin/wip-all" which isn't a local branch
> If you want to create a new branch from this checkout, you may do so
> (now or later) by using -b with the checkout command again. Example:
> git checkout -b <new_branch_name>
> HEAD is now at 1033f59... simplify backdoor.py. also close connection
> on SystemExit.
> ns38966:~/gevent# python setup.py build_libevent build install
try this instead:
$ GEVENT_DOWNLOAD_LIBEVENT=1 python setup.py install