Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.54 KB | None | 0 0
  1. jens@taube ~/test $ git clone https://github.com/ngoduykhanh/PowerDNS-Admin.git
  2. Cloning into 'PowerDNS-Admin'...
  3. remote: Counting objects: 5518, done.
  4. remote: Total 5518 (delta 0), reused 0 (delta 0), pack-reused 5518
  5. Receiving objects: 100% (5518/5518), 30.86 MiB | 3.43 MiB/s, done.
  6. Resolving deltas: 100% (1780/1780), done.
  7. jens@taube ~/test $ cd PowerDNS-Admin/
  8. jens@taube ~/test/PowerDNS-Admin $ virtualenv flask
  9. Running virtualenv with interpreter /usr/bin/python2
  10. New python executable in /home/jens/test/PowerDNS-Admin/flask/bin/python2
  11. Also creating executable in /home/jens/test/PowerDNS-Admin/flask/bin/python
  12. Installing setuptools, pkg_resources, pip, wheel...done.
  13. jens@taube ~/test/PowerDNS-Admin $ source flask/bin/activate
  14. (flask) jens@taube ~/test/PowerDNS-Admin $ pip install -r requirements.txt
  15. Collecting Flask>=0.10 (from -r requirements.txt (line 1))
  16. Downloading Flask-0.12.2-py2.py3-none-any.whl (83kB)
  17. 100% |████████████████████████████████| 92kB 1.4MB/s
  18. Collecting Flask-WTF>=0.11 (from -r requirements.txt (line 2))
  19. Downloading Flask_WTF-0.14.2-py2.py3-none-any.whl
  20. Collecting Flask-Login>=0.2.11 (from -r requirements.txt (line 3))
  21. Downloading Flask_Login-0.4.0-py2.py3-none-any.whl
  22. Collecting configobj==5.0.5 (from -r requirements.txt (line 4))
  23. Downloading configobj-5.0.5.tar.gz
  24. Collecting bcrypt==3.1.0 (from -r requirements.txt (line 5))
  25. Downloading bcrypt-3.1.0-cp27-cp27mu-manylinux1_x86_64.whl (57kB)
  26. 100% |████████████████████████████████| 61kB 1.9MB/s
  27. Collecting requests==2.7.0 (from -r requirements.txt (line 6))
  28. Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)
  29. 100% |████████████████████████████████| 471kB 1.1MB/s
  30. Collecting python-ldap==2.4.21 (from -r requirements.txt (line 7))
  31. Downloading python-ldap-2.4.21.tar.gz (121kB)
  32. 100% |████████████████████████████████| 122kB 2.3MB/s
  33. Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 8))
  34. Downloading Flask-SQLAlchemy-2.1.tar.gz (95kB)
  35. 100% |████████████████████████████████| 102kB 2.8MB/s
  36. Collecting SQLAlchemy==1.0.9 (from -r requirements.txt (line 9))
  37. Downloading SQLAlchemy-1.0.9.tar.gz (4.7MB)
  38. 100% |████████████████████████████████| 4.7MB 208kB/s
  39. Collecting sqlalchemy-migrate==0.10.0 (from -r requirements.txt (line 10))
  40. Downloading sqlalchemy_migrate-0.10.0-py2-none-any.whl (108kB)
  41. 100% |████████████████████████████████| 112kB 3.2MB/s
  42. Collecting pyotp==2.2.1 (from -r requirements.txt (line 11))
  43. Downloading pyotp-2.2.1-py2.py3-none-any.whl
  44. Collecting qrcode==5.3 (from -r requirements.txt (line 12))
  45. Downloading qrcode-5.3-py2.py3-none-any.whl
  46. Collecting Flask-OAuthlib==0.9.3 (from -r requirements.txt (line 13))
  47. Downloading Flask_OAuthlib-0.9.3-py2-none-any.whl
  48. Collecting dnspython>=1.12.0 (from -r requirements.txt (line 14))
  49. Downloading dnspython-1.15.0-py2.py3-none-any.whl (177kB)
  50. 100% |████████████████████████████████| 184kB 2.8MB/s
  51. Collecting itsdangerous>=0.21 (from Flask>=0.10->-r requirements.txt (line 1))
  52. Downloading itsdangerous-0.24.tar.gz (46kB)
  53. 100% |████████████████████████████████| 51kB 3.3MB/s
  54. Collecting click>=2.0 (from Flask>=0.10->-r requirements.txt (line 1))
  55. Downloading click-6.7-py2.py3-none-any.whl (71kB)
  56. 100% |████████████████████████████████| 71kB 1.8MB/s
  57. Collecting Werkzeug>=0.7 (from Flask>=0.10->-r requirements.txt (line 1))
  58. Downloading Werkzeug-0.12.2-py2.py3-none-any.whl (312kB)
  59. 100% |████████████████████████████████| 317kB 2.0MB/s
  60. Collecting Jinja2>=2.4 (from Flask>=0.10->-r requirements.txt (line 1))
  61. Using cached Jinja2-2.9.6-py2.py3-none-any.whl
  62. Collecting WTForms (from Flask-WTF>=0.11->-r requirements.txt (line 2))
  63. Downloading WTForms-2.1.zip (553kB)
  64. 100% |████████████████████████████████| 563kB 1.1MB/s
  65. Collecting six (from configobj==5.0.5->-r requirements.txt (line 4))
  66. Using cached six-1.10.0-py2.py3-none-any.whl
  67. Collecting cffi>=1.1 (from bcrypt==3.1.0->-r requirements.txt (line 5))
  68. Downloading cffi-1.10.0-cp27-cp27mu-manylinux1_x86_64.whl (392kB)
  69. 100% |████████████████████████████████| 399kB 981kB/s
  70. Requirement already satisfied: setuptools in ./flask/lib/python2.7/site-packages (from python-ldap==2.4.21->-r requirements.txt (line 7))
  71. Collecting pbr<2.0,>=1.3 (from sqlalchemy-migrate==0.10.0->-r requirements.txt (line 10))
  72. Downloading pbr-1.10.0-py2.py3-none-any.whl (96kB)
  73. 100% |████████████████████████████████| 102kB 3.9MB/s
  74. Collecting sqlparse (from sqlalchemy-migrate==0.10.0->-r requirements.txt (line 10))
  75. Using cached sqlparse-0.2.3-py2.py3-none-any.whl
  76. Collecting decorator (from sqlalchemy-migrate==0.10.0->-r requirements.txt (line 10))
  77. Downloading decorator-4.1.2-py2.py3-none-any.whl
  78. Collecting Tempita>=0.4 (from sqlalchemy-migrate==0.10.0->-r requirements.txt (line 10))
  79. Downloading Tempita-0.5.2.tar.gz
  80. Collecting requests-oauthlib>=0.5.0 (from Flask-OAuthlib==0.9.3->-r requirements.txt (line 13))
  81. Downloading requests_oauthlib-0.8.0-py2.py3-none-any.whl
  82. Collecting oauthlib>=0.6.2 (from Flask-OAuthlib==0.9.3->-r requirements.txt (line 13))
  83. Downloading oauthlib-2.0.2.tar.gz (125kB)
  84. 100% |████████████████████████████████| 133kB 2.9MB/s
  85. Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->Flask>=0.10->-r requirements.txt (line 1))
  86. Using cached MarkupSafe-1.0.tar.gz
  87. Collecting pycparser (from cffi>=1.1->bcrypt==3.1.0->-r requirements.txt (line 5))
  88. Downloading pycparser-2.18.tar.gz (245kB)
  89. 100% |████████████████████████████████| 256kB 2.3MB/s
  90. Building wheels for collected packages: configobj, python-ldap, Flask-SQLAlchemy, SQLAlchemy, itsdangerous, WTForms, Tempita, oauthlib, MarkupSafe, pycparser
  91. Running setup.py bdist_wheel for configobj ... done
  92. Stored in directory: /home/jens/.cache/pip/wheels/da/98/27/8cb776a8a96c15ddbbc5ca8cbd7f9dc44d5fcdfca87ebf2778
  93. Running setup.py bdist_wheel for python-ldap ... error
  94. Complete output from command /home/jens/test/PowerDNS-Admin/flask/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4Bi20R/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp5BlVVxpip-wheel- --python-tag cp27:
  95. defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
  96. extra_compile_args:
  97. extra_objects:
  98. include_dirs: /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl
  99. library_dirs: /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
  100. libs: ldap_r
  101. running bdist_wheel
  102. running build
  103. running build_py
  104. file Lib/ldap.py (for module ldap) not found
  105. file Lib/ldap/controls.py (for module ldap.controls) not found
  106. file Lib/ldap/extop.py (for module ldap.extop) not found
  107. file Lib/ldap/schema.py (for module ldap.schema) not found
  108. creating build
  109. creating build/lib.linux-x86_64-2.7
  110. copying Lib/ldapurl.py -> build/lib.linux-x86_64-2.7
  111. copying Lib/ldif.py -> build/lib.linux-x86_64-2.7
  112. copying Lib/dsml.py -> build/lib.linux-x86_64-2.7
  113. creating build/lib.linux-x86_64-2.7/ldap
  114. copying Lib/ldap/__init__.py -> build/lib.linux-x86_64-2.7/ldap
  115. copying Lib/ldap/async.py -> build/lib.linux-x86_64-2.7/ldap
  116. creating build/lib.linux-x86_64-2.7/ldap/controls
  117. copying Lib/ldap/controls/__init__.py -> build/lib.linux-x86_64-2.7/ldap/controls
  118. copying Lib/ldap/controls/deref.py -> build/lib.linux-x86_64-2.7/ldap/controls
  119. copying Lib/ldap/controls/libldap.py -> build/lib.linux-x86_64-2.7/ldap/controls
  120. copying Lib/ldap/controls/openldap.py -> build/lib.linux-x86_64-2.7/ldap/controls
  121. copying Lib/ldap/controls/ppolicy.py -> build/lib.linux-x86_64-2.7/ldap/controls
  122. copying Lib/ldap/controls/psearch.py -> build/lib.linux-x86_64-2.7/ldap/controls
  123. copying Lib/ldap/controls/pwdpolicy.py -> build/lib.linux-x86_64-2.7/ldap/controls
  124. copying Lib/ldap/controls/readentry.py -> build/lib.linux-x86_64-2.7/ldap/controls
  125. copying Lib/ldap/controls/sessiontrack.py -> build/lib.linux-x86_64-2.7/ldap/controls
  126. copying Lib/ldap/controls/simple.py -> build/lib.linux-x86_64-2.7/ldap/controls
  127. copying Lib/ldap/cidict.py -> build/lib.linux-x86_64-2.7/ldap
  128. copying Lib/ldap/dn.py -> build/lib.linux-x86_64-2.7/ldap
  129. creating build/lib.linux-x86_64-2.7/ldap/extop
  130. copying Lib/ldap/extop/__init__.py -> build/lib.linux-x86_64-2.7/ldap/extop
  131. copying Lib/ldap/extop/dds.py -> build/lib.linux-x86_64-2.7/ldap/extop
  132. copying Lib/ldap/filter.py -> build/lib.linux-x86_64-2.7/ldap
  133. copying Lib/ldap/functions.py -> build/lib.linux-x86_64-2.7/ldap
  134. copying Lib/ldap/ldapobject.py -> build/lib.linux-x86_64-2.7/ldap
  135. copying Lib/ldap/logger.py -> build/lib.linux-x86_64-2.7/ldap
  136. copying Lib/ldap/modlist.py -> build/lib.linux-x86_64-2.7/ldap
  137. copying Lib/ldap/resiter.py -> build/lib.linux-x86_64-2.7/ldap
  138. copying Lib/ldap/sasl.py -> build/lib.linux-x86_64-2.7/ldap
  139. creating build/lib.linux-x86_64-2.7/ldap/schema
  140. copying Lib/ldap/schema/__init__.py -> build/lib.linux-x86_64-2.7/ldap/schema
  141. copying Lib/ldap/schema/models.py -> build/lib.linux-x86_64-2.7/ldap/schema
  142. copying Lib/ldap/schema/subentry.py -> build/lib.linux-x86_64-2.7/ldap/schema
  143. copying Lib/ldap/schema/tokenizer.py -> build/lib.linux-x86_64-2.7/ldap/schema
  144. copying Lib/ldap/syncrepl.py -> build/lib.linux-x86_64-2.7/ldap
  145. file Lib/ldap.py (for module ldap) not found
  146. file Lib/ldap/controls.py (for module ldap.controls) not found
  147. file Lib/ldap/extop.py (for module ldap.extop) not found
  148. file Lib/ldap/schema.py (for module ldap.schema) not found
  149. running egg_info
  150. writing requirements to Lib/python_ldap.egg-info/requires.txt
  151. writing Lib/python_ldap.egg-info/PKG-INFO
  152. writing top-level names to Lib/python_ldap.egg-info/top_level.txt
  153. writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt
  154. file Lib/ldap.py (for module ldap) not found
  155. file Lib/ldap/controls.py (for module ldap.controls) not found
  156. file Lib/ldap/extop.py (for module ldap.extop) not found
  157. file Lib/ldap/schema.py (for module ldap.schema) not found
  158. reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
  159. reading manifest template 'MANIFEST.in'
  160. warning: no files found matching 'Makefile'
  161. warning: no files found matching 'Modules/LICENSE'
  162. writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
  163. running build_ext
  164. building '_ldap' extension
  165. creating build/temp.linux-x86_64-2.7
  166. creating build/temp.linux-x86_64-2.7/Modules
  167. x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-qMUuQf/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.21 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python2.7 -c Modules/LDAPObject.c -o build/temp.linux-x86_64-2.7/Modules/LDAPObject.o
  168. In file included from Modules/LDAPObject.c:9:0:
  169. Modules/errors.h:8:10: fatal error: lber.h: No such file or directory
  170. #include "lber.h"
  171. ^~~~~~~~
  172. compilation terminated.
  173. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  174.  
  175. ----------------------------------------
  176. Failed building wheel for python-ldap
  177. Running setup.py clean for python-ldap
  178. Running setup.py bdist_wheel for Flask-SQLAlchemy ... done
  179. Stored in directory: /home/jens/.cache/pip/wheels/cf/9f/1b/390c152e645c6e300fda9ed9c678c6e22717a3020fd02acb4d
  180. Running setup.py bdist_wheel for SQLAlchemy ... done
  181. Stored in directory: /home/jens/.cache/pip/wheels/93/e9/f2/7213738b937f5fde85618276833cc7ce7af9d2345f82fccdfe
  182. Running setup.py bdist_wheel for itsdangerous ... done
  183. Stored in directory: /home/jens/.cache/pip/wheels/fc/a8/66/24d655233c757e178d45dea2de22a04c6d92766abfb741129a
  184. Running setup.py bdist_wheel for WTForms ... done
  185. Stored in directory: /home/jens/.cache/pip/wheels/36/35/f3/7452cd24daeeaa5ec5b2ea13755316abc94e4e7702de29ba94
  186. Running setup.py bdist_wheel for Tempita ... done
  187. Stored in directory: /home/jens/.cache/pip/wheels/38/5c/ad/029c675bcee1a5d1413733382d6e2cb489fe36ddd7a73dd9dd
  188. Running setup.py bdist_wheel for oauthlib ... done
  189. Stored in directory: /home/jens/.cache/pip/wheels/84/98/7a/fba7268f61097bea6081cbe5480bc439b38975748ea7684fd5
  190. Running setup.py bdist_wheel for MarkupSafe ... done
  191. Stored in directory: /home/jens/.cache/pip/wheels/88/a7/30/e39a54a87bcbe25308fa3ca64e8ddc75d9b3e5afa21ee32d57
  192. Running setup.py bdist_wheel for pycparser ... done
  193. Stored in directory: /home/jens/.cache/pip/wheels/95/14/9a/5e7b9024459d2a6600aaa64e0ba485325aff7a9ac7489db1b6
  194. Successfully built configobj Flask-SQLAlchemy SQLAlchemy itsdangerous WTForms Tempita oauthlib MarkupSafe pycparser
  195. Failed to build python-ldap
  196. Installing collected packages: itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, WTForms, Flask-WTF, Flask-Login, six, configobj, pycparser, cffi, bcrypt, requests, python-ldap, SQLAlchemy, Flask-SQLAlchemy, pbr, sqlparse, decorator, Tempita, sqlalchemy-migrate, pyotp, qrcode, oauthlib, requests-oauthlib, Flask-OAuthlib, dnspython
  197. Running setup.py install for python-ldap ... error
  198. Complete output from command /home/jens/test/PowerDNS-Admin/flask/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4Bi20R/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-Xbp6Lx-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jens/test/PowerDNS-Admin/flask/include/site/python2.7/python-ldap:
  199. defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
  200. extra_compile_args:
  201. extra_objects:
  202. include_dirs: /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl
  203. library_dirs: /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
  204. libs: ldap_r
  205. running install
  206. running build
  207. running build_py
  208. file Lib/ldap.py (for module ldap) not found
  209. file Lib/ldap/controls.py (for module ldap.controls) not found
  210. file Lib/ldap/extop.py (for module ldap.extop) not found
  211. file Lib/ldap/schema.py (for module ldap.schema) not found
  212. creating build
  213. creating build/lib.linux-x86_64-2.7
  214. copying Lib/ldapurl.py -> build/lib.linux-x86_64-2.7
  215. copying Lib/ldif.py -> build/lib.linux-x86_64-2.7
  216. copying Lib/dsml.py -> build/lib.linux-x86_64-2.7
  217. creating build/lib.linux-x86_64-2.7/ldap
  218. copying Lib/ldap/__init__.py -> build/lib.linux-x86_64-2.7/ldap
  219. copying Lib/ldap/async.py -> build/lib.linux-x86_64-2.7/ldap
  220. creating build/lib.linux-x86_64-2.7/ldap/controls
  221. copying Lib/ldap/controls/__init__.py -> build/lib.linux-x86_64-2.7/ldap/controls
  222. copying Lib/ldap/controls/deref.py -> build/lib.linux-x86_64-2.7/ldap/controls
  223. copying Lib/ldap/controls/libldap.py -> build/lib.linux-x86_64-2.7/ldap/controls
  224. copying Lib/ldap/controls/openldap.py -> build/lib.linux-x86_64-2.7/ldap/controls
  225. copying Lib/ldap/controls/ppolicy.py -> build/lib.linux-x86_64-2.7/ldap/controls
  226. copying Lib/ldap/controls/psearch.py -> build/lib.linux-x86_64-2.7/ldap/controls
  227. copying Lib/ldap/controls/pwdpolicy.py -> build/lib.linux-x86_64-2.7/ldap/controls
  228. copying Lib/ldap/controls/readentry.py -> build/lib.linux-x86_64-2.7/ldap/controls
  229. copying Lib/ldap/controls/sessiontrack.py -> build/lib.linux-x86_64-2.7/ldap/controls
  230. copying Lib/ldap/controls/simple.py -> build/lib.linux-x86_64-2.7/ldap/controls
  231. copying Lib/ldap/cidict.py -> build/lib.linux-x86_64-2.7/ldap
  232. copying Lib/ldap/dn.py -> build/lib.linux-x86_64-2.7/ldap
  233. creating build/lib.linux-x86_64-2.7/ldap/extop
  234. copying Lib/ldap/extop/__init__.py -> build/lib.linux-x86_64-2.7/ldap/extop
  235. copying Lib/ldap/extop/dds.py -> build/lib.linux-x86_64-2.7/ldap/extop
  236. copying Lib/ldap/filter.py -> build/lib.linux-x86_64-2.7/ldap
  237. copying Lib/ldap/functions.py -> build/lib.linux-x86_64-2.7/ldap
  238. copying Lib/ldap/ldapobject.py -> build/lib.linux-x86_64-2.7/ldap
  239. copying Lib/ldap/logger.py -> build/lib.linux-x86_64-2.7/ldap
  240. copying Lib/ldap/modlist.py -> build/lib.linux-x86_64-2.7/ldap
  241. copying Lib/ldap/resiter.py -> build/lib.linux-x86_64-2.7/ldap
  242. copying Lib/ldap/sasl.py -> build/lib.linux-x86_64-2.7/ldap
  243. creating build/lib.linux-x86_64-2.7/ldap/schema
  244. copying Lib/ldap/schema/__init__.py -> build/lib.linux-x86_64-2.7/ldap/schema
  245. copying Lib/ldap/schema/models.py -> build/lib.linux-x86_64-2.7/ldap/schema
  246. copying Lib/ldap/schema/subentry.py -> build/lib.linux-x86_64-2.7/ldap/schema
  247. copying Lib/ldap/schema/tokenizer.py -> build/lib.linux-x86_64-2.7/ldap/schema
  248. copying Lib/ldap/syncrepl.py -> build/lib.linux-x86_64-2.7/ldap
  249. file Lib/ldap.py (for module ldap) not found
  250. file Lib/ldap/controls.py (for module ldap.controls) not found
  251. file Lib/ldap/extop.py (for module ldap.extop) not found
  252. file Lib/ldap/schema.py (for module ldap.schema) not found
  253. running egg_info
  254. writing requirements to Lib/python_ldap.egg-info/requires.txt
  255. writing Lib/python_ldap.egg-info/PKG-INFO
  256. writing top-level names to Lib/python_ldap.egg-info/top_level.txt
  257. writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt
  258. file Lib/ldap.py (for module ldap) not found
  259. file Lib/ldap/controls.py (for module ldap.controls) not found
  260. file Lib/ldap/extop.py (for module ldap.extop) not found
  261. file Lib/ldap/schema.py (for module ldap.schema) not found
  262. reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
  263. reading manifest template 'MANIFEST.in'
  264. warning: no files found matching 'Makefile'
  265. warning: no files found matching 'Modules/LICENSE'
  266. writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
  267. running build_ext
  268. building '_ldap' extension
  269. creating build/temp.linux-x86_64-2.7
  270. creating build/temp.linux-x86_64-2.7/Modules
  271. x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-qMUuQf/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.21 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python2.7 -c Modules/LDAPObject.c -o build/temp.linux-x86_64-2.7/Modules/LDAPObject.o
  272. In file included from Modules/LDAPObject.c:9:0:
  273. Modules/errors.h:8:10: fatal error: lber.h: No such file or directory
  274. #include "lber.h"
  275. ^~~~~~~~
  276. compilation terminated.
  277. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  278.  
  279. ----------------------------------------
  280. Command "/home/jens/test/PowerDNS-Admin/flask/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4Bi20R/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-Xbp6Lx-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jens/test/PowerDNS-Admin/flask/include/site/python2.7/python-ldap" failed with error code 1 in /tmp/pip-build-4Bi20R/python-ldap/
  281. (flask) jens@taube ~/test/PowerDNS-Admin $ super su
  282. Authentication is required for super command `su'...
  283. Password:
  284. root@taube /home/jens/test/PowerDNS-Admin # apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev
  285. Reading package lists... Done
  286. Building dependency tree
  287. Reading state information... Done
  288. libssl-dev is already the newest version (1.1.0f-4).
  289. python-dev is already the newest version (2.7.13-2).
  290. The following NEW packages will be installed:
  291. libldap2-dev libsasl2-dev
  292. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  293. Need to get 639 kB of archives.
  294. After this operation, 2,346 kB of additional disk space will be used.
  295. Do you want to continue? [Y/n]
  296. Get:1 http://ftp.de.debian.org/debian unstable/main amd64 libldap2-dev amd64 2.4.45+dfsg-1 [329 kB]
  297. Get:2 http://ftp.de.debian.org/debian unstable/main amd64 libsasl2-dev amd64 2.1.27~101-g0780600+dfsg-3 [310 kB]
  298. Fetched 639 kB in 0s (713 kB/s)
  299. Selecting previously unselected package libldap2-dev:amd64.
  300. (Reading database ... 226109 files and directories currently installed.)
  301. Preparing to unpack .../libldap2-dev_2.4.45+dfsg-1_amd64.deb ...
  302. Unpacking libldap2-dev:amd64 (2.4.45+dfsg-1) ...
  303. Selecting previously unselected package libsasl2-dev.
  304. Preparing to unpack .../libsasl2-dev_2.1.27~101-g0780600+dfsg-3_amd64.deb ...
  305. Unpacking libsasl2-dev (2.1.27~101-g0780600+dfsg-3) ...
  306. Setting up libldap2-dev:amd64 (2.4.45+dfsg-1) ...
  307. Setting up libsasl2-dev (2.1.27~101-g0780600+dfsg-3) ...
  308. Processing triggers for man-db (2.7.6.1-2) ...
  309. root@taube /home/jens/test/PowerDNS-Admin # exit
  310. (flask) jens@taube ~/test/PowerDNS-Admin $ pip install -r requirements.txt
  311. Requirement already satisfied: Flask>=0.10 in ./flask/lib/python2.7/site-packages (from -r requirements.txt (line 1))
  312. Requirement already satisfied: Flask-WTF>=0.11 in ./flask/lib/python2.7/site-packages (from -r requirements.txt (line 2))
  313. Requirement already satisfied: Flask-Login>=0.2.11 in ./flask/lib/python2.7/site-packages (from -r requirements.txt (line 3))
  314. Requirement already satisfied: configobj==5.0.5 in ./flask/lib/python2.7/site-packages (from -r requirements.txt (line 4))
  315. Requirement already satisfied: bcrypt==3.1.0 in ./flask/lib/python2.7/site-packages (from -r requirements.txt (line 5))
  316. Requirement already satisfied: requests==2.7.0 in ./flask/lib/python2.7/site-packages (from -r requirements.txt (line 6))
  317. Collecting python-ldap==2.4.21 (from -r requirements.txt (line 7))
  318. Using cached python-ldap-2.4.21.tar.gz
  319. Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 8))
  320. Collecting SQLAlchemy==1.0.9 (from -r requirements.txt (line 9))
  321. Collecting sqlalchemy-migrate==0.10.0 (from -r requirements.txt (line 10))
  322. Using cached sqlalchemy_migrate-0.10.0-py2-none-any.whl
  323. Collecting pyotp==2.2.1 (from -r requirements.txt (line 11))
  324. Using cached pyotp-2.2.1-py2.py3-none-any.whl
  325. Collecting qrcode==5.3 (from -r requirements.txt (line 12))
  326. Using cached qrcode-5.3-py2.py3-none-any.whl
  327. Collecting Flask-OAuthlib==0.9.3 (from -r requirements.txt (line 13))
  328. Using cached Flask_OAuthlib-0.9.3-py2-none-any.whl
  329. Collecting dnspython>=1.12.0 (from -r requirements.txt (line 14))
  330. Using cached dnspython-1.15.0-py2.py3-none-any.whl
  331. Requirement already satisfied: itsdangerous>=0.21 in ./flask/lib/python2.7/site-packages (from Flask>=0.10->-r requirements.txt (line 1))
  332. Requirement already satisfied: click>=2.0 in ./flask/lib/python2.7/site-packages (from Flask>=0.10->-r requirements.txt (line 1))
  333. Requirement already satisfied: Werkzeug>=0.7 in ./flask/lib/python2.7/site-packages (from Flask>=0.10->-r requirements.txt (line 1))
  334. Requirement already satisfied: Jinja2>=2.4 in ./flask/lib/python2.7/site-packages (from Flask>=0.10->-r requirements.txt (line 1))
  335. Requirement already satisfied: WTForms in ./flask/lib/python2.7/site-packages (from Flask-WTF>=0.11->-r requirements.txt (line 2))
  336. Requirement already satisfied: six in ./flask/lib/python2.7/site-packages (from configobj==5.0.5->-r requirements.txt (line 4))
  337. Requirement already satisfied: cffi>=1.1 in ./flask/lib/python2.7/site-packages (from bcrypt==3.1.0->-r requirements.txt (line 5))
  338. Requirement already satisfied: setuptools in ./flask/lib/python2.7/site-packages (from python-ldap==2.4.21->-r requirements.txt (line 7))
  339. Collecting pbr<2.0,>=1.3 (from sqlalchemy-migrate==0.10.0->-r requirements.txt (line 10))
  340. Using cached pbr-1.10.0-py2.py3-none-any.whl
  341. Collecting sqlparse (from sqlalchemy-migrate==0.10.0->-r requirements.txt (line 10))
  342. Using cached sqlparse-0.2.3-py2.py3-none-any.whl
  343. Collecting decorator (from sqlalchemy-migrate==0.10.0->-r requirements.txt (line 10))
  344. Using cached decorator-4.1.2-py2.py3-none-any.whl
  345. Collecting Tempita>=0.4 (from sqlalchemy-migrate==0.10.0->-r requirements.txt (line 10))
  346. Collecting requests-oauthlib>=0.5.0 (from Flask-OAuthlib==0.9.3->-r requirements.txt (line 13))
  347. Using cached requests_oauthlib-0.8.0-py2.py3-none-any.whl
  348. Collecting oauthlib>=0.6.2 (from Flask-OAuthlib==0.9.3->-r requirements.txt (line 13))
  349. Requirement already satisfied: MarkupSafe>=0.23 in ./flask/lib/python2.7/site-packages (from Jinja2>=2.4->Flask>=0.10->-r requirements.txt (line 1))
  350. Requirement already satisfied: pycparser in ./flask/lib/python2.7/site-packages (from cffi>=1.1->bcrypt==3.1.0->-r requirements.txt (line 5))
  351. Building wheels for collected packages: python-ldap
  352. Running setup.py bdist_wheel for python-ldap ... done
  353. Stored in directory: /home/jens/.cache/pip/wheels/14/c1/fb/03ffda1a3421e74016d9a1130423fb4ca5f3b8d3873b2f4387
  354. Successfully built python-ldap
  355. Installing collected packages: python-ldap, SQLAlchemy, Flask-SQLAlchemy, pbr, sqlparse, decorator, Tempita, sqlalchemy-migrate, pyotp, qrcode, oauthlib, requests-oauthlib, Flask-OAuthlib, dnspython
  356. Successfully installed Flask-OAuthlib-0.9.3 Flask-SQLAlchemy-2.1 SQLAlchemy-1.0.9 Tempita-0.5.2 decorator-4.1.2 dnspython-1.15.0 oauthlib-2.0.2 pbr-1.10.0 pyotp-2.2.1 python-ldap-2.4.21 qrcode-5.3 requests-oauthlib-0.8.0 sqlalchemy-migrate-0.10.0 sqlparse-0.2.3
  357. (flask) jens@taube ~/test/PowerDNS-Admin $ cp config_template.py config.py
  358. (flask) jens@taube ~/test/PowerDNS-Admin $ vi config.py
  359. (flask) jens@taube ~/test/PowerDNS-Admin $
  360. (flask) jens@taube ~/test/PowerDNS-Admin $ ./run.py
  361. [INFO] * Running on http://127.0.0.1:9393/ (Press CTRL+C to quit)
  362. [INFO] * Restarting with stat
  363. [WARNING] * Debugger is active!
  364. [INFO] * Debugger PIN: 107-390-796
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement