From c7ecb4568444bec5a1db02e9db1ad386a7afc88d Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 12 Sep 2017 10:26:33 +0800 Subject: 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 --- docs/faq.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs') 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 --------------------------------------------------------- -- cgit v1.2.3