From 4c1173ffcd30fb054cf27f42c9068db8aaf0b084 Mon Sep 17 00:00:00 2001 From: jason taylor Date: Tue, 17 Jul 2018 09:27:23 -0400 Subject: [PATCH] configure: added rust install notes Signed-off-by: jason taylor --- configure.ac | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1f4e497f1a..a3ec32c6e1 100644 --- a/configure.ac +++ b/configure.ac @@ -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