praetorian-inc / pentestly

Python and Powershell internal penetration testing framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error While Installing

c0d3xpl0it opened this issue · comments

I got below error while installation in Kali 2016 rolling.

root@kali:~/tool/pentestly# ./install.sh
SNIPED
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-cFt4xx/python2.7-2.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/tmp/pip-build-q0cSZm/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
In file included from src/lxml/lxml.etree.c:239:0:
/tmp/pip-build-q0cSZm/lxml/src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory
#include "libxml/xmlversion.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Rolling back uninstall of lxml
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-q0cSZm/lxml/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-WlmzF0-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-q0cSZm/lxml/