Browse Source

HUE-8883 [docs] Update the requirements and headers troubleshoot for MacOS (#890)

Enrico Berti 6 years ago
parent
commit
11734c6949

+ 8 - 6
docs/docs-site/content/administrator/installation/dependencies/_index.md

@@ -101,20 +101,22 @@ for more details, refer to this link: [https://docs.oracle.com/cd/E37670_01/E590
 * [Homebrew](https://brew.sh)
 * [Homebrew](https://brew.sh)
 * [Oracle Instant Client](http://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.html)
 * [Oracle Instant Client](http://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.html)
 
 
-1. Install Dependencies via Homebrew
+Install Dependencies via Homebrew
 
 
-    brew install mysql maven gmp openssl libffi && brew cask install java8
+    brew install mysql@5.7 maven gmp openssl libffi && brew cask install java8
 
 
-2. Install Xcode command line tools
+Install Xcode command line tools
 
 
     sudo xcode-select --install
     sudo xcode-select --install
 
 
-3. Fix openssl errors
-
-Required for MacOS 10.11+
+Fix openssl errors (required for MacOS 10.11+)
 
 
     export LDFLAGS=-L/usr/local/opt/openssl/lib && export CPPFLAGS=-I/usr/local/opt/openssl/include
     export LDFLAGS=-L/usr/local/opt/openssl/lib && export CPPFLAGS=-I/usr/local/opt/openssl/include
 
 
+Fix the possible missing Python headers message by installing the MacOS SDK headers
+
+    open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
+
 
 
 ### Oracle Client lib
 ### Oracle Client lib