You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by Matthias Klose in the Debian bug tracker, INN fails to build with Python support on some hosts.
checking for Python.h... yes
checking for Py_Initialize... no
configure: error: in `/<<PKGBUILDDIR>>/build':
configure: error: unable to link with Python library
because of:
LOCALMODLIBS="-lm -lm -lz -lm -lm -lexpat -lexpat Modules/_hacl/libHacl_Hash_SHA2.a -lz"
/usr/bin/ld: cannot find Modules/_hacl/libHacl_Hash_SHA2.a: No such file or directory
It appears that LOCALMODLIBS should not actually be used and breaks the build with recent Python versions. We should only keep BASEMODLIBS.
Let's use python-config to find Python link flags, and fall back on the previous behaviour (minus LOCALMODLIBS) when python-config is not installed.
The text was updated successfully, but these errors were encountered:
Thanks to Matthias Klose for the bug report, and proposal of patch
using python-config. Fall back on the previous behaviour when
python-config is not installed.
Also, remove LOCALMODLIBS as it should not actually be used and breaks
the build with recent Python versions. Only keep BASEMODLIBS.
close#295
Reported by Matthias Klose in the Debian bug tracker, INN fails to build with Python support on some hosts.
because of:
It appears that
LOCALMODLIBS
should not actually be used and breaks the build with recent Python versions. We should only keepBASEMODLIBS
.Let's use
python-config
to find Python link flags, and fall back on the previous behaviour (minusLOCALMODLIBS
) whenpython-config
is not installed.The text was updated successfully, but these errors were encountered: