From 109cf36866ee8743e94f44857f182ad76a4cc5f6 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 8 Oct 2019 23:33:24 -0600 Subject: [PATCH] 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. --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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" -- 2.47.2