From: Jason Ish Date: Wed, 9 Oct 2019 05:33:24 +0000 (-0600) Subject: configure: generic instructions for missing python modules X-Git-Tag: suricata-5.0.0~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=109cf36866ee8743e94f44857f182ad76a4cc5f6;p=thirdparty%2Fsuricata.git configure: generic instructions for missing python modules Instead of telling the user what packages to install for missing Python modules, give generic instructions about what module needs to be installed. It is getting tricky to get these package names correct across distributions. --- diff --git a/configure.ac b/configure.ac index 188c928875..d1de012539 100644 --- a/configure.ac +++ b/configure.ac @@ -145,7 +145,8 @@ echo " Warning: Python distutils not found. Python tools will" echo " not be installed." echo "" - echo " Please install the distutils module for Python ${pymv}." + echo " Install the distutils module for Python ${pymv} to enable" + echo " the Python tools." echo "" fi @@ -1523,11 +1524,10 @@ if test "$have_python_yaml" != "yes"; then echo "" echo " Warning: suricata-update will not be installed as the" - echo " depedency python-yaml is not installed." + echo " Python yaml module is not installed.." echo "" - echo " Debian/Ubuntu: apt install python-yaml" - echo " Fedora: dnf install python-yaml" - echo " CentOS/RHEL: yum install python-yaml" + echo " Install the yaml module for Python ${pymv} to enable" + echo " suricata-update." echo else SURICATA_UPDATE_DIR="suricata-update"