Message348109
I had also received the same warnings when running make:
"INFO: Could not locate ffi libs and/or headers"
and "Failed to build these modules: _ctypes". Although Python could still be installed, the pip command was not installed, and installing it using get_pip.py just led to an error indicating that the module "_ctypes" was not found.
I can confirm that setting CPPFLAGS and LDFLAGS as well as PKG_CONFIG_PATH, as suggested my Mr. Levchenko, allowed me to build and install python 3.7.1 locally without root privileges with ctypes and pip included and working, using a libffi also compiled from source. |
|
Date |
User |
Action |
Args |
2019-07-18 10:26:14 | Paul Hege | set | recipients:
+ Paul Hege, doko, pmpp, zach.ware, Alex.Willmer, rbelio, mhpruitt, Ivan Levchenko |
2019-07-18 10:26:14 | Paul Hege | set | messageid: <1563445574.33.0.209051498559.issue31710@roundup.psfhosted.org> |
2019-07-18 10:26:14 | Paul Hege | link | issue31710 messages |
2019-07-18 10:26:14 | Paul Hege | create | |
|