Message348109
| 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. |
|