Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.60 KB | None | 0 0
  1. Downloading/unpacking netifaces>=0.10.4 (from oslo.utils>=1.0.0->python-glanceclient>=0.14.0->-r requirements.txt (line 13))
  2. Running setup.py egg_info for package netifaces
  3. Requirement already satisfied (use --upgrade to upgrade): cmd2>=0.6.7 in /usr/lib64/python2.6/site-packages (from cliff>=1.7.0->python-neutronclient>=2.3.6,<3->-r requirements.txt (line 16))
  4. Requirement already satisfied (use --upgrade to upgrade): pyparsing>=2.0.1 in /usr/lib64/python2.6/site-packages (from cliff>=1.7.0->python-neutronclient>=2.3.6,<3->-r requirements.txt (line 16))
  5. Installing collected packages: netifaces
  6. Found existing installation: netifaces 0.6
  7. Uninstalling netifaces:
  8. Successfully uninstalled netifaces
  9. Running setup.py install for netifaces
  10. checking for getifaddrs...found. (cached)
  11. checking for getnameinfo...found. (cached)
  12. checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h. (cached)
  13. checking whether struct sockaddr has a length field...no. (cached)
  14. checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un ash ec ll atmpvc atmsvc dn irda llc. (cached)
  15. checking for routing socket support...no. (cached)
  16. checking for sysctl(CTL_NET...) support...no. (cached)
  17. checking for netlink support...yes. (cached)
  18. will use netlink to read routing table
  19. building 'netifaces' extension
  20. gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC -DNETIFACES_VERSION=0.10.4 -DHAVE_GETIFADDRS=1 -DHAVE_GETNAMEINFO=1 -DHAVE_NETASH_ASH_H=1 -DHAVE_NETATALK_AT_H=1 -DHAVE_NETAX25_AX25_H=1 -DHAVE_NETECONET_EC_H=1 -DHAVE_NETIPX_IPX_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_LINUX_IRDA_H=1 -DHAVE_LINUX_ATM_H=1 -DHAVE_LINUX_LLC_H=1 -DHAVE_LINUX_TIPC_H=1 -DHAVE_LINUX_DN_H=1 -DHAVE_SOCKADDR_AT=1 -DHAVE_SOCKADDR_AX25=1 -DHAVE_SOCKADDR_IN=1 -DHAVE_SOCKADDR_IN6=1 -DHAVE_SOCKADDR_IPX=1 -DHAVE_SOCKADDR_UN=1 -DHAVE_SOCKADDR_ASH=1 -DHAVE_SOCKADDR_EC=1 -DHAVE_SOCKADDR_LL=1 -DHAVE_SOCKADDR_ATMPVC=1 -DHAVE_SOCKADDR_ATMSVC=1 -DHAVE_SOCKADDR_DN=1 -DHAVE_SOCKADDR_IRDA=1 -DHAVE_SOCKADDR_LLC=1 -DHAVE_PF_NETLINK=1 -I/usr/include/python2.6 -c netifaces.c -o build/temp.linux-x86_64-2.6/netifaces.o
  21. netifaces.c:1:20: error: Python.h: No such file or directory
  22. netifaces.c: In function ‘string_from_sockaddr’:
  23. netifaces.c:333: warning: implicit declaration of function ‘calloc’
  24. netifaces.c:333: warning: incompatible implicit declaration of built-in function ‘calloc’
  25. netifaces.c:336: warning: implicit declaration of function ‘memcpy’
  26. netifaces.c:336: warning: incompatible implicit declaration of built-in function ‘memcpy’
  27. netifaces.c:352: warning: implicit declaration of function ‘free’
  28. netifaces.c:352: warning: incompatible implicit declaration of built-in function ‘free’
  29. netifaces.c:397: warning: implicit declaration of function ‘sprintf’
  30. netifaces.c:397: warning: incompatible implicit declaration of built-in function ‘sprintf’
  31. netifaces.c: At top level:
  32. netifaces.c:446: error: expected ‘)’ before ‘*’ token
  33. netifaces.c:484: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  34. netifaces.c:1037: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  35. netifaces.c:1210: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  36. netifaces.c:2267: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘methods’
  37. netifaces.c: In function ‘initnetifaces’:
  38. netifaces.c:2297: error: ‘PyObject’ undeclared (first use in this function)
  39. netifaces.c:2297: error: (Each undeclared identifier is reported only once
  40. netifaces.c:2297: error: for each function it appears in.)
  41. netifaces.c:2297: error: ‘address_family_dict’ undeclared (first use in this function)
  42. netifaces.c:2298: error: ‘m’ undeclared (first use in this function)
  43. netifaces.c:2306: warning: implicit declaration of function ‘Py_InitModule3’
  44. netifaces.c:2306: error: ‘methods’ undeclared (first use in this function)
  45. netifaces.c:2311: warning: implicit declaration of function ‘PyDict_New’
  46. netifaces.c:2313: warning: implicit declaration of function ‘PyModule_AddIntConstant’
  47. netifaces.c:2314: warning: implicit declaration of function ‘PyDict_SetItem’
  48. netifaces.c:2314: warning: implicit declaration of function ‘PyInt_FromLong’
  49. netifaces.c:2315: warning: implicit declaration of function ‘PyString_FromString’
  50. netifaces.c:2607: warning: implicit declaration of function ‘PyModule_AddObject’
  51. netifaces.c:2615: warning: implicit declaration of function ‘PyModule_AddStringConstant’
  52. error: command 'gcc' failed with exit status 1
  53. Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build/netifaces/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_e5_Op-record/install-record.txt --single-version-externally-managed:
  54. running install
  55.  
  56. running build
  57.  
  58. running build_ext
  59.  
  60. checking for getifaddrs...found. (cached)
  61.  
  62. checking for getnameinfo...found. (cached)
  63.  
  64. checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h. (cached)
  65.  
  66. checking whether struct sockaddr has a length field...no. (cached)
  67.  
  68. checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un ash ec ll atmpvc atmsvc dn irda llc. (cached)
  69.  
  70. checking for routing socket support...no. (cached)
  71.  
  72. checking for sysctl(CTL_NET...) support...no. (cached)
  73.  
  74. checking for netlink support...yes. (cached)
  75.  
  76. will use netlink to read routing table
  77.  
  78. building 'netifaces' extension
  79.  
  80. gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC -DNETIFACES_VERSION=0.10.4 -DHAVE_GETIFADDRS=1 -DHAVE_GETNAMEINFO=1 -DHAVE_NETASH_ASH_H=1 -DHAVE_NETATALK_AT_H=1 -DHAVE_NETAX25_AX25_H=1 -DHAVE_NETECONET_EC_H=1 -DHAVE_NETIPX_IPX_H=1 -DHAVE_NETPACKET_PACKET_H=1 -DHAVE_LINUX_IRDA_H=1 -DHAVE_LINUX_ATM_H=1 -DHAVE_LINUX_LLC_H=1 -DHAVE_LINUX_TIPC_H=1 -DHAVE_LINUX_DN_H=1 -DHAVE_SOCKADDR_AT=1 -DHAVE_SOCKADDR_AX25=1 -DHAVE_SOCKADDR_IN=1 -DHAVE_SOCKADDR_IN6=1 -DHAVE_SOCKADDR_IPX=1 -DHAVE_SOCKADDR_UN=1 -DHAVE_SOCKADDR_ASH=1 -DHAVE_SOCKADDR_EC=1 -DHAVE_SOCKADDR_LL=1 -DHAVE_SOCKADDR_ATMPVC=1 -DHAVE_SOCKADDR_ATMSVC=1 -DHAVE_SOCKADDR_DN=1 -DHAVE_SOCKADDR_IRDA=1 -DHAVE_SOCKADDR_LLC=1 -DHAVE_PF_NETLINK=1 -I/usr/include/python2.6 -c netifaces.c -o build/temp.linux-x86_64-2.6/netifaces.o
  81.  
  82. netifaces.c:1:20: error: Python.h: No such file or directory
  83.  
  84. netifaces.c: In function ‘string_from_sockaddr’:
  85.  
  86. netifaces.c:333: warning: implicit declaration of function ‘calloc’
  87.  
  88. netifaces.c:333: warning: incompatible implicit declaration of built-in function ‘calloc’
  89.  
  90. netifaces.c:336: warning: implicit declaration of function ‘memcpy’
  91.  
  92. netifaces.c:336: warning: incompatible implicit declaration of built-in function ‘memcpy’
  93.  
  94. netifaces.c:352: warning: implicit declaration of function ‘free’
  95.  
  96. netifaces.c:352: warning: incompatible implicit declaration of built-in function ‘free’
  97.  
  98. netifaces.c:397: warning: implicit declaration of function ‘sprintf’
  99.  
  100. netifaces.c:397: warning: incompatible implicit declaration of built-in function ‘sprintf’
  101.  
  102. netifaces.c: At top level:
  103.  
  104. netifaces.c:446: error: expected ‘)’ before ‘*’ token
  105.  
  106. netifaces.c:484: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  107.  
  108. netifaces.c:1037: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  109.  
  110. netifaces.c:1210: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  111.  
  112. netifaces.c:2267: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘methods’
  113.  
  114. netifaces.c: In function ‘initnetifaces’:
  115.  
  116. netifaces.c:2297: error: ‘PyObject’ undeclared (first use in this function)
  117.  
  118. netifaces.c:2297: error: (Each undeclared identifier is reported only once
  119.  
  120. netifaces.c:2297: error: for each function it appears in.)
  121.  
  122. netifaces.c:2297: error: ‘address_family_dict’ undeclared (first use in this function)
  123.  
  124. netifaces.c:2298: error: ‘m’ undeclared (first use in this function)
  125.  
  126. netifaces.c:2306: warning: implicit declaration of function ‘Py_InitModule3’
  127.  
  128. netifaces.c:2306: error: ‘methods’ undeclared (first use in this function)
  129.  
  130. netifaces.c:2311: warning: implicit declaration of function ‘PyDict_New’
  131.  
  132. netifaces.c:2313: warning: implicit declaration of function ‘PyModule_AddIntConstant’
  133.  
  134. netifaces.c:2314: warning: implicit declaration of function ‘PyDict_SetItem’
  135.  
  136. netifaces.c:2314: warning: implicit declaration of function ‘PyInt_FromLong’
  137.  
  138. netifaces.c:2315: warning: implicit declaration of function ‘PyString_FromString’
  139.  
  140. netifaces.c:2607: warning: implicit declaration of function ‘PyModule_AddObject’
  141.  
  142. netifaces.c:2615: warning: implicit declaration of function ‘PyModule_AddStringConstant’
  143.  
  144. error: command 'gcc' failed with exit status 1
  145.  
  146. ----------------------------------------
  147. Rolling back uninstall of netifaces
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement