bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110547] AX_PYTHON_DEVEL version checks fail with Python 3.10


From: Fazal Majid
Subject: [sr #110547] AX_PYTHON_DEVEL version checks fail with Python 3.10
Date: Tue, 5 Oct 2021 09:47:49 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15

URL:
  <https://savannah.gnu.org/support/?110547>

                 Summary: AX_PYTHON_DEVEL version checks fail with Python 3.10
                 Project: Autoconf
            Submitted by: fazalmajid
            Submitted on: Tue 05 Oct 2021 01:47:47 PM UTC
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None

    _______________________________________________________

Details:

nghttp2 uses the check:

AX_PYTHON_DEVEL([>= '3.8'])

But this fails because '3.10' < '3.8' in lexicographic order:

checking for a Python interpreter with version >= 3.8... python3
checking for python3... /usr/local/bin/python3
checking for python3 version... 3.10
checking for python3 prefix... /usr/local
checking for python3 exec_prefix... /usr/local
checking for python3 platform... linux
checking for python3 script directory...
${PYTHON_PREFIX}/lib/python3.10/site-packages
checking for python3 extension module directory...
${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages
checking for python3.10... (cached) /usr/local/bin/python3
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python >= '3.8'... no
configure: error: this package requires Python >= '3.8'.
If you have it installed, but it isn't the default Python
interpreter in your system path, please pass the PYTHON_VERSION
variable to configure. See ``configure --help'' for reference.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110547>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]