Skip to content

Instantly share code, notes, and snippets.

@Maxatma
Last active April 10, 2018 00:25
Show Gist options
  • Save Maxatma/c1629dd339d7ff213124116069ce9f25 to your computer and use it in GitHub Desktop.
Save Maxatma/c1629dd339d7ff213124116069ce9f25 to your computer and use it in GitHub Desktop.
Custom Apache Thrift installation guide
To install custom thrift ( like swift 3 from https://github.com/apocolipse/thrift),
u will need do all this things probably, otherwise just use
brew install thrift
1. Install homewbrew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. Install all needed from this: http://thrift.apache.org/docs/install/
3. Be sure u installed bison, pkg-config, automake@1.15
4. do ./bootstrap.sh, if 'automake command not found' - check if u using needed version, if it linked. Try unlink and link again.
5. Check if all needed linked, if not do for example: brew link automake
6. If u got fatal error: 'openssl/err.h' file not found, do: ./configure LDFLAGS='-L/usr/local/opt/openssl/lib' CPPFLAGS='-I/usr/local/opt/openssl/include'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment