Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.52 KB | None | 0 0
  1. Collecting cx_oracle
  2. Using cached cx_Oracle-5.2.1.tar.gz
  3. Building wheels for collected packages: cx-oracle
  4. Running setup.py bdist_wheel for cx-oracle ... error
  5. Complete output from command /Users/dunker/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/x2/shhmzq692yx16cmgnmm8wgqm0000gn/T/pip-build-u1fc6kgz/cx-oracle/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/x2/shhmzq692yx16cmgnmm8wgqm0000gn/T/tmpdol0yxgqpip-wheel- --python-tag cp35:
  6. running bdist_wheel
  7. running build
  8. running build_ext
  9. building 'cx_Oracle' extension
  10. creating build
  11. creating build/temp.macosx-10.6-x86_64-3.5-12c
  12. /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/dunker/anaconda3/include -arch x86_64 -I/Library/Oracle/instantclient_11_2/sdk/include -I/Users/dunker/anaconda3/include/python3.5m -c cx_Oracle.c -o build/temp.macosx-10.6-x86_64-3.5-12c/cx_Oracle.o -DBUILD_VERSION=5.2.1
  13. In file included from cx_Oracle.c:203:
  14. In file included from ./SessionPool.c:138:
  15. In file included from ./Connection.c:761:
  16. In file included from ./Cursor.c:246:
  17. In file included from ./Variable.c:171:
  18. ./NumberVar.c:372:26: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
  19. length = numDigits + abs(scale) + 3;
  20. ^
  21. ./NumberVar.c:372:26: note: use function 'labs' instead
  22. length = numDigits + abs(scale) + 3;
  23. ^~~
  24. labs
  25. In file included from cx_Oracle.c:203:
  26. In file included from ./SessionPool.c:138:
  27. In file included from ./Connection.c:761:
  28. In file included from ./Cursor.c:246:
  29. In file included from ./Variable.c:176:
  30. ./ObjectVar.c:118:19: warning: comparison of integers of different signs: 'int' and 'ub4' (aka 'unsigned int') [-Wsign-compare]
  31. for (i = 0; i < self->allocatedElements; i++) {
  32. ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
  33. ./ObjectVar.c:135:19: warning: comparison of integers of different signs: 'int' and 'ub4' (aka 'unsigned int') [-Wsign-compare]
  34. for (i = 0; i < self->allocatedElements; i++) {
  35. ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
  36. In file included from cx_Oracle.c:203:
  37. In file included from ./SessionPool.c:138:
  38. In file included from ./Connection.c:761:
  39. In file included from ./Cursor.c:246:
  40. ./Variable.c:926:32: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'int' [-Wsign-compare]
  41. if (var->allocatedElements < cursor->fetchArraySize) {
  42. ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
  43. In file included from cx_Oracle.c:203:
  44. In file included from ./SessionPool.c:138:
  45. In file included from ./Connection.c:761:
  46. ./Cursor.c:2440:19: warning: comparison of integers of different signs: 'int' and 'ub4' (aka 'unsigned int') [-Wsign-compare]
  47. for (i = 0; i < rowCountArraySize; i++) {
  48. ~ ^ ~~~~~~~~~~~~~~~~~
  49. In file included from cx_Oracle.c:203:
  50. In file included from ./SessionPool.c:138:
  51. In file included from ./Connection.c:764:
  52. ./Subscription.c:451:19: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'sb4' (aka 'int') [-Wsign-compare]
  53. for (i = 0; i < numRows; i++) {
  54. ~ ^ ~~~~~~~
  55. ./Subscription.c:526:19: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'sb4' (aka 'int') [-Wsign-compare]
  56. for (i = 0; i < numTables; i++) {
  57. ~ ^ ~~~~~~~~~
  58. ./Subscription.c:618:23: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'sb4' (aka 'int') [-Wsign-compare]
  59. for (i = 0; i < numTables; i++) {
  60. ~ ^ ~~~~~~~~~
  61. ./Subscription.c:660:23: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'sb4' (aka 'int') [-Wsign-compare]
  62. for (i = 0; i < numQueries; i++) {
  63. ~ ^ ~~~~~~~~~~
  64. **9 warnings generated.**
  65. creating build/lib.macosx-10.6-x86_64-3.5-12c
  66. /usr/bin/clang -bundle -undefined dynamic_lookup -L/Users/dunker/anaconda3/lib -arch x86_64 build/temp.macosx-10.6-x86_64-3.5-12c/cx_Oracle.o -L/Library/Oracle/instantclient_11_2 -L/Users/dunker/anaconda3/lib -lclntsh -o build/lib.macosx-10.6-x86_64-3.5-12c/cx_Oracle.cpython-35m-darwin.so -shared-libgcc
  67. ld: library not found for -lclntsh
  68. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  69. error: command '/usr/bin/clang' failed with exit status 1
  70.  
  71. ----------------------------------------
  72. Failed building wheel for cx-oracle
  73. Running setup.py clean for cx-oracle
  74. Failed to build cx-oracle
  75. Installing collected packages: cx-oracle
  76. Running setup.py install for cx-oracle ... error
  77. Complete output from command /Users/dunker/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/x2/shhmzq692yx16cmgnmm8wgqm0000gn/T/pip-build-u1fc6kgz/cx-oracle/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/x2/shhmzq692yx16cmgnmm8wgqm0000gn/T/pip-jk8j3nz6-record/install-record.txt --single-version-externally-managed --compile:
  78. running install
  79. running build
  80. running build_ext
  81. building 'cx_Oracle' extension
  82. creating build
  83. creating build/temp.macosx-10.6-x86_64-3.5-12c
  84. /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/dunker/anaconda3/include -arch x86_64 -I/Library/Oracle/instantclient_11_2/sdk/include -I/Users/dunker/anaconda3/include/python3.5m -c cx_Oracle.c -o build/temp.macosx-10.6-x86_64-3.5-12c/cx_Oracle.o -DBUILD_VERSION=5.2.1
  85. In file included from cx_Oracle.c:203:
  86. In file included from ./SessionPool.c:138:
  87. In file included from ./Connection.c:761:
  88. In file included from ./Cursor.c:246:
  89. In file included from ./Variable.c:171:
  90. ./NumberVar.c:372:26: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
  91. length = numDigits + abs(scale) + 3;
  92. ^
  93. ./NumberVar.c:372:26: note: use function 'labs' instead
  94. length = numDigits + abs(scale) + 3;
  95. ^~~
  96. labs
  97. In file included from cx_Oracle.c:203:
  98. In file included from ./SessionPool.c:138:
  99. In file included from ./Connection.c:761:
  100. In file included from ./Cursor.c:246:
  101. In file included from ./Variable.c:176:
  102. ./ObjectVar.c:118:19: warning: comparison of integers of different signs: 'int' and 'ub4' (aka 'unsigned int') [-Wsign-compare]
  103. for (i = 0; i < self->allocatedElements; i++) {
  104. ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
  105. ./ObjectVar.c:135:19: warning: comparison of integers of different signs: 'int' and 'ub4' (aka 'unsigned int') [-Wsign-compare]
  106. for (i = 0; i < self->allocatedElements; i++) {
  107. ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
  108. In file included from cx_Oracle.c:203:
  109. In file included from ./SessionPool.c:138:
  110. In file included from ./Connection.c:761:
  111. In file included from ./Cursor.c:246:
  112. ./Variable.c:926:32: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'int' [-Wsign-compare]
  113. if (var->allocatedElements < cursor->fetchArraySize) {
  114. ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
  115. In file included from cx_Oracle.c:203:
  116. In file included from ./SessionPool.c:138:
  117. In file included from ./Connection.c:761:
  118. ./Cursor.c:2440:19: warning: comparison of integers of different signs: 'int' and 'ub4' (aka 'unsigned int') [-Wsign-compare]
  119. for (i = 0; i < rowCountArraySize; i++) {
  120. ~ ^ ~~~~~~~~~~~~~~~~~
  121. In file included from cx_Oracle.c:203:
  122. In file included from ./SessionPool.c:138:
  123. In file included from ./Connection.c:764:
  124. ./Subscription.c:451:19: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'sb4' (aka 'int') [-Wsign-compare]
  125. for (i = 0; i < numRows; i++) {
  126. ~ ^ ~~~~~~~
  127. ./Subscription.c:526:19: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'sb4' (aka 'int') [-Wsign-compare]
  128. for (i = 0; i < numTables; i++) {
  129. ~ ^ ~~~~~~~~~
  130. ./Subscription.c:618:23: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'sb4' (aka 'int') [-Wsign-compare]
  131. for (i = 0; i < numTables; i++) {
  132. ~ ^ ~~~~~~~~~
  133. ./Subscription.c:660:23: warning: comparison of integers of different signs: 'ub4' (aka 'unsigned int') and 'sb4' (aka 'int') [-Wsign-compare]
  134. for (i = 0; i < numQueries; i++) {
  135. ~ ^ ~~~~~~~~~~
  136. 9 warnings generated.
  137. creating build/lib.macosx-10.6-x86_64-3.5-12c
  138. /usr/bin/clang -bundle -undefined dynamic_lookup -L/Users/dunker/anaconda3/lib -arch x86_64 build/temp.macosx-10.6-x86_64-3.5-12c/cx_Oracle.o -L/Library/Oracle/instantclient_11_2 -L/Users/dunker/anaconda3/lib -lclntsh -o build/lib.macosx-10.6-x86_64-3.5-12c/cx_Oracle.cpython-35m-darwin.so -shared-libgcc
  139. ld: library not found for -lclntsh
  140. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  141. error: command '/usr/bin/clang' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement