aboutsummaryrefslogtreecommitdiffstats
path: root/docs/faq.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-09-12 10:26:33 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2017-09-11 22:26:33 -0400
commitc7ecb4568444bec5a1db02e9db1ad386a7afc88d (patch)
tree0f827acb8e0d3da46ac13c74b4a8d1f57cbd4492 /docs/faq.rst
parent363f5b099ba6e9e551d20e39242bd657bd0703f1 (diff)
downloadcryptography-c7ecb4568444bec5a1db02e9db1ad386a7afc88d.tar.gz
cryptography-c7ecb4568444bec5a1db02e9db1ad386a7afc88d.tar.bz2
cryptography-c7ecb4568444bec5a1db02e9db1ad386a7afc88d.zip
add a faq note about having a compiler that is too old (#3902)
* add a faq note about having a compiler that is too old Also add a bit of text explaining what to do on OpenBSD 6.1 and earlier since that is the most likely place this will occur. * I always forget it spell checks titles
Diffstat (limited to 'docs/faq.rst')
-rw-r--r--docs/faq.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index adf03d5c..7133f0c5 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -75,6 +75,15 @@ Installing ``cryptography`` fails with ``ImportError: No module named setuptools
Your ``cffi`` package is out of date. ``pip install -U cffi`` to update it.
+error: ``-Werror=sign-conversion``: No option ``-Wsign-conversion`` during installation
+---------------------------------------------------------------------------------------
+
+The compiler you are using is too old and not supported by ``cryptography``.
+Please upgrade to a more recent version. If you are running OpenBSD 6.1 or
+earlier the default compiler is extremely old. Use ``pkg_add`` to install a
+newer ``gcc`` and then install ``cryptography`` using
+``CC=/path/to/newer/gcc pip install cryptography``.
+
Installing cryptography with OpenSSL 0.9.8 or 1.0.0 fails
---------------------------------------------------------