]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
configure: generic instructions for missing python modules
authorJason Ish <jason.ish@oisf.net>
Wed, 9 Oct 2019 05:33:24 +0000 (23:33 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 10 Oct 2019 05:47:15 +0000 (07:47 +0200)
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

index 188c928875cca92c101ae81d3f85f73720d0e590..d1de012539068595dacfe14fa1f4a8e2361b3ce5 100644 (file)
        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
 
         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"