From 48ef5c421b4ce7c3a75f1e2af5d5d2209e1337b9 Mon Sep 17 00:00:00 2001 From: crisewng Date: Sun, 24 Sep 2017 08:41:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Mac=E5=AE=89=E8=A3=85ldap?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E8=A7=A3=E5=86=B3=E6=96=B9=E6=B3=95=20(#613)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/install.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/install.md b/docs/install.md index 587b012b9..e6b240ab1 100644 --- a/docs/install.md +++ b/docs/install.md @@ -36,6 +36,10 @@ $ sudo yum -y install `cat rpm_requirements.txt` $ pip install -r requirements.txt -i https://pypi.doubanio.com/simple + // 解决Mac安装ldap提示 Modules/LDAPObject.c:18:10: fatal error: 'sasl.h' file not found + pip install python-ldap \ + --global-option=build_ext \ + --global-option="-I$(xcrun --show-sdk-path)/usr/include/sasl" ##### 2.3 准备配置文件