XnIcRaM

Untitled

Feb 9th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.46 KB | None | 0 0
  1. # env CC=gcc pip2.7 install gevent
  2. Collecting gevent
  3. Using cached gevent-1.0.1.tar.gz
  4. Requirement already satisfied (use --upgrade to upgrade): greenlet in /usr/local/lib/python2.7/site-packages (from gevent)
  5. Installing collected packages: gevent
  6. Running setup.py install for gevent
  7. configure: error: in `/tmp/pip-build-FTEw0x/gevent/build/temp.linux-x86_64-2.7/libev':
  8. configure: error: cannot run C compiled programs.
  9. If you meant to cross compile, use `--host'.
  10. See `config.log' for more details
  11. 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
  12. building 'gevent.core' extension
  13. 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
  14. In file included from gevent/libev.h:2,
  15. from gevent/gevent.core.c:313:
  16. libev/ev.c:45:22: error: config.h: No such file or directory
  17. libev/ev.c:477:48: warning: "/*" within comment
  18. In file included from gevent/libev.h:2,
  19. from gevent/gevent.core.c:313:
  20. libev/ev.c:1531: warning: ‘ev_default_loop_ptr’ initialized and declared ‘extern’
  21. In file included from gevent/libev.h:2,
  22. from gevent/gevent.core.c:313:
  23. libev/ev.c: In function ‘ev_io_start’:
  24. libev/ev.c:3554: warning: suggest parentheses around arithmetic in operand of ‘|’
  25. libev/ev.c:4795:27: warning: "/*" within comment
  26. libev/ev.c:4796:27: warning: "/*" within comment
  27. error: command 'gcc' failed with exit status 1
  28. 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:
  29. running install
  30.  
  31. running build
  32.  
  33. running build_py
  34.  
  35. creating build
  36.  
  37. creating build/lib.linux-x86_64-2.7
  38.  
  39. creating build/lib.linux-x86_64-2.7/gevent
  40.  
  41. copying gevent/resolver_thread.py -> build/lib.linux-x86_64-2.7/gevent
  42.  
  43. copying gevent/socket.py -> build/lib.linux-x86_64-2.7/gevent
  44.  
  45. copying gevent/threadpool.py -> build/lib.linux-x86_64-2.7/gevent
  46.  
  47. copying gevent/util.py -> build/lib.linux-x86_64-2.7/gevent
  48.  
  49. copying gevent/__init__.py -> build/lib.linux-x86_64-2.7/gevent
  50.  
  51. copying gevent/monkey.py -> build/lib.linux-x86_64-2.7/gevent
  52.  
  53. copying gevent/queue.py -> build/lib.linux-x86_64-2.7/gevent
  54.  
  55. copying gevent/coros.py -> build/lib.linux-x86_64-2.7/gevent
  56.  
  57. copying gevent/server.py -> build/lib.linux-x86_64-2.7/gevent
  58.  
  59. copying gevent/_threading.py -> build/lib.linux-x86_64-2.7/gevent
  60.  
  61. copying gevent/thread.py -> build/lib.linux-x86_64-2.7/gevent
  62.  
  63. copying gevent/select.py -> build/lib.linux-x86_64-2.7/gevent
  64.  
  65. copying gevent/hub.py -> build/lib.linux-x86_64-2.7/gevent
  66.  
  67. copying gevent/fileobject.py -> build/lib.linux-x86_64-2.7/gevent
  68.  
  69. copying gevent/wsgi.py -> build/lib.linux-x86_64-2.7/gevent
  70.  
  71. copying gevent/pywsgi.py -> build/lib.linux-x86_64-2.7/gevent
  72.  
  73. copying gevent/event.py -> build/lib.linux-x86_64-2.7/gevent
  74.  
  75. copying gevent/greenlet.py -> build/lib.linux-x86_64-2.7/gevent
  76.  
  77. copying gevent/ssl.py -> build/lib.linux-x86_64-2.7/gevent
  78.  
  79. copying gevent/local.py -> build/lib.linux-x86_64-2.7/gevent
  80.  
  81. copying gevent/subprocess.py -> build/lib.linux-x86_64-2.7/gevent
  82.  
  83. copying gevent/threading.py -> build/lib.linux-x86_64-2.7/gevent
  84.  
  85. copying gevent/os.py -> build/lib.linux-x86_64-2.7/gevent
  86.  
  87. copying gevent/win32util.py -> build/lib.linux-x86_64-2.7/gevent
  88.  
  89. copying gevent/baseserver.py -> build/lib.linux-x86_64-2.7/gevent
  90.  
  91. copying gevent/lock.py -> build/lib.linux-x86_64-2.7/gevent
  92.  
  93. copying gevent/backdoor.py -> build/lib.linux-x86_64-2.7/gevent
  94.  
  95. copying gevent/pool.py -> build/lib.linux-x86_64-2.7/gevent
  96.  
  97. copying gevent/resolver_ares.py -> build/lib.linux-x86_64-2.7/gevent
  98.  
  99. copying gevent/timeout.py -> build/lib.linux-x86_64-2.7/gevent
  100.  
  101. running build_ext
  102.  
  103. configure: error: in `/tmp/pip-build-FTEw0x/gevent/build/temp.linux-x86_64-2.7/libev':
  104.  
  105. configure: error: cannot run C compiled programs.
  106.  
  107. If you meant to cross compile, use `--host'.
  108.  
  109. See `config.log' for more details
  110.  
  111. 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
  112.  
  113. building 'gevent.core' extension
  114.  
  115. creating build/temp.linux-x86_64-2.7/gevent
  116.  
  117. 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
  118.  
  119. In file included from gevent/libev.h:2,
  120.  
  121. from gevent/gevent.core.c:313:
  122.  
  123. libev/ev.c:45:22: error: config.h: No such file or directory
  124.  
  125. libev/ev.c:477:48: warning: "/*" within comment
  126.  
  127. In file included from gevent/libev.h:2,
  128.  
  129. from gevent/gevent.core.c:313:
  130.  
  131. libev/ev.c:1531: warning: ‘ev_default_loop_ptr’ initialized and declared ‘extern’
  132.  
  133. In file included from gevent/libev.h:2,
  134.  
  135. from gevent/gevent.core.c:313:
  136.  
  137. libev/ev.c: In function ‘ev_io_start’:
  138.  
  139. libev/ev.c:3554: warning: suggest parentheses around arithmetic in operand of ‘|’
  140.  
  141. libev/ev.c:4795:27: warning: "/*" within comment
  142.  
  143. libev/ev.c:4796:27: warning: "/*" within comment
  144.  
  145. error: command 'gcc' failed with exit status 1
  146.  
  147. ----------------------------------------
  148. 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