[issue31710] setup.py: _ctypes won't get built when system ffi is only in $PREFIX
Chih-Hsuan Yen
report at bugs.python.org
Thu Aug 2 10:35:40 EDT 2018
Chih-Hsuan Yen <yan12125 at gmail.com> added the comment:
A possible case might be that pkg-config on your build machine is not properly configured. Could you check the value of LIBFFI_INCLUDEDIR in config.log? It shuold either be an empty string or /root/rc3/dist/lib/libffi-3.2.1/include.
As a reference, the following command is used to compute LIBFFI_INCLUDEDIR: https://github.com/python/cpython/blob/v3.7.0/configure.ac#L2936
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31710>
_______________________________________
More information about the Python-bugs-list
mailing list