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 Paul Hege
Recipients Alex.Willmer, Ivan Levchenko, Paul Hege, doko, mhpruitt, pmpp, rbelio, zach.ware
Date 2019-07-18.10:26:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563445574.33.0.209051498559.issue31710@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-07-18 10:26:14Paul Hegesetrecipients: + Paul Hege, doko, pmpp, zach.ware, Alex.Willmer, rbelio, mhpruitt, Ivan Levchenko
2019-07-18 10:26:14Paul Hegesetmessageid: <1563445574.33.0.209051498559.issue31710@roundup.psfhosted.org>
2019-07-18 10:26:14Paul Hegelinkissue31710 messages
2019-07-18 10:26:14Paul Hegecreate