sensepost / snoopy-ng

Snoopy v2.0 - modular digital terrestrial tracking framework
Other
429 stars 128 forks source link

Kali 2.0 Raspberry Pi install error #61

Open vapor99 opened 8 years ago

vapor99 commented 8 years ago

During the install script it looks like pylibpcap doesn't like something. Output is below:

[+] Downloading pylibpcap... Collecting pylibpcap from https://sourceforge.net/projects/pylibpcap/files/latest/download?source=files#egg=pylibpcap Downloading https://sourceforge.net/projects/pylibpcap/files/latest/download?source=files (49kB) 100% |################################| 53kB 52kB/s Installing collected packages: pylibpcap Running setup.py install for pylibpcap Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-qhMZDH/pylibpcap/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-0XZSdQ-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building '_pcapmodule' extension creating build creating build/temp.linux-armv7l-2.7 arm-linux-gnueabihf-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 -DSWIG_COBJECT_TYPES -I/usr/include/python2.7 -c pcap.c -o build/temp.linux-armv7l-2.7/pcap.o pcap.c: In function 'SWIG_Python_AddErrorMsg': pcap.c:853:5: error: format not a string literal and no format arguments [-Werror=format-security] PyErr_Format(PyExc_RuntimeError, mesg); ^ cc1: some warnings being treated as errors error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

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

Command "/usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-qhMZDH/pylibpcap/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-0XZSdQ-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-qhMZDH/pylibpcap

maximcherny commented 8 years ago

apt-get install python-libpcap

Hopalonger commented 6 years ago

I Just Rebuilt Snoop-ng For Raspbian and fixed most of the errors. https://github.com/Hopalonger/Snoopy-PI