Closed remicollet closed 3 months ago
Removing "--embed" fix the build
The current minimum python version requirement is 3.8. The version 3.6 is not yet supported. I will see if it can be supported later.
The current minimum python version requirement is 3.8.
Please add a check for this in config.m4 ;)
BTW, why not using (instead of complex way using python3-config)
if test "$PHP_PYTHON_VERSION" = "no"; then
PKG_CHECK_MODULES([PYTHON], [python3-embed >= 3.8])
else
PKG_CHECK_MODULES([PYTHON], [python-${PHP_PYTHON_VERSION}-embed >= 3.8])
fi
PHP_EVAL_LIBLINE($PYTHON_LIBS, PHPY_SHARED_LIBADD)
PHP_EVAL_INCLINE($PYTHON_CFLAGS)
PKG_CHECK_MODULES being the preffered way since 7.4
FYI, this extension was added in my RPMS repository among others https://blog.remirepo.net/pages/PECL-extensions-RPM-status https://x.com/RemiRepository/status/1825833901547291012
Nothing for EL-8, I will wait for 3.6 support or think about using python 3.12 also available
PKG_CHECK_MODULES being the preffered way since 7.4
See #65
Python 3.6 is the default version in RHEL-8 (and clones)
No issue with 3.9 in RHEL-9 or higher version in Fedora