mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 17:00:00 -04:00
Merge branch '958-improve-message-about-python-ply-v9_14' into 'v9_14'
Improve the error message about missing PLY Python package See merge request isc-projects/bind9!1919
This commit is contained in:
commit
90c4e778d5
2 changed files with 10 additions and 2 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -12310,7 +12310,7 @@ fi
|
|||
$as_echo_n "checking for Python support... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
as_fn_error $? "Python required for dnssec-keymgr" "$LINENO" 5
|
||||
as_fn_error $? "Python >= 2.7 or >= 3.2 and the PLY package are required for dnssec-keymgr and other Python-based tools. PLY may be available from your OS package manager as python-ply or python3-ply; it can also be installed via pip. To build without Python/PLY, use --disable-python." "$LINENO" 5
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
10
configure.ac
10
configure.ac
|
|
@ -252,7 +252,15 @@ AS_IF([test "$with_python" = "no"],
|
|||
AS_IF([test "X$PYTHON" = "X"],
|
||||
[AC_MSG_CHECKING([for Python support])
|
||||
AC_MSG_RESULT([no])
|
||||
AC_MSG_ERROR([Python required for dnssec-keymgr])])])
|
||||
AC_MSG_ERROR([m4_normalize(
|
||||
[Python >= 2.7 or >= 3.2 and the PLY package
|
||||
are required for dnssec-keymgr and other
|
||||
Python-based tools. PLY may be
|
||||
available from your OS package manager
|
||||
as python-ply or python3-ply; it can also
|
||||
be installed via pip. To build without
|
||||
Python/PLY, use --disable-python.]
|
||||
)])])])
|
||||
|
||||
PYTHON_TOOLS=''
|
||||
CHECKDS=''
|
||||
|
|
|
|||
Loading…
Reference in a new issue