From ff7671e035ff11567d8e7e54dfdf9ecc38032a3e Mon Sep 17 00:00:00 2001 From: Cloga Chen Date: Thu, 5 Jun 2014 21:28:52 -0700 Subject: [PATCH] Updated Common build problems (markdown) --- Common-build-problems.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Common-build-problems.md b/Common-build-problems.md index 91c4901..0ac49e3 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -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: