1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-16 23:33:45 -05:00

Updated Common build problems (markdown)

c0state
2014-12-31 16:09:45 -08:00
parent 0f4b156fe0
commit 2d3f86d7db

@@ -56,9 +56,9 @@ Installing yaml-0.1.4...
BUILD FAILED BUILD FAILED
``` ```
please, be sure to have "make" installed (```$ sudo apt-get install make```). On Ubuntu Server, by default, it doesn't. 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: ## Build failed: "ERROR: The Python zlib extension was not compiled. Missing the zlib?"
``` ```
Installing Python-2.7.7... Installing Python-2.7.7...
@@ -71,11 +71,12 @@ https://github.com/yyuu/pyenv/wiki/Common-build-problems
BUILD FAILED BUILD FAILED
``` ```
On Mac OS X 10.9 and 10.10 you may need to set the CFLAGS environment variable when installing a new version in order for configure to find the zlib headers (XCode command line tools must be installed first): * On Mac OS X 10.9 and 10.10 you may need to set the CFLAGS environment variable when installing a new version in order for configure to find the zlib headers (XCode command line tools must be installed first):
```
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 2.7.7
```
``` * Alternatively, try reinstalling XCode command line tools for your OS (especially if you just upgraded your OS)
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 2.7.7
```
## python-build: definition not found ## python-build: definition not found