]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
configure: added rust install notes
authorjason taylor <jtfas90@gmail.com>
Tue, 17 Jul 2018 13:27:23 +0000 (09:27 -0400)
committerVictor Julien <victor@inliniac.net>
Mon, 20 Aug 2018 09:03:00 +0000 (11:03 +0200)
Signed-off-by: jason taylor <jtfas90@gmail.com>
configure.ac

index 1f4e497f1a44b923c1289682e64768e0439079cb..a3ec32c6e1744230e5b477d2fc739386efe355c7 100644 (file)
@@ -2179,7 +2179,11 @@ fi
       # Rust require jansson (json support).
       if test "x$enable_jansson" = "xno"; then
         echo ""
-        echo "   ERROR! Rust support requires jansson."
+        echo "   ERROR! Rust support requires libjansson."
+        echo
+        echo "   Ubuntu: apt-get install libjansson-dev"
+        echo "   Fedora: dnf install jansson-devel"
+        echo "   CentOS/RHEL: yum install jansson-devel"
         echo ""
         exit 1
       fi
@@ -2192,12 +2196,20 @@ fi
       if test "x$HAVE_CARGO" = "xno"; then
         echo ""
         echo "   ERROR! Rust support requested but cargo not found."
+        echo
+        echo "   Ubuntu: apt-get install cargo"
+        echo "   Fedora: dnf install cargo"
+        echo "   CentOS/RHEL: yum install cargo"
         echo ""
         exit 1
       fi
       if test "x$HAVE_RUST" = "xno"; then
         echo ""
         echo "   ERROR! Rust support requested but rustc not found."
+        echo
+        echo "   Ubuntu: apt-get install rustc"
+        echo "   Fedora: dnf install rust"
+        echo "   CentOS/RHEL: yum install rust"
         echo ""
         exit 1
       fi