summaryrefslogtreecommitdiffstats
path: root/DEVELOP.md
diff options
context:
space:
mode:
authorJulien <zhang.jun3g@zte.com.cn>2017-02-22 23:36:40 +0800
committerJulien <zhang.jun3g@zte.com.cn>2017-02-22 23:36:40 +0800
commit2f6983ae7d1e0df6f590c730d9f636b0fbde10cc (patch)
tree2064854aee1c74c6497ed3a3ed62e7f6f0fb9786 /DEVELOP.md
parenta72b8daa8aa00be9632d56ac0770002b0caad360 (diff)
guides for openssl issue in macOS
Change-Id: I61454e35db30050a4473ab9058ddcd9c7b44fcbe Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
Diffstat (limited to 'DEVELOP.md')
-rw-r--r--DEVELOP.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/DEVELOP.md b/DEVELOP.md
index 9ec3a93d..893efca4 100644
--- a/DEVELOP.md
+++ b/DEVELOP.md
@@ -28,6 +28,24 @@ $ pip install tox
$ tox
```
+Undering macOS system, it will happen to a **fatal error** when installing package `cryptograph`:
+
+```
+'openssl/opensslv.h' file not found
+#incude <openssl/opensslv.h>
+ ^
+1 error generated.
+```
+
+It is for macOS uses TLS instead of OpenSSL and no header files supported. The solutions is:
+``` code=bash
+# brew install openssl
+
+# #add these lines in to your shell profiles, such as .bash_profile, .zshrc
+# export CPPFLAGS='-I $openssl_install_path/include'
+# export LDFLAGS='-L $openssl_install_path/lib'
+```
+
## Architecture
**TODO**: move to design spec