Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # env CC=gcc pip2.7 install gevent
- Collecting gevent
- Using cached gevent-1.0.1.tar.gz
- Requirement already satisfied (use --upgrade to upgrade): greenlet in /usr/local/lib/python2.7/site-packages (from gevent)
- Installing collected packages: gevent
- Running setup.py install for gevent
- configure: error: in `/tmp/pip-build-FTEw0x/gevent/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
- Running '/bin/sh /tmp/pip-build-FTEw0x/gevent/libev/configure > configure-output.txt' in /tmp/pip-build-FTEw0x/gevent/build/temp.linux-x86_64-2.7/libev
- building 'gevent.core' extension
- gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.linux-x86_64-2.7/libev -Ilibev -I/usr/local/include/python2.7 -c gevent/gevent.core.c -o build/temp.linux-x86_64-2.7/gevent/gevent.core.o
- 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: command 'gcc' failed with exit status 1
- Complete output from command /usr/local/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-FTEw0x/gevent/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pG9SNq-record/install-record.txt --single-version-externally-managed --compile:
- 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/resolver_thread.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/socket.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/threadpool.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/util.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/__init__.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/monkey.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/queue.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/coros.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/server.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/_threading.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/thread.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/select.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/hub.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/fileobject.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/wsgi.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/pywsgi.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/event.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/local.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/subprocess.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/threading.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/os.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/win32util.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/baseserver.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/lock.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/backdoor.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/pool.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/resolver_ares.py -> build/lib.linux-x86_64-2.7/gevent
- copying gevent/timeout.py -> build/lib.linux-x86_64-2.7/gevent
- running build_ext
- configure: error: in `/tmp/pip-build-FTEw0x/gevent/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
- Running '/bin/sh /tmp/pip-build-FTEw0x/gevent/libev/configure > configure-output.txt' in /tmp/pip-build-FTEw0x/gevent/build/temp.linux-x86_64-2.7/libev
- building 'gevent.core' extension
- creating build/temp.linux-x86_64-2.7/gevent
- gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.linux-x86_64-2.7/libev -Ilibev -I/usr/local/include/python2.7 -c gevent/gevent.core.c -o build/temp.linux-x86_64-2.7/gevent/gevent.core.o
- 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: command 'gcc' failed with exit status 1
- ----------------------------------------
- Command "/usr/local/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-FTEw0x/gevent/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pG9SNq-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-FTEw0x/gevent
Advertisement
Add Comment
Please, Sign In to add comment