From my sysadmin:
This is the patch for the configure file in the source distribution:
diff --git a/configure b/configure
index 347625c..52ed697 100755
--- a/configure
+++ b/configure
@@ -30806,7 +30806,7 @@ if test ${am_cv_python_version+y}
then :
printf %s "(cached) " >&6
else case e in #(
$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])" ;;$PYTHON -c "import sys; vi=sys.version_info; sys.stdout.write(f'{vi.major}.{vi.minor}')" ;;The problem is with the detection of the python version. The current code works for python up to version 3.9. The fix should work for all versions.
The configure file is included in the source but it is in fact autogenerated. The real cause of the bug is in file aclocal.m4.
Fixed at https://gitlab.com/pulsar-astronomy/psrchive with