evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
10.91k stars 509 forks source link

minor install requirements trouble #95

Closed nealrauhauser closed 7 years ago

nealrauhauser commented 7 years ago

Have a fresh Ubuntu 17.04 install, it wanted this in addition to the base for opensnitch

apt install python3-dev apt install libcap-dev

Those worked fine, but even after apt install libnfnetlink-dev I have the following problem:

python3 setup.py install running install running bdist_egg running egg_info writing requirements to opensnitch.egg-info/requires.txt writing opensnitch.egg-info/PKG-INFO writing dependency_links to opensnitch.egg-info/dependency_links.txt writing top-level names to opensnitch.egg-info/top_level.txt reading manifest file 'opensnitch.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '*.pyc' warning: no previously-included files found matching '.DS_Store' warning: no previously-included files found matching '.gitignore' warning: no files found matching 'distribute_setup.py' writing manifest file 'opensnitch.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/opensnitch copying build/lib/opensnitch/rule.py -> build/bdist.linux-x86_64/egg/opensnitch copying build/lib/opensnitch/procmon.py -> build/bdist.linux-x86_64/egg/opensnitch copying build/lib/opensnitch/snitch.py -> build/bdist.linux-x86_64/egg/opensnitch creating build/bdist.linux-x86_64/egg/opensnitch/ui copying build/lib/opensnitch/ui/app.py -> build/bdist.linux-x86_64/egg/opensnitch/ui copying build/lib/opensnitch/ui/helpers.py -> build/bdist.linux-x86_64/egg/opensnitch/ui copying build/lib/opensnitch/ui/init.py -> build/bdist.linux-x86_64/egg/opensnitch/ui copying build/lib/opensnitch/ui/dbus.py -> build/bdist.linux-x86_64/egg/opensnitch/ui copying build/lib/opensnitch/ui/dialog.py -> build/bdist.linux-x86_64/egg/opensnitch/ui copying build/lib/opensnitch/ui/desktop_parser.py -> build/bdist.linux-x86_64/egg/opensnitch/ui creating build/bdist.linux-x86_64/egg/opensnitch/ui/resources copying build/lib/opensnitch/ui/resources/dialog_hi.ui -> build/bdist.linux-x86_64/egg/opensnitch/ui/resources copying build/lib/opensnitch/ui/resources/init.py -> build/bdist.linux-x86_64/egg/opensnitch/ui/resources copying build/lib/opensnitch/ui/resources/dialog.ui -> build/bdist.linux-x86_64/egg/opensnitch/ui/resources copying build/lib/opensnitch/proc.py -> build/bdist.linux-x86_64/egg/opensnitch copying build/lib/opensnitch/dbus_service.py -> build/bdist.linux-x86_64/egg/opensnitch copying build/lib/opensnitch/version.py -> build/bdist.linux-x86_64/egg/opensnitch copying build/lib/opensnitch/init.py -> build/bdist.linux-x86_64/egg/opensnitch copying build/lib/opensnitch/iptables.py -> build/bdist.linux-x86_64/egg/opensnitch copying build/lib/opensnitch/connection.py -> build/bdist.linux-x86_64/egg/opensnitch copying build/lib/opensnitch/dns.py -> build/bdist.linux-x86_64/egg/opensnitch byte-compiling build/bdist.linux-x86_64/egg/opensnitch/rule.py to rule.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/procmon.py to procmon.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/snitch.py to snitch.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/ui/app.py to app.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/ui/helpers.py to helpers.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/ui/init.py to init.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/ui/dbus.py to dbus.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/ui/dialog.py to dialog.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/ui/desktop_parser.py to desktop_parser.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/ui/resources/init.py to init.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/proc.py to proc.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/dbus_service.py to dbus_service.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/version.py to version.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/init.py to init.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/iptables.py to iptables.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/connection.py to connection.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/opensnitch/dns.py to dns.cpython-35.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts running install_scripts running build_scripts creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts copying build/scripts-3.5/opensnitch-qt -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts copying build/scripts-3.5/opensnitchd -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/opensnitch-qt to 755 changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/opensnitchd to 755 copying opensnitch.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying opensnitch.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying opensnitch.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying opensnitch.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying opensnitch.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying opensnitch.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO creating 'dist/opensnitch-0.0.2-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing opensnitch-0.0.2-py3.5.egg removing '/usr/local/lib/python3.5/dist-packages/opensnitch-0.0.2-py3.5.egg' (and everything under it) creating /usr/local/lib/python3.5/dist-packages/opensnitch-0.0.2-py3.5.egg Extracting opensnitch-0.0.2-py3.5.egg to /usr/local/lib/python3.5/dist-packages opensnitch 0.0.2 is already the active version in easy-install.pth Installing opensnitch-qt script to /usr/local/bin Installing opensnitchd script to /usr/local/bin

Installed /usr/local/lib/python3.5/dist-packages/opensnitch-0.0.2-py3.5.egg Processing dependencies for opensnitch==0.0.2 Searching for NetfilterQueue Reading https://pypi.python.org/simple/NetfilterQueue/ Downloading https://pypi.python.org/packages/39/c4/8f73f70442aa4094b3c37876c96cddad2c3e74c058f6cd9cb017d37ffac0/NetfilterQueue-0.8.1.tar.gz#md5=ea2c262d6a571cb5ecdaed1bbb0da2b4 Best match: NetfilterQueue 0.8.1 Processing NetfilterQueue-0.8.1.tar.gz Writing /tmp/easy_install-rbue5v9n/NetfilterQueue-0.8.1/setup.cfg Running NetfilterQueue-0.8.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rbue5v9n/NetfilterQueue-0.8.1/egg-dist-tmp-gk___dia netfilterqueue.c:439:54: fatal error: libnetfilter_queue/linux_nfnetlink_queue.h: No such file or directory

include "libnetfilter_queue/linux_nfnetlink_queue.h"

                                                  ^

compilation terminated. error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

arielf commented 7 years ago

sudo apt install libnetfilter-queue-dev

nealrauhauser commented 7 years ago

Score! Install ran clean. So the following requirements need to be added for latest Ubuntu?

python3-dev libcap-dev libnfnetlink-dev libnetfilter-queue-dev