When trying to install gevent on my webfaction server:
easy_install-2.7 gevent
I get the following error, usually some basic google searcher tacle these type of errors, but no luck this time:
Searching for gevent
Reading https://pypi.python.org/simple/gevent/
Best match: gevent 1.0.1
Downloading https://pypi.python.org/packages/source/g/gevent/gevent-1.0.1.tar.gz#md5=7b952591d1a0174d6eb6ac47bd975ab6
Processing gevent-1.0.1.tar.gz
Writing /tmp/easy_install-PM35Tb/gevent-1.0.1/setup.cfg
Running gevent-1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-PM35Tb/gevent-1.0.1/egg-dist-tmp-yclkCg
Running '/bin/sh /tmp/easy_install-PM35Tb/gevent-1.0.1/libev/configure > configure-output.txt' in /tmp/easy_install-PM35Tb/gevent-1.0.1/build/temp.linux-x86_64-2.7/libev
configure: error: in `/tmp/easy_install-PM35Tb/gevent-1.0.1/build/temp.linux-x86_64-2.7/libev':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
In file included from gevent/libev.h:2,
from gevent/gevent.core.c:313:
libev/ev.c:45:22: error: config.h: No such file or directory
libev/ev.c:477:48: warning: "/*" within comment
In file included from gevent/libev.h:2,
from gevent/gevent.core.c:313:
libev/ev.c:1531: warning: âev_default_loop_ptrâ initialized and declared âexternâ
In file included from gevent/libev.h:2,
from gevent/gevent.core.c:313:
libev/ev.c: In function âev_io_startâ:
libev/ev.c:3554: warning: suggest parentheses around arithmetic in operand of â|â
libev/ev.c:4795:27: warning: "/*" within comment
libev/ev.c:4796:27: warning: "/*" within comment
error: Setup script exited with error: command 'gcc' failed with exit status 1
How could I fix this?
Thanks in advance!
asked
23 Nov '14, 22:08
agregorian
11●2●4
accept rate:
0%