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.
pull/4290/head
Jason Ish 7 years ago committed by Victor Julien
parent 26dcef1290
commit 109cf36866

@ -145,7 +145,8 @@
echo " Warning: Python distutils not found. Python tools will" echo " Warning: Python distutils not found. Python tools will"
echo " not be installed." echo " not be installed."
echo "" 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 "" echo ""
fi fi
@ -1523,11 +1524,10 @@
if test "$have_python_yaml" != "yes"; then if test "$have_python_yaml" != "yes"; then
echo "" echo ""
echo " Warning: suricata-update will not be installed as the" 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 ""
echo " Debian/Ubuntu: apt install python-yaml" echo " Install the yaml module for Python ${pymv} to enable"
echo " Fedora: dnf install python-yaml" echo " suricata-update."
echo " CentOS/RHEL: yum install python-yaml"
echo echo
else else
SURICATA_UPDATE_DIR="suricata-update" SURICATA_UPDATE_DIR="suricata-update"

Loading…
Cancel
Save