This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neil pop
Recipients neil pop
Date 2019-02-15.12:44:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550234666.59.0.236804774599.issue36001@roundup.psfhosted.org>
In-reply-to
Content
Hello,
I tried making python 3.7.2 on linux mint without libffi set into my LIBFFI_INCLUDEDIR (usr/local/include) but set into my bashsrc which is basically a profile with export LIBFFI_INCLUDEDIR="-Ipath/to/libff/include" however when i try making python after configuring it (i tried also passing that LIBFFI_INCLUDEDIR as an argument for the config part) then i get cannot build ctypes as there is no ffi.h header detected.
So what i did is that i modified the python setup at line 1989: ffi_inc = [sysconfig.get_config_var("LIBFFI_INCLUDEDIR")] to ffi_inc = ["path/to/libffi/include"] and ran the configure then the make and voilà, ctypes are now compiled. So i was wondering is there a way to setup LIBFFI_INCLUDEDIR so it get returned by sysconfig.get_config_var("LIBFFI_INCLUDEDIR") (since it clearly doesn't) ?
Cheers,
Elisa
History
Date User Action Args
2019-02-15 12:44:26neil popsetrecipients: + neil pop
2019-02-15 12:44:26neil popsetmessageid: <1550234666.59.0.236804774599.issue36001@roundup.psfhosted.org>
2019-02-15 12:44:26neil poplinkissue36001 messages
2019-02-15 12:44:26neil popcreate