Changes between Initial Version and Version 1 of Ticket #62580, comment 24


Ignore:
Timestamp:
Apr 1, 2021, 2:29:52 AM (3 years ago)
Author:
RobK88
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62580, comment 24

    initial v1  
    11After more testing, I can confirm that Hamlib with python 3.9 bindings will compile manually on the Mac if the following lines are removed (or commented out) in configure.ac:
    22
    3     dnl Determine whether to link libpython as it is unneeded for Python >= 3.8
     3   
     4{{{
     5dnl Determine whether to link libpython as it is unneeded for Python >= 3.8
    46    ## AM_PYTHON_CHECK_VERSION([${PYTHON}], [3.8], [pyver_3_8="yes"], [pyver_3_8="no"])
    57    ## AS_IF([test x"${pyver_3_8}" = "xyes"],[
    68    ##      PYTHON_LIBS=""
    79    ## ])
     10}}}
     11
    812
    913py3test.py also runs fine!  So it works!
     
    1115P.S.  If one manually changes configure.ac with a text editor, the following commands are needed to compile Hamlib with python3.9 bindings:
    1216
     17
     18{{{
    1319autoreconf --install
    1420./configure --with-python-binding --prefix=/usr/local
    1521make
    1622sudo make install
     23}}}
     24
    1725
    1826Then run: