[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Note libffi-dev as a dependency in the faq



commit 665f9d5473a5f35887b3417d45692a05249c3c33
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sat Mar 11 15:15:42 2017 -0800

    Note libffi-dev as a dependency in the faq
    
    Hmmm, getting a new error on my netbook when I try to install pynacl.
    Unfortunately I can't be positive this is the package I need since apt no
    longer works on my netbook, but 90% sure it's this.
---
 docs/faq.rst | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/docs/faq.rst b/docs/faq.rst
index 50718be..59dacfd 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -66,12 +66,20 @@ Note that if cryptography installation fails with...
   compilation terminated.
   error: command 'gcc' failed with exit status 1
 
-You need python-dev. For instance on Debian and Ubuntu you can install
-cryptography with...
+... or...
 
 ::
 
-  % sudo apt-get install python-dev
+  No package 'libffi' found
+  c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
+  compilation terminated.
+
+You need the python-dev and libffi-dev packages. For instance on Debian and
+Ubuntu you can install these with...
+
+::
+
+  % sudo apt-get install python-dev libffi-dev
   % sudo pip install cryptography
   % sudo pip install pynacl
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits