mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-16 07:13:53 -05:00
Updated Common build problems (markdown)
@@ -55,8 +55,30 @@ Installing yaml-0.1.4...
|
||||
|
||||
BUILD FAILED
|
||||
```
|
||||
|
||||
please, be sure to have "make" installed (```$ sudo apt-get install make```). On Ubuntu Server, by default, it doesn't.
|
||||
|
||||
If you've got something like that:
|
||||
|
||||
```
|
||||
Installing Python-2.7.7...
|
||||
|
||||
ERROR: The Python zlib extension was not compiled. Missing the zlib?
|
||||
|
||||
Please consult to the Wiki page to fix the problem.
|
||||
https://github.com/yyuu/pyenv/wiki/Common-build-problems
|
||||
|
||||
BUILD FAILED
|
||||
```
|
||||
|
||||
You could try this:
|
||||
|
||||
```
|
||||
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 2.7.7
|
||||
```
|
||||
|
||||
It works for me on osx 10.10 DP.
|
||||
|
||||
## python-build: definition not found
|
||||
|
||||
To update your python-build definitions:
|
||||
|
||||
Reference in New Issue
Block a user