From f5c453f2b2d2b5b1c94b2beed1a84989d2cd5895 Mon Sep 17 00:00:00 2001 From: Nathan Sowatskey Date: Mon, 28 Sep 2015 15:39:35 +0200 Subject: [PATCH 1/6] Adding Mac OSX guidance comment for issue #12454. --- docsite/rst/intro_installation.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docsite/rst/intro_installation.rst b/docsite/rst/intro_installation.rst index c34e668e494..d819731cd2b 100644 --- a/docsite/rst/intro_installation.rst +++ b/docsite/rst/intro_installation.rst @@ -135,6 +135,8 @@ Ansible also uses the following Python modules that need to be installed:: $ sudo pip install paramiko PyYAML Jinja2 httplib2 six +If you have issues with the "pycrypto" package install on Mac OSX, then you may need to try "CC=clang sudo -E pip install pycrypto". + Note when updating ansible, be sure to not only update the source tree, but also the "submodules" in git which point at Ansible's own modules (not the same kind of modules, alas). From c8835b873be217972b2b6ea8334935034b6d2046 Mon Sep 17 00:00:00 2001 From: Nathan Sowatskey Date: Mon, 28 Sep 2015 15:40:32 +0200 Subject: [PATCH 2/6] Adding Mac OSX guidance comment for issue #12454. --- docsite/rst/intro_installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/intro_installation.rst b/docsite/rst/intro_installation.rst index d819731cd2b..77738f41ddb 100644 --- a/docsite/rst/intro_installation.rst +++ b/docsite/rst/intro_installation.rst @@ -135,7 +135,7 @@ Ansible also uses the following Python modules that need to be installed:: $ sudo pip install paramiko PyYAML Jinja2 httplib2 six -If you have issues with the "pycrypto" package install on Mac OSX, then you may need to try "CC=clang sudo -E pip install pycrypto". +If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for PyYAML, then you may need to try "CC=clang sudo -E pip install pycrypto". Note when updating ansible, be sure to not only update the source tree, but also the "submodules" in git which point at Ansible's own modules (not the same kind of modules, alas). From ee6317ca07b2a8749804768ffd57cba8342ae0c7 Mon Sep 17 00:00:00 2001 From: Nathan Sowatskey Date: Mon, 28 Sep 2015 15:46:37 +0200 Subject: [PATCH 3/6] Adding Mac OSX guidance comment for issue #12454. --- docsite/rst/intro_installation.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docsite/rst/intro_installation.rst b/docsite/rst/intro_installation.rst index 77738f41ddb..fa5dd1d7379 100644 --- a/docsite/rst/intro_installation.rst +++ b/docsite/rst/intro_installation.rst @@ -312,6 +312,8 @@ If you are installing on OS X Mavericks, you may encounter some noise from your $ sudo CFLAGS=-Qunused-arguments CPPFLAGS=-Qunused-arguments pip install ansible +If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for PyYAML, then you may need to try "CC=clang sudo -E pip install pycrypto". + Readers that use virtualenv can also install Ansible under virtualenv, though we'd recommend to not worry about it and just install Ansible globally. Do not use easy_install to install ansible directly. .. _tagged_releases: From 420589c7152013dbdd4e67a4613503758d0ed43f Mon Sep 17 00:00:00 2001 From: Nathan Sowatskey Date: Tue, 29 Sep 2015 11:10:26 +0200 Subject: [PATCH 4/6] Adding Mac OSX guidance comment for issue #12454. --- docsite/rst/intro_installation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docsite/rst/intro_installation.rst b/docsite/rst/intro_installation.rst index fa5dd1d7379..e3e00a977b0 100644 --- a/docsite/rst/intro_installation.rst +++ b/docsite/rst/intro_installation.rst @@ -135,7 +135,7 @@ Ansible also uses the following Python modules that need to be installed:: $ sudo pip install paramiko PyYAML Jinja2 httplib2 six -If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for PyYAML, then you may need to try "CC=clang sudo -E pip install pycrypto". +If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for paramiko, then you may need to try "CC=clang sudo -E pip install pycrypto". Note when updating ansible, be sure to not only update the source tree, but also the "submodules" in git which point at Ansible's own modules (not the same kind of modules, alas). @@ -312,7 +312,7 @@ If you are installing on OS X Mavericks, you may encounter some noise from your $ sudo CFLAGS=-Qunused-arguments CPPFLAGS=-Qunused-arguments pip install ansible -If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for PyYAML, then you may need to try "CC=clang sudo -E pip install pycrypto". +If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for paramiko, then you may need to try "CC=clang sudo -E pip install pycrypto". Readers that use virtualenv can also install Ansible under virtualenv, though we'd recommend to not worry about it and just install Ansible globally. Do not use easy_install to install ansible directly. From 68a927466ec7b37ab1672df0a44870d10190b4a8 Mon Sep 17 00:00:00 2001 From: Nathan Sowatskey Date: Tue, 29 Sep 2015 11:14:28 +0200 Subject: [PATCH 5/6] Updating Mac OSX guidance comment to make it a note for issue #12454. --- docsite/rst/intro_installation.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docsite/rst/intro_installation.rst b/docsite/rst/intro_installation.rst index e3e00a977b0..3b9aaf0ffbe 100644 --- a/docsite/rst/intro_installation.rst +++ b/docsite/rst/intro_installation.rst @@ -135,6 +135,8 @@ Ansible also uses the following Python modules that need to be installed:: $ sudo pip install paramiko PyYAML Jinja2 httplib2 six +.. note:: + If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for paramiko, then you may need to try "CC=clang sudo -E pip install pycrypto". Note when updating ansible, be sure to not only update the source tree, but also the "submodules" in git @@ -312,6 +314,8 @@ If you are installing on OS X Mavericks, you may encounter some noise from your $ sudo CFLAGS=-Qunused-arguments CPPFLAGS=-Qunused-arguments pip install ansible +.. note:: + If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for paramiko, then you may need to try "CC=clang sudo -E pip install pycrypto". Readers that use virtualenv can also install Ansible under virtualenv, though we'd recommend to not worry about it and just install Ansible globally. Do not use easy_install to install ansible directly. From e7029a90e685d8a32c1fe979d1e31cc979d5ac75 Mon Sep 17 00:00:00 2001 From: Nathan Sowatskey Date: Wed, 30 Sep 2015 10:45:43 +0200 Subject: [PATCH 6/6] #12454 changing to footnote. --- docsite/rst/intro_installation.rst | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/docsite/rst/intro_installation.rst b/docsite/rst/intro_installation.rst index 3b9aaf0ffbe..3d16636920e 100644 --- a/docsite/rst/intro_installation.rst +++ b/docsite/rst/intro_installation.rst @@ -131,14 +131,10 @@ If you don't have pip installed in your version of Python, install pip:: $ sudo easy_install pip -Ansible also uses the following Python modules that need to be installed:: +Ansible also uses the following Python modules that need to be installed [1]_:: $ sudo pip install paramiko PyYAML Jinja2 httplib2 six -.. note:: - -If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for paramiko, then you may need to try "CC=clang sudo -E pip install pycrypto". - Note when updating ansible, be sure to not only update the source tree, but also the "submodules" in git which point at Ansible's own modules (not the same kind of modules, alas). @@ -306,7 +302,7 @@ your version of Python, you can get pip by:: $ sudo easy_install pip -Then install Ansible with:: +Then install Ansible with [1]_:: $ sudo pip install ansible @@ -314,10 +310,6 @@ If you are installing on OS X Mavericks, you may encounter some noise from your $ sudo CFLAGS=-Qunused-arguments CPPFLAGS=-Qunused-arguments pip install ansible -.. note:: - -If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for paramiko, then you may need to try "CC=clang sudo -E pip install pycrypto". - Readers that use virtualenv can also install Ansible under virtualenv, though we'd recommend to not worry about it and just install Ansible globally. Do not use easy_install to install ansible directly. .. _tagged_releases: @@ -340,3 +332,4 @@ These releases are also tagged in the `git repository `_ #ansible IRC chat channel +.. [1] If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for paramiko, then you may need to try "CC=clang sudo -E pip install pycrypto".