OS X El Capitan で pyenv install ができない(できた)
ERROR: The Python zlib extension was not compiled. Missing the zlib?
と文句を言われる.
解決策は開発元が提示してくれている: Common build problems · yyuu/pyenv Wiki · GitHub
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 2.6.9
できた.