Salut
j’ai eu quelques problemes avec le fichier de dépendance qui se crée automatiquement pour w3af dans le dossier /tmp
donc voici un aperçu de la console , merci de m’aider !
[code]
./w3af_console
Your python installation needs the following modules to run w3af:
pybloomfilter esmre phply nltk chardet tblib pdfminer OpenSSL ndg pyasn1 lxml scapy.config guess_language cluster msgpack ntlm Halberd darts.lib.utils jinja2 vulndb markdown psutil mitmproxy ruamel.ordereddict Flask yaml
After installing any missing operating system packages, use pip to install the remaining modules:
sudo pip install pybloomfiltermmap==0.3.14 esmre==0.3.1 phply==0.9.1 nltk==3.0.1 chardet==2.1.1 tblib==0.2.0 pdfminer==20140328 pyOpenSSL==0.15.1 ndg-httpsclient==0.3.3 pyasn1==0.1.8 lxml==3.4.4 scapy-real==2.2.0-dev guess-language==0.2 cluster==1.1.1b3 msgpack-python==0.4.4 python-ntlm==1.0.1 halberd==0.2.4 darts.util.lru==0.5 Jinja2==2.7.3 vulndb==0.0.19 markdown==2.6.1 psutil==2.2.1 mitmproxy==0.13 ruamel.ordereddict==0.4.8 Flask==0.10.1 PyYAML==3.11
A script with these commands has been created for you at /tmp/w3af_dependency_install.sh[/code]
Le fichier :
[code]#!/bin/bash
sudo pip install pybloomfiltermmap==0.3.14 esmre==0.3.1 phply==0.9.1 nltk==3.0.1 chardet==2.1.1 tblib==0.2.0 pdfminer==20140328 pyOpenSSL==0.15.1 ndg-httpsclient==0.3.3 pyasn1==0.1.8 lxml==3.4.4 scapy-real==2.2.0-dev guess-language==0.2 cluster==1.1.1b3 msgpack-python==0.4.4 python-ntlm==1.0.1 halberd==0.2.4 darts.util.lru==0.5 Jinja2==2.7.3 vulndb==0.0.19 markdown==2.6.1 psutil==2.2.1 mitmproxy==0.13 ruamel.ordereddict==0.4.8 Flask==0.10.1 PyYAML==3.11[/code]
[code]root@Orion:/tmp# ./w3af_dependency_install.sh
Collecting pybloomfiltermmap==0.3.14
Using cached pybloomfiltermmap-0.3.14.tar.gz
Collecting esmre==0.3.1
Using cached esmre-0.3.1.tar.gz
Collecting phply==0.9.1
Collecting nltk==3.0.1
Collecting chardet==2.1.1
Collecting tblib==0.2.0
Using cached tblib-0.2.0-py2-none-any.whl
Collecting pdfminer==20140328
Collecting pyOpenSSL==0.15.1
Using cached pyOpenSSL-0.15.1-py2.py3-none-any.whl
Collecting ndg-httpsclient==0.3.3
Collecting pyasn1==0.1.8
Collecting lxml==3.4.4
Using cached lxml-3.4.4.tar.gz
Collecting scapy-real==2.2.0-dev
Collecting guess-language==0.2
Collecting cluster==1.1.1b3
Collecting msgpack-python==0.4.4
Collecting python-ntlm==1.0.1
Collecting halberd==0.2.4
Collecting darts.util.lru==0.5
Collecting Jinja2==2.7.3
Collecting vulndb==0.0.19
Collecting markdown==2.6.1
Collecting psutil==2.2.1
Using cached psutil-2.2.1.tar.gz
Collecting mitmproxy==0.13
Collecting ruamel.ordereddict==0.4.8
Using cached ruamel.ordereddict-0.4.8.tar.gz
Collecting Flask==0.10.1
Collecting PyYAML==3.11
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from esmre==0.3.1)
Requirement already satisfied (use --upgrade to upgrade): ply in /usr/lib/python2.7/dist-packages (from phply==0.9.1)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from tblib==0.2.0)
Collecting cryptography>=0.7 (from pyOpenSSL==0.15.1)
Using cached cryptography-1.1.tar.gz
Collecting markupsafe (from Jinja2==2.7.3)
Requirement already satisfied (use --upgrade to upgrade): Pillow>=2.3.0 in /usr/lib/python2.7/dist-packages (from mitmproxy==0.13)
Collecting configargparse>=0.9.3 (from mitmproxy==0.13)
Collecting blinker>=1.3 (from mitmproxy==0.13)
Collecting netlib<0.14,>=0.13 (from mitmproxy==0.13)
Collecting pyperclip>=1.5.8 (from mitmproxy==0.13)
Collecting pyparsing>=1.5.2 (from mitmproxy==0.13)
Using cached pyparsing-2.0.5-py2.py3-none-any.whl
Collecting html2text>=2015.4.14 (from mitmproxy==0.13)
Collecting urwid>=1.3 (from mitmproxy==0.13)
Collecting tornado>=4.0.2 (from mitmproxy==0.13)
Collecting itsdangerous>=0.21 (from Flask==0.10.1)
Collecting Werkzeug>=0.7 (from Flask==0.10.1)
Using cached Werkzeug-0.10.4-py2.py3-none-any.whl
Collecting idna>=2.0 (from cryptography>=0.7->pyOpenSSL==0.15.1)
Using cached idna-2.0-py2.py3-none-any.whl
Collecting enum34 (from cryptography>=0.7->pyOpenSSL==0.15.1)
Collecting ipaddress (from cryptography>=0.7->pyOpenSSL==0.15.1)
Using cached ipaddress-1.0.14-py27-none-any.whl
Collecting cffi>=1.1.0 (from cryptography>=0.7->pyOpenSSL==0.15.1)
Using cached cffi-1.3.0.tar.gz
Collecting passlib>=1.6.2 (from netlib<0.14,>=0.13->mitmproxy==0.13)
Using cached passlib-1.6.5-py2.py3-none-any.whl
Collecting certifi (from netlib<0.14,>=0.13->mitmproxy==0.13)
Using cached certifi-2015.9.6.2-py2.py3-none-any.whl
Collecting hpack>=1.0.1 (from netlib<0.14,>=0.13->mitmproxy==0.13)
Using cached hpack-2.0.0-py2.py3-none-any.whl
Collecting backports.ssl-match-hostname (from tornado>=4.0.2->mitmproxy==0.13)
Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/lib/python2.7/dist-packages (from cffi>=1.1.0->cryptography>=0.7->pyOpenSSL==0.15.1)
Building wheels for collected packages: pybloomfiltermmap, esmre, lxml, psutil, ruamel.ordereddict, cryptography, cffi
Running setup.py bdist_wheel for pybloomfiltermmap
Complete output from command /usr/bin/python -c “import setuptools;file=’/tmp/pip-build-z3L5MW/pybloomfiltermmap/setup.py’;exec(compile(open(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” bdist_wheel -d /tmp/tmpVPId7vpip-wheel-:
info: Building from C
running bdist_wheel
running build
running build_ext
building ‘pybloomfilter’ extension
creating build
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/src
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/mmapbitarray.c -o build/temp.linux-i686-2.7/src/mmapbitarray.o
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/bloomfilter.c -o build/temp.linux-i686-2.7/src/bloomfilter.o
src/bloomfilter.c:11:14: warning: always_inline function might not be inlinable [-Wattributes]
BloomFilter *bloomfilter_Create_Malloc(size_t max_num_elem, double error_rate,
^
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/md5.c -o build/temp.linux-i686-2.7/src/md5.o
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/primetester.c -o build/temp.linux-i686-2.7/src/primetester.o
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/MurmurHash3.cpp -o build/temp.linux-i686-2.7/src/MurmurHash3.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/pybloomfilter.c -o build/temp.linux-i686-2.7/src/pybloomfilter.o
src/pybloomfilter.c:8:22: fatal error: pyconfig.h: Aucun fichier ou dossier de ce type
#include “pyconfig.h”
^
compilation terminated.
error: command ‘i586-linux-gnu-gcc’ failed with exit status 1
Failed building wheel for pybloomfiltermmap
Running setup.py bdist_wheel for esmre
Complete output from command /usr/bin/python -c “import setuptools;file=’/tmp/pip-build-z3L5MW/esmre/setup.py’;exec(compile(open(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” bdist_wheel -d /tmp/tmp5IYOUApip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
copying src/esmre.py -> build/lib.linux-i686-2.7
running build_ext
building ‘esm’ extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/src
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/esm.c -o build/temp.linux-i686-2.7/src/esm.o
src/esm.c:19:20: fatal error: Python.h: Aucun fichier ou dossier de ce type
#include
^
compilation terminated.
error: command ‘i586-linux-gnu-gcc’ failed with exit status 1
Failed building wheel for esmre
Running setup.py bdist_wheel for lxml
Complete output from command /usr/bin/python -c “import setuptools;file=’/tmp/pip-build-z3L5MW/lxml/setup.py’;exec(compile(open(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” bdist_wheel -d /tmp/tmpfhDMUApip-wheel-:
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url’
warnings.warn(msg)
Building lxml version 3.4.4.
Building without Cython.
ERROR: /bin/sh: 1: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-i686-2.7/lxml
copying src/lxml/init.py -> build/lib.linux-i686-2.7/lxml
copying src/lxml/builder.py -> build/lib.linux-i686-2.7/lxml
copying src/lxml/cssselect.py -> build/lib.linux-i686-2.7/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-i686-2.7/lxml
copying src/lxml/sax.py -> build/lib.linux-i686-2.7/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-i686-2.7/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-i686-2.7/lxml
copying src/lxml/elementpath.py -> build/lib.linux-i686-2.7/lxml
creating build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/_init.py -> build/lib.linux-i686-2.7/lxml/includes
creating build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/init.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/html5builder.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/setmixin.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-i686-2.7/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-i686-2.7/lxml/html
creating build/lib.linux-i686-2.7/lxml/isoschematron
copying src/lxml/isoschematron/__init.py -> build/lib.linux-i686-2.7/lxml/isoschematron
copying src/lxml/lxml.etree.h -> build/lib.linux-i686-2.7/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-i686-2.7/lxml
copying src/lxml/includes/c14n.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-i686-2.7/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-i686-2.7/lxml/includes
creating build/lib.linux-i686-2.7/lxml/isoschematron/resources
creating build/lib.linux-i686-2.7/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-i686-2.7/lxml/isoschematron/resources/rng
creating build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl
creating build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-i686-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building ‘lxml.etree’ extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/src
creating build/temp.linux-i686-2.7/src/lxml
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/tmp/pip-build-z3L5MW/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-i686-2.7/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c:8:22: fatal error: pyconfig.h: Aucun fichier ou dossier de ce type
#include “pyconfig.h”
^
compilation terminated.
error: command ‘i586-linux-gnu-gcc’ failed with exit status 1
Failed building wheel for lxml
Running setup.py bdist_wheel for psutil
Complete output from command /usr/bin/python -c “import setuptools;file=’/tmp/pip-build-z3L5MW/psutil/setup.py’;exec(compile(open(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” bdist_wheel -d /tmp/tmpCrBVsvpip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/psutil
copying psutil/init.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_pssunos.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_pswindows.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_psbsd.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_psposix.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_compat.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_psosx.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_pslinux.py -> build/lib.linux-i686-2.7/psutil
copying psutil/_common.py -> build/lib.linux-i686-2.7/psutil
running build_ext
building ‘_psutil_linux’ extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/psutil
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_VERSION=221 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-i686-2.7/psutil/_psutil_linux.o
psutil/_psutil_linux.c:12:20: fatal error: Python.h: Aucun fichier ou dossier de ce type
#include
^
compilation terminated.
error: command ‘i586-linux-gnu-gcc’ failed with exit status 1
Failed building wheel for psutil
Running setup.py bdist_wheel for ruamel.ordereddict
Complete output from command /usr/bin/python -c “import setuptools;file=’/tmp/pip-build-z3L5MW/ruamel.ordereddict/setup.py’;exec(compile(open(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” bdist_wheel -d /tmp/tmpd7am3apip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/ruamel
creating build/lib.linux-i686-2.7/ruamel/ordereddict
copying ./init.py -> build/lib.linux-i686-2.7/ruamel/ordereddict
copying ./setup.py -> build/lib.linux-i686-2.7/ruamel/ordereddict
running build_ext
building ‘_ordereddict’ extension
creating build/temp.linux-i686-2.7
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c ordereddict.c -o build/temp.linux-i686-2.7/ordereddict.o
ordereddict.c:22:20: fatal error: Python.h: Aucun fichier ou dossier de ce type
#include “Python.h”
^
compilation terminated.
error: command ‘i586-linux-gnu-gcc’ failed with exit status 1
Failed building wheel for ruamel.ordereddict
Running setup.py bdist_wheel for cryptography
Complete output from command /usr/bin/python -c “import setuptools;file=’/tmp/pip-build-z3L5MW/cryptography/setup.py’;exec(compile(open(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” bdist_wheel -d /tmp/tmp5lGUbtpip-wheel-:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc’ to the PKG_CONFIG_PATH environment variable No package ‘libffi’ found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containinglibffi.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libffi’ found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc’ to the PKG_CONFIG_PATH environment variable No package ‘libffi’ found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containinglibffi.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libffi’ found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libffi’ found
c/cffi_backend.c:2:20: fatal error: Python.h: Aucun fichier ou dossier de ce type
#include
^
compilation terminated.
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-build-z3L5MW/cryptography/setup.py”, line 318, in
**keywords_with_side_effects(sys.argv)
File “/usr/lib/python2.7/distutils/core.py”, line 111, in setup
setup_distribution = dist = klass(attrs)
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 262, in __init
self.fetch_build_eggs(attrs[‘setup_requires’])
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 287, in fetch_build_eggs
replace_conflicting=True,
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 874, in best_match
return self.obtain(req, installer)
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 886, in obtain
return installer(requirement)
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 338, in fetch_build_egg
return cmd.easy_install(req)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 636, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 666, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 856, in install_eggs
return self.build_and_install(setup_script, setup_base)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 1078, in build_and_install
self.run_setup(setup_script, setup_base, args)
File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 1066, in run_setup
raise DistutilsError(“Setup script exited with %s” % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command ‘i586-linux-gnu-gcc’ failed with exit status 1
Failed building wheel for cryptography
Running setup.py bdist_wheel for cffi
Complete output from command /usr/bin/python -c “import setuptools;file=’/tmp/pip-build-z3L5MW/cffi/setup.py’;exec(compile(open(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” bdist_wheel -d /tmp/tmpvWS8zPpip-wheel-:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc’ to the PKG_CONFIG_PATH environment variable No package ‘libffi’ found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containinglibffi.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libffi’ found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc’ to the PKG_CONFIG_PATH environment variable No package ‘libffi’ found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containinglibffi.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libffi’ found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libffi’ found
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/cffi
copying cffi/init.py -> build/lib.linux-i686-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-i686-2.7/cffi
copying cffi/model.py -> build/lib.linux-i686-2.7/cffi
copying cffi/gc_weakref.py -> build/lib.linux-i686-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-i686-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-i686-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-i686-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-i686-2.7/cffi
copying cffi/api.py -> build/lib.linux-i686-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-i686-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-i686-2.7/cffi
copying cffi/lock.py -> build/lib.linux-i686-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-i686-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-i686-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-i686-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-i686-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-i686-2.7/cffi
running build_ext
building ‘_cffi_backend’ extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/c
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-i686-2.7/c/_cffi_backend.o
c/_cffi_backend.c:2:20: fatal error: Python.h: Aucun fichier ou dossier de ce type
#include
^
compilation terminated.
error: command ‘i586-linux-gnu-gcc’ failed with exit status 1
Failed building wheel for cffi
Failed to build pybloomfiltermmap esmre lxml psutil ruamel.ordereddict cryptography cffi
Installing collected packages: pybloomfiltermmap, esmre, phply, nltk, chardet, tblib, pdfminer, idna, pyasn1, enum34, ipaddress, cffi, cryptography, pyOpenSSL, ndg-httpsclient, lxml, scapy-real, guess-language, cluster, msgpack-python, python-ntlm, halberd, darts.util.lru, markupsafe, Jinja2, vulndb, markdown, psutil, configargparse, blinker, passlib, certifi, hpack, netlib, pyperclip, pyparsing, html2text, urwid, backports.ssl-match-hostname, tornado, mitmproxy, ruamel.ordereddict, itsdangerous, Werkzeug, Flask, PyYAML
Running setup.py install for pybloomfiltermmap
Complete output from command /usr/bin/python -c “import setuptools, tokenize;file=’/tmp/pip-build-z3L5MW/pybloomfiltermmap/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record /tmp/pip-ibw0LJ-record/install-record.txt --single-version-externally-managed --compile:
info: Building from C
running install
running build
running build_ext
building ‘pybloomfilter’ extension
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/mmapbitarray.c -o build/temp.linux-i686-2.7/src/mmapbitarray.o
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/bloomfilter.c -o build/temp.linux-i686-2.7/src/bloomfilter.o
src/bloomfilter.c:11:14: warning: always_inline function might not be inlinable [-Wattributes]
BloomFilter *bloomfilter_Create_Malloc(size_t max_num_elem, double error_rate,
^
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/md5.c -o build/temp.linux-i686-2.7/src/md5.o
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/primetester.c -o build/temp.linux-i686-2.7/src/primetester.o
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/MurmurHash3.cpp -o build/temp.linux-i686-2.7/src/MurmurHash3.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/pybloomfilter.c -o build/temp.linux-i686-2.7/src/pybloomfilter.o
src/pybloomfilter.c:8:22: fatal error: pyconfig.h: Aucun fichier ou dossier de ce type
#include “pyconfig.h”
^
compilation terminated.
error: command ‘i586-linux-gnu-gcc’ failed with exit status 1
Command “/usr/bin/python -c “import setuptools, tokenize;file=’/tmp/pip-build-z3L5MW/pybloomfiltermmap/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record /tmp/pip-ibw0LJ-record/install-record.txt --single-version-externally-managed --compile” failed with error code 1 in /tmp/pip-build-z3L5MW/pybloomfiltermmap[/code]
je tourne sous 8.2 avec Python 2.7.9
le résultat de la commande pip freez
cffi==0.8.6
chardet==2.3.0
colorama==0.3.2
cryptography==0.6.1
defusedxml==0.4.1
docutils==0.12
futures==2.1.5
gitdb==0.6.4
GitPython==0.3.2rc1
html5lib==0.999
lxml==3.4.0
ndg-httpsclient==0.3.2
numpy==1.8.2
pexpect==3.2
Pillow==2.6.1
ply==3.4
pyasn1==0.1.7
pyClamd==0.3.15
pycparser==2.10
pycups==1.9.63
pycurl==7.19.5
PyGithub==1.21.0
Pygments==2.0.1
pygobject==3.14.0
pyOpenSSL==0.14
pysmbc==1.0.15.3
python-apt==0.9.3.12
python-debian==0.1.27
python-debianbts==1.11
pyxdg==0.25
reportbug==6.6.3
reportlab==3.1.8
requests==2.4.3
roman==2.0.0
six==1.8.0
smmap==0.9.0
SOAPpy==0.12.22
urllib3==1.9.1
wheel==0.24.0
wstools==0.4.3
youtube-dl==2014.8.5
Merci de m’aider !