Message335607
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 |
|
Date |
User |
Action |
Args |
2019-02-15 12:44:26 | neil pop | set | recipients:
+ neil pop |
2019-02-15 12:44:26 | neil pop | set | messageid: <1550234666.59.0.236804774599.issue36001@roundup.psfhosted.org> |
2019-02-15 12:44:26 | neil pop | link | issue36001 messages |
2019-02-15 12:44:26 | neil pop | create | |
|